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
1 registered members (TipmyPip), 18,619 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
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 | 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