PDA

View Full Version : Activate/deactive UI controls



ernpchan
03-17-2014, 12:17 PM
Does anyone have any examples of how to activate/deactivate UI controls through python? I know how to do it with lscript.

ernpchan
03-17-2014, 01:54 PM
Use this:

GHOST_CON( ctl )

UNGHOST_CON( ctl )

Draw or redraw the control

erikals
03-17-2014, 06:05 PM
always nice to answer oneself... http://erikalstad.com/backup/misc.php_files/smile.gif http://erikalstad.com/backup/misc.php_files/047.gif

ernpchan
03-17-2014, 06:11 PM
always nice to answer oneself... http://erikalstad.com/backup/misc.php_files/smile.gif http://erikalstad.com/backup/misc.php_files/047.gif

Basically I had a conversation with myself.