Gamestudio Links
Zorro Links
Newest Posts
New FXCM FIX Plugin
by flink. 06/04/24 07:30
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
1 registered members (monk12), 1,487 guests, and 9 spiders.
Key: Admin, Global Mod, Mod
Newest Members
AemStones, LucasJoshua, Baklazhan, Hanky27, firatv
19058 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
Window Question #205683
05/07/08 23:16
05/07/08 23:16
Joined: May 2007
Posts: 185
Netherlands
SurudoiRyu Offline OP
Member
SurudoiRyu  Offline OP
Member

Joined: May 2007
Posts: 185
Netherlands
Hi fólk's,

I was wondering if it is possible to replace a window through a button click ?

This is what the window is:
 Code:
panel show_count
{
	layer = 150;
	window (575,55,128,128,count_tga,SlideCoordCount,0);
	flags = overlay,refresh,TRANSLUCENT;
}
 


now i want the 575 to be the x of the panel i clicked
Same for the 55 that is for the y of the panel i clicked

i tryed allteady with var's parsing through but it gives number syntax error's >.<

or is there someway to do it like show_count.x = 575 ?

thnx allready,


-The Dragon's Eye is alway's watching you!-
Re: Window Question [Re: SurudoiRyu] #205761
05/08/08 16:21
05/08/08 16:21
Joined: Jul 2007
Posts: 959
nl
F
flits Offline
User
flits  Offline
User
F

Joined: Jul 2007
Posts: 959
nl
look under pan_setvar(PANEL*,var type,var num,var*) in the manual

it will do the trick i think


"empty"
Re: Window Question [Re: flits] #205804
05/08/08 22:05
05/08/08 22:05
Joined: May 2007
Posts: 185
Netherlands
SurudoiRyu Offline OP
Member
SurudoiRyu  Offline OP
Member

Joined: May 2007
Posts: 185
Netherlands
thnx it works setvar is only for the varX varY (the window position inside the window
pan_setpos(_dbg_pan,1,1,vector(20,30,0)); i needed to set its position.

Thnx again,

Greetzz.


-The Dragon's Eye is alway's watching you!-
Re: Window Question [Re: SurudoiRyu] #205829
05/09/08 00:15
05/09/08 00:15
Joined: Nov 2007
Posts: 1,143
United Kingdom
DJBMASTER Offline
Serious User
DJBMASTER  Offline
Serious User

Joined: Nov 2007
Posts: 1,143
United Kingdom
Do you want to move the whole panel or just the window?


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