Beijer Electronics (formerly QSI Corporation)
http://www.qsiforums.com/

Lock objects ??
http://www.qsiforums.com/viewtopic.php?f=6&t=4468
Page 1 of 1

Author:  Roberto [ Wed Jun 20, 2012 8:58 am ]
Post subject:  Lock objects ??

Dear sirs,

I am designing an application with screenV2, buttonV2 and others.
I want to know if you could lock an object (example a button) and after many events change button and unlock it.
I realised that you could enable and not enable an object (example: button.enabled = false) but is it possible to lock an object ?? I mean to lock objects in order to user could not press or do anything and finally unlock it and then user access it.

Any solutions? Or only is it possible "enabled" property ??

Best regards

Author:  Ron L. [ Wed Jun 20, 2012 9:06 am ]
Post subject:  Re: Lock objects ??

Yes, you can use the "inactive" property.

Code:
button_1.inactive = true

Author:  Roberto [ Wed Jun 20, 2012 9:56 am ]
Post subject:  Re: Lock objects ??

Ohh that is !!
it works as I really need.
Thanks for your assistance.

Page 1 of 1 All times are UTC - 7 hours
Powered by phpBB® Forum Software © phpBB Group
http://www.phpbb.com/