Gamestudio Links
Zorro Links
Newest Posts
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
Help with plotting multiple ZigZag
by degenerate_762. 04/30/24 23:23
AUM Magazine
Latest Screens
The Bible Game
A psychological thriller game
SHADOW (2014)
DEAD TASTE
Who's Online Now
3 registered members (Ayumi, 7th_zorro, 1 invisible), 1,060 guests, and 5 spiders.
Key: Admin, Global Mod, Mod
Newest Members
firatv, wandaluciaia, Mega_Rod, EternallyCurious, howardR
19050 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
Possible to view/hide panel buttons #421905
04/27/13 19:49
04/27/13 19:49
Joined: Feb 2007
Posts: 146
UK
robertbruce Offline OP
Member
robertbruce  Offline OP
Member

Joined: Feb 2007
Posts: 146
UK
Hello,

Just wanted to ask if anyone knows a way to make specific panel buttons visible or invisible.

example:

panel singleletter_t
{
layer = 30;
button = 340, 450, bmap1_bmp, bmap1_bmp, bmap1_bmp, clickedbutton1, null, null;
button = 340, 150, bmap2_bmp, bmap2_bmp, bmap2_bmp, clickedbutton2, null, null;
flags=visible;
}


thanks,

Rob

Re: Possible to view/hide panel buttons [Re: robertbruce] #421906
04/27/13 19:58
04/27/13 19:58
Joined: May 2009
Posts: 5,370
Caucasus
3run Offline
Senior Expert
3run  Offline
Senior Expert

Joined: May 2009
Posts: 5,370
Caucasus
Hi

As far as I know, you can only hide/show the panel itself (simply by singleletter_t.invisible = 1;).
If you want to do that separately with those two buttons, create a panel for each of the button.


Looking for free stuff?? Take a look here: http://badcom.at.ua
Support me on: https://boosty.to/3rung
Re: Possible to view/hide panel buttons [Re: 3run] #421909
04/27/13 20:52
04/27/13 20:52
Joined: Apr 2005
Posts: 4,506
Germany
F
fogman Offline
Expert
fogman  Offline
Expert
F

Joined: Apr 2005
Posts: 4,506
Germany
Dirty hack: Use pan_setbutton to move the button out of the view:
http://www.conitec.net/beta/pan_setbutton.htm

Use 10000 for var x and var y for example.

Last edited by fogman; 04/27/13 20:55.

no science involved
Re: Possible to view/hide panel buttons [Re: fogman] #421911
04/27/13 21:18
04/27/13 21:18
Joined: May 2009
Posts: 5,370
Caucasus
3run Offline
Senior Expert
3run  Offline
Senior Expert

Joined: May 2009
Posts: 5,370
Caucasus
Thats what I do with the created digits grin Completely forgot about it..


Looking for free stuff?? Take a look here: http://badcom.at.ua
Support me on: https://boosty.to/3rung

Moderated by  HeelX, Lukas, rayp, Rei_Ayanami, Superku, Tobias, TWO, VeT 

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