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
1 registered members (TipmyPip), 18,528 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
Page 2 of 2 1 2
Re: Why is my panel event not being called?? [Re: dmBlack] #286808
08/27/09 14:12
08/27/09 14:12
Joined: Aug 2009
Posts: 26
Goiânia - Brazil
D
dmBlack Offline
Newbie
dmBlack  Offline
Newbie
D

Joined: Aug 2009
Posts: 26
Goiânia - Brazil
Oh, just noticed that mouse_left isn´t checked inside the panel_clicked function. Perhaps you could put a decision structure to check if mouse_left is true and then shift bmaps...

Re: Why is my panel event not being called?? [Re: dmBlack] #286810
08/27/09 14:22
08/27/09 14:22
Joined: Apr 2005
Posts: 4,506
Germany
F
fogman Offline
Expert
fogman  Offline
Expert
F

Joined: Apr 2005
Posts: 4,506
Germany
Maybe you´re missing to set mouse_pos?

while(1)
{
vec_set(mouse_pos,mouse_cursor);
wait(1);
}

Actually you´ll see the mousemap moving, but mouse_pos will be null, if you don´t set it via mouse_cursor.
So the engine won´t realize when you touch a panel.
Maybe this helps.


no science involved
Page 2 of 2 1 2

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