I'm affraid this does not help me as my program operates on whicheer form is on the screen at the time the user triggers it. In other words, it starts-off by calling FrmGetActiveForm() and itterates through all the elements. I simply wish to exclude the invisible ones.
"Merav Rubinstein" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > For example, I set the button to Usable mode in the constructor, and then I use a boolean flag (set true) for disable the button: > if(flag) { > CtlSetUsable(GetObjectPtr(buttonName),false); } > > Hope this will help you. > Merav > -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/
