PDA

View Full Version : ISwitch question



gxhandy
12-09-06, 03:01 AM
hi !
why it doesn't work when when button is pressed?but unpress is well.:cry:
I write like this:

[ISwitch,"Zplugin:Rgb",,"Rgb",
[IPress,Draw:Rgb]
[note,"on"]
[IEnable,Zplugin:Rgb],
[IunPress,Draw:Rgb]
[note,"off"]
[IEnable,Zplugin:Rgb]
,0,56]

Could you give me some advice? Thanks!

marcus_civis
12-10-06, 03:26 PM
There's a bug that so that a zplugin [ISwitch does not work correctly. :(

The simplest alternative is to use the [IButton, and then the [IToggle command to switch on or off the target as necessary.

gxhandy
12-10-06, 11:37 PM
marcus_civis:
See you again !:lol:
Thanks for you help!