Hello !
I would like to develop a gauge, which displays informations in a particular function that you click on individual buttons.
I have 2 buttons, when I click button 1 I want the display element1 that contains a gaugetext.
When I click on button2 I would like to view the element2 which also contains a gaugetext.
On my first MouseClick i put this code on the script section :
On my second MouseClick i put this code on the script section :
On my first element i put this code on the visible section :
On my second element i put this code on the visible section :
Is that correct ?
thx in advance.
I would like to develop a gauge, which displays informations in a particular function that you click on individual buttons.
I have 2 buttons, when I click button 1 I want the display element1 that contains a gaugetext.
When I click on button2 I would like to view the element2 which also contains a gaugetext.
On my first MouseClick i put this code on the script section :
Code:
(M:Event) 'leftSingle' scmp 0 == if{ 1 (>L:affichage, enum) }
On my second MouseClick i put this code on the script section :
Code:
(M:Event) 'leftSingle' scmp 0 == if{ 2 (>L:affichage, enum) }
On my first element i put this code on the visible section :
Code:
(L:affichage, enum) 1 ==
On my second element i put this code on the visible section :
Code:
(L:affichage, enum) 2 ==
Is that correct ?
thx in advance.
Last edited:

