Gamestudio Links
Zorro Links
Newest Posts
Zorro 2.70
by jcl. 09/29/25 09:24
optimize global parameters SOLVED
by dBc. 09/27/25 17:07
ZorroGPT
by TipmyPip. 09/27/25 10:05
assetHistory one candle shift
by jcl. 09/21/25 11:36
Plugins update
by Grant. 09/17/25 16:28
AUM Magazine
Latest Screens
Rocker`s Revenge
Stug 3 Stormartillery
Iljuschin 2
Galactic Strike X
Who's Online Now
2 registered members (AndrewAMD, TipmyPip), 12,420 guests, and 5 spiders.
Key: Admin, Global Mod, Mod
Newest Members
krishna, DrissB, James168, Ed_Love, xtns
19168 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,377
Caucasus
3run Offline
Senior Expert
3run  Offline
Senior Expert

Joined: May 2009
Posts: 5,377
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,377
Caucasus
3run Offline
Senior Expert
3run  Offline
Senior Expert

Joined: May 2009
Posts: 5,377
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 | 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