Gamestudio Links
Zorro Links
Newest Posts
AlpacaZorroPlugin v1.3.0 Released
by kzhao. 05/22/24 13:41
Free Live Data for Zorro with Paper Trading?
by AbrahamR. 05/18/24 13:28
Change chart colours
by 7th_zorro. 05/11/24 09:25
Data from CSV not parsed correctly
by dr_panther. 05/06/24 18:50
AUM Magazine
Latest Screens
The Bible Game
A psychological thriller game
SHADOW (2014)
DEAD TASTE
Who's Online Now
5 registered members (Kingware, AndrewAMD, AemStones, RealSerious3D, degenerate_762), 837 guests, and 2 spiders.
Key: Admin, Global Mod, Mod
Newest Members
LucasJoshua, Baklazhan, Hanky27, firatv, wandaluciaia
19054 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
Hide and show a panel #294777
10/21/09 06:23
10/21/09 06:23
Joined: Oct 2009
Posts: 110
Porto-Portugal
Elektron Offline OP
Member
Elektron  Offline OP
Member

Joined: Oct 2009
Posts: 110
Porto-Portugal
Hello.
How i hide a panel and later show it again?
Thanks in advance.


Carlos Ribeiro aka Elektron
Check my blog: http://indiegamedeveloper71.wordpress.com/
Re: Hide and show a panel [Re: Elektron] #294779
10/21/09 06:41
10/21/09 06:41
Joined: Oct 2004
Posts: 150
Germany
T
tkunze Offline
Member
tkunze  Offline
Member
T

Joined: Oct 2004
Posts: 150
Germany
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)

Last edited by tkunze; 10/21/09 06:44.
Re: Hide and show a panel [Re: Elektron] #294780
10/21/09 06:45
10/21/09 06:45
Joined: Nov 2008
Posts: 354
saeculum II
MPQ Offline
Senior Member
MPQ  Offline
Senior Member

Joined: Nov 2008
Posts: 354
saeculum II
eg:
reset (myPanel, SHOW);//invisible
set (myPanel, SHOW);//visible


new project in early stage...

Intel Xeon X3450 2,66GHz | Mushkin 8 Gib | Zotac GTS250 + 7300LE | A8.3 com

Gamestudio download | chip programmers | Zorro platform | shop | Data Protection Policy

oP group Germany GmbH | Birkenstr. 25-27 | 63549 Ronneburg / Germany | info (at) opgroup.de

Powered by UBB.threads™ PHP Forum Software 7.7.1