Gamestudio Links
Zorro Links
Newest Posts
Change chart colours
by 7th_zorro. 05/11/24 09:25
Data from CSV not parsed correctly
by dr_panther. 05/06/24 18:50
AUM Magazine
Latest Screens
The Bible Game
A psychological thriller game
SHADOW (2014)
DEAD TASTE
Who's Online Now
2 registered members (dr_panther, 1 invisible), 643 guests, and 2 spiders.
Key: Admin, Global Mod, Mod
Newest Members
Hanky27, firatv, wandaluciaia, Mega_Rod, EternallyCurious
19051 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
how to chek flags properties #180769
01/30/08 03:15
01/30/08 03:15
Joined: Dec 2007
Posts: 19
colombo, Sri Lanka
kombuwa Offline OP
Newbie
kombuwa  Offline OP
Newbie

Joined: Dec 2007
Posts: 19
colombo, Sri Lanka
hi,
please tell me how to check flages properis.

like panel visible or not .
i have try this code but did not worked.
Code:
 
if(map_pan.VISIBLE == ON){
map_pan.flags &= ~VISIBLE;
}else{
map_pan.flags |= VISIBLE;
}


pls help me.

Re: how to chek flags properties [Re: kombuwa] #180770
01/30/08 08:08
01/30/08 08:08
Joined: Jan 2007
Posts: 221
F
Fenriswolf Offline
Member
Fenriswolf  Offline
Member
F

Joined: Jan 2007
Posts: 221
Hello,

this should work:
Code:
if (map_pan.flags & VISIBLE) {
...



Re: how to chek flags properties [Re: Fenriswolf] #180771
01/30/08 08:55
01/30/08 08:55
Joined: Dec 2007
Posts: 19
colombo, Sri Lanka
kombuwa Offline OP
Newbie
kombuwa  Offline OP
Newbie

Joined: Dec 2007
Posts: 19
colombo, Sri Lanka
thanks a lot Fenriswolf.
now code is working.

thanks,

Code:

if(map_pan.flags & VISIBLE){
map_pan.flags &= ~VISIBLE;
}else{
map_pan.flags |= VISIBLE;
}




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