Gamestudio Links
Zorro Links
Newest Posts
Camera always moves upwards?
by clonman. 11/13/25 14:04
brokerCommand PLOT_HLINE parameters
by M_D. 11/13/25 10:42
ZorroGPT
by TipmyPip. 11/10/25 11:04
Training with the R bridge does not work
by frutza. 11/05/25 00:46
Zorro 2.70
by opm. 10/24/25 03:44
Alpaca Plugin v1.4.0
by TipmyPip. 10/20/25 18:04
AUM Magazine
Latest Screens
Rocker`s Revenge
Stug 3 Stormartillery
Iljuschin 2
Galactic Strike X
Who's Online Now
5 registered members (Grant, AndrewAMD, ozgur, Quad, TipmyPip), 29,980 guests, and 3 spiders.
Key: Admin, Global Mod, Mod
Newest Members
sheliepaley, Blueguy, blobplayintennis, someone2, NotEBspark
19177 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
C-Lite conversion #390337
12/27/11 13:09
12/27/11 13:09
Joined: Jun 2010
Posts: 9
Germany, Bensheim
laci Offline OP
Newbie
laci  Offline OP
Newbie

Joined: Jun 2010
Posts: 9
Germany, Bensheim
Hi,

how can I convert this code (optimal) in C-Lite?

function swap_choice_panel()
{
// show / hide
choice_pan.visible = (choice_pan.visible == off);
choice_txt.visible = (choice_txt.visible == off);
}

thx - Laci

Re: C-Lite conversion [Re: laci] #390338
12/27/11 13:26
12/27/11 13:26
Joined: May 2010
Posts: 117
Germany , Dortmund
B
Bone Offline
Member
Bone  Offline
Member
B

Joined: May 2010
Posts: 117
Germany , Dortmund

Last edited by Bone; 12/27/11 13:26.
Re: C-Lite conversion [Re: laci] #390339
12/27/11 13:27
12/27/11 13:27
Joined: Feb 2011
Posts: 135
Myrkling Offline
Member
Myrkling  Offline
Member

Joined: Feb 2011
Posts: 135
With the toggle macro:

toggle(choice_pan, SHOW);
toggle(choice_txt, SHOW);

Re: C-Lite conversion [Re: Myrkling] #390342
12/27/11 14:16
12/27/11 14:16
Joined: Jun 2010
Posts: 9
Germany, Bensheim
laci Offline OP
Newbie
laci  Offline OP
Newbie

Joined: Jun 2010
Posts: 9
Germany, Bensheim
The toggle macro is perfect!

Thank you.


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