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
0 registered members (), 1,382 guests, and 6 spiders.
Key: Admin, Global Mod, Mod
Newest Members
AemStones, LucasJoshua, Baklazhan, Hanky27, firatv
19055 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 | 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