Gamestudio Links
Zorro Links
Newest Posts
FXCM => AVA Trade Plugin???
by Martin_HH. 11/17/26 17:02
contractUpdate() is filtering if >2 rows
by mistery. 11/09/26 12:06
New Zorro version 3.15
by jcl. 11/09/26 09:24
Removing outliers from files
by jcl. 11/04/26 10:30
[MED] Import from FBX (2010) missing!!!
by rayp. 11/03/26 14:33
What are you working on?
by rayp. 11/02/26 13:57
AUM Magazine
Latest Screens
Dorifto samurai
Shadow 2
Rocker`s Revenge
Stug 3 Stormartillery
Who's Online Now
1 registered members (Quad), 29,956 guests, and 3 spiders.
Key: Admin, Global Mod, Mod
Newest Members
rht, MaliceTheMaker, Haitao_Ren, JimSimons, julienp
19249 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