Gamestudio Links
Zorro Links
Newest Posts
zorro license, IB connection
by miwok. 12/06/23 16:32
Newbie Questions
by fairtrader. 12/06/23 11:29
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
AUM Magazine
Latest Screens
A psychological thriller game
SHADOW (2014)
DEAD TASTE
Tactics of World War I
Who's Online Now
6 registered members (miwok, AndrewAMD, TipmyPip, 3run, Quad, 1 invisible), 645 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
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 | 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