HIDING / SHOWING a control

Started by Anonymous, August 20, 2004, 07:07:01 PM

Previous topic - Next topic

Anonymous

In just plain old Powerbasic , if I do the following it hides properly and all is well with the world.  


Control Show State HWND_FORMCONTACTS, IDC_FORMCONTACTS_CONNAME, %SW_HIDE  

Control Redraw HWND_FORMCONTACTS, IDC_FORMCONTACTS_CONNAME    


Using FireFly it does not.   The control displays and behaves just like it wasn’t hidden.   This control is on a tabbed form.  The main form is HWND_FORM1, the tab that the control is on is HWND_FORMCONTACTS  and the control itself is IDC_FORMCONTACTS_CONNAME.


Any ideas????

Thanks, Bill McComb

TechSupport

Try:

FF_Control_ShowState %HWND_FORMCONTACTS_CONNAME, %SW_HIDE

You may also want to disable the control??????

FF_Control_Disable %HWND_FORMCONTACTS_CONNAME