Author Topic: how to disable a control  (Read 1444 times)

0 Members and 1 Guest are viewing this topic.

chrisc

  • Guest
how to disable a control
« on: April 22, 2018, 02:30:46 PM »
in PB DDT  they have a statement to disable and enable a control like a button or combo box

http://www.manmrk.net/tutorials/basic/PowerBASIC/PBWIN8/control_disable.html

of course we can't use DDT commands in O2,  what would be its equivalent statement in SDK?


José Roca

  • Guest
Re: how to disable a control
« Reply #1 on: April 22, 2018, 02:56:57 PM »
EnableWindow.

Mike Lobanovsky

  • Guest
Re: how to disable a control
« Reply #2 on: April 22, 2018, 03:10:18 PM »

chrisc

  • Guest
Re: how to disable a control
« Reply #3 on: April 22, 2018, 03:31:00 PM »
Thanxx Jose and Mike