Posted By: Elektron
Hide and show a panel - 10/21/09 06:23
Hello.
How i hide a panel and later show it again?
Thanks in advance.
Posted By: tkunze
Re: Hide and show a panel - 10/21/09 06:41
In Lite-C you can hide/unhide a panel with the code below:
PANEL* pnl_name = {
...
}
// Set Panel VISIBLE
set(pnl_name,VISIBLE);
// Set Panel INVISIBLE
reset(pnl_name,VISIBLE);
PS: Just looked to the manual - You should use SHOW instead of VISIBLE (However VISIBLE works too)
Posted By: MPQ
Re: Hide and show a panel - 10/21/09 06:45
eg:
reset (myPanel, SHOW);//invisible
set (myPanel, SHOW);//visible