Gamestudio Links
Zorro Links
Newest Posts
Newbie Questions
by fairtrader. 12/05/23 14:22
Zorro Trader GPT
by TipmyPip. 12/04/23 11:34
Square root rule
by Smallz. 12/02/23 09:15
RTest not found error
by TipmyPip. 12/01/23 21:43
neural function for Python to [Train]
by TipmyPip. 12/01/23 14:47
Xor Memory Problem.
by TipmyPip. 11/28/23 14:23
Training with command line parameters
by TipmyPip. 11/26/23 08:42
Combine USD & BTC Pairs In Asset Loop
by TipmyPip. 11/26/23 08:30
AUM Magazine
Latest Screens
A psychological thriller game
SHADOW (2014)
DEAD TASTE
Tactics of World War I
Who's Online Now
4 registered members (AndrewAMD, Quad, soulman3, Ayumi), 675 guests, and 2 spiders.
Key: Admin, Global Mod, Mod
Newest Members
fairtrader, hus, Vurtis, Harry5, KelvinC
19019 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