How to access a control in a dialog?

How to access a control in a dialog?

Post by sarshah2 » Fri, 05 Sep 2003 14:38:18


Hi all,

I have created a dialog box (inherited from LDialogBox) using
constructor. There are certain controls like check boxes, buttons etc
in it. What i want to know is how to access a control in a dialog box.
Basically what i am trying to do is if a user clicks one of the
buttons then all the check boxes become checked. I have
ListenToMessage() function and everytime i click a control this
function is called eventually. I only need to know how to set the
value of a particular control. So how do i do it? How can i access a
control and set its value (in my case, a check box).

Thanks
Ali
 
 
 

How to access a control in a dialog?

Post by Miro Juris » Fri, 05 Sep 2003 14:46:44

In article < XXXX@XXXXX.COM >,



You find it using FindPaneByID and then call SetValue on it.

hth

meeroh

--
If this message helped you, consider buying an item
from my wish list: < http://www.yqcomputer.com/ ;