Hello X,
The best way (for me :-) should be to set the altIDs of the 32
controls in reference to the binary list (or use the IDs directly if
they match the right sequence):
Then, for instance, if IDs (or altIDs) are 2001 to 2032:
local tBinStr -- your binary string
-----
lock screen
repeat with i = 1 to 32
set the enabled of control ID (i + 2000) to (item i of tBinStr = 1)
end repeat
unlock screen
Hope this helps.
Le 19 nov. 05 à 12:33, Camm29 a écrit :
I have a Binary String say "00001100101011011100101010101010"
I then wish to enable or disable upto 32 Objects depending on "0"
or "1" of the String.
Each bit being alloacated to a a different Object.
Is there an easy way !
Best Regards from Paris,
Eric Chatonet.
----------------------------------------------------------------
So Smart Software
For institutions, companies and associations
Built-to-order applications: management, multimedia, internet, etc.
Windows, Mac OS and Linux... With the French touch
Free plugins and tutorials on my website
----------------------------------------------------------------
Web site http://www.sosmartsoftware.com/
Email [EMAIL PROTECTED]/
Phone 33 (0)1 43 31 77 62
Mobile 33 (0)6 20 74 50 86
----------------------------------------------------------------
_______________________________________________
use-revolution mailing list
[email protected]
Please visit this url to subscribe, unsubscribe and manage your subscription
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution