Gamestudio Links
Zorro Links
Newest Posts
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
Data from CSV not parsed correctly
by dr_panther. 05/06/24 18:50
AUM Magazine
Latest Screens
The Bible Game
A psychological thriller game
SHADOW (2014)
DEAD TASTE
Who's Online Now
4 registered members (degenerate_762, AbrahamR, AndrewAMD, ozgur), 667 guests, and 8 spiders.
Key: Admin, Global Mod, Mod
Newest Members
Hanky27, firatv, wandaluciaia, Mega_Rod, EternallyCurious
19051 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
Page 2 of 2 1 2
Re: click button not working [Re: JGGamer] #305773
01/17/10 09:48
01/17/10 09:48
Joined: Sep 2009
Posts: 993
Budapest
Aku_Aku Offline
User
Aku_Aku  Offline
User

Joined: Sep 2009
Posts: 993
Budapest
To be sure what does the processing of the click, put a message or something else that gives you a sign "Hey here we are!", immediatly after the "IF".
Normally, all the "IF" branches should work in this code. So i suspect there is another thing what leads you to think a branch doesn't work.

Re: click button not working [Re: JGGamer] #305825
01/17/10 15:26
01/17/10 15:26
Joined: Apr 2006
Posts: 737
Ottawa, Canada
O
Ottawa Offline
User
Ottawa  Offline
User
O

Joined: Apr 2006
Posts: 737
Ottawa, Canada
Hi JGGamer!

You now have the events all in a group and value is true for some and never for the other.
Try separating the events
Get rid of the else in the function
If it's over do this...
If it's clicked do this


Hope this helps!
Ottawa laugh

Ver 7.86.2 Pro and Lite-C
Re: click button not working [Re: Ottawa] #305883
01/18/10 05:02
01/18/10 05:02
Joined: Nov 2008
Posts: 109
J
JGGamer Offline OP
Member
JGGamer  Offline OP
Member
J

Joined: Nov 2008
Posts: 109
I tried everything I could think of, as I said before. Using case gives the same result - no change.
Thanks for trying fellows, but I think we had better close this thread. I think I'll try a workaround instead of using this feature. Thanks

Re: click button not working [Re: JGGamer] #305887
01/18/10 07:07
01/18/10 07:07
Joined: Feb 2009
Posts: 84
Deutschland/Niedersachsen
GorNaKosh Offline
Junior Member
GorNaKosh  Offline
Junior Member

Joined: Feb 2009
Posts: 84
Deutschland/Niedersachsen
This is strange ... There have to be a solution for this ^^ Give us the whole source of the panel definition an so on, pls. Then we could test your code and debugg with our own methods to tell you where is the catch. Do you have set all three function-pointers functionOn, functionOff, functionOver in the button definition?

Re: click button not working [Re: GorNaKosh] #305933
01/18/10 15:30
01/18/10 15:30
Joined: Nov 2008
Posts: 109
J
JGGamer Offline OP
Member
JGGamer  Offline OP
Member
J

Joined: Nov 2008
Posts: 109
I don't believe the problem lies with the code, because the animation works with the mouse over, but not with the mouse click, so I believe it has to do with the animation. I prefer not to go through this however, because I observed that it does not work to my liking. If I move the mouse over the button and the animation starts, if I quickly move the mouse off the button, the animation if left in mid-action, and does not complete as it should. This I don't want, so I will find an alternative to this. Please don't bother with it. Thanks for the interest in helping.

Re: click button not working [Re: JGGamer] #305982
01/18/10 21:27
01/18/10 21:27
Joined: Sep 2009
Posts: 993
Budapest
Aku_Aku Offline
User
Aku_Aku  Offline
User

Joined: Sep 2009
Posts: 993
Budapest
My experiences show that, in such cases 100% the mistake is in the code. The remaining 0,1% in the engine. cool
But if you wish, i don't try more.

Page 2 of 2 1 2

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