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
AUM Magazine
Latest Screens
The Bible Game
A psychological thriller game
SHADOW (2014)
DEAD TASTE
Who's Online Now
3 registered members (AndrewAMD, Akow, 1 invisible), 1,417 guests, and 12 spiders.
Key: Admin, Global Mod, Mod
Newest Members
AemStones, LucasJoshua, Baklazhan, Hanky27, firatv
19055 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
How can i create a Checkbox on a panel ? #74500
05/17/06 10:30
05/17/06 10:30
Joined: Feb 2005
Posts: 63
Germany,
L
Logimator Offline OP
Junior Member
Logimator  Offline OP
Junior Member
L

Joined: Feb 2005
Posts: 63
Germany,
Hello,

may be a stupid question, but may be one of you is able to help me

I just want something like a Checkbox-Functionality on a panel for my Game-Menu. so i want to choose the user e.g. "Run in Window-Mode" -> Mark or unmark. He should be check or uncheck this.
Does anyone how this is possible ?

I know how to handle buttons, but how are Checkboxes implemented ? I had a look at many Panel-Tut's but none of them handles this

Thanks

Re: How can i create a Checkbox on a panel ? [Re: Logimator] #74501
05/17/06 10:34
05/17/06 10:34
Joined: Jul 2002
Posts: 4,436
Germany, Luebeck
Xarthor Offline
Expert
Xarthor  Offline
Expert

Joined: Jul 2002
Posts: 4,436
Germany, Luebeck
As far as I know, there is no ready-to-go checkbox function implemented in 3dgs.
However you could do that with normal buttons or even a normal panel with an on_click event and change the bmap property if its unchecked or checked.

Re: How can i create a Checkbox on a panel ? [Re: Xarthor] #74502
05/17/06 17:15
05/17/06 17:15
Joined: Feb 2005
Posts: 63
Germany,
L
Logimator Offline OP
Junior Member
Logimator  Offline OP
Junior Member
L

Joined: Feb 2005
Posts: 63
Germany,
Thanks Thunder. I solved it with another Panel on my Options-Panel, where i change the BMAP-Property, reacting to the on_clock-Event You gave me right direction.

Little bit much code, but no other way. It's C-Script, not so comfotable like programming-languages like C++, Pascal etc.

Re: How can i create a Checkbox on a panel ? [Re: Logimator] #74503
05/17/06 20:25
05/17/06 20:25

A
Anonymous
Unregistered
Anonymous
Unregistered
A



You can do the same thing for the radio buttons, for example if one panel are visible and you click in an invisible panel (for other choices like in Windows), you can check whether other panels are visible and then show the panel for the selected choice.

I hope it makes sense to you.


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