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
4 registered members (NewbieZorro, Grant, TipmyPip, AndrewAMD), 12,885 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 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 | 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