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
4 registered members (AndrewAMD, Live, LucasJoshua, Martin_HH), 35,465 guests, and 4 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
panel.on_click? #182649
02/08/08 03:09
02/08/08 03:09
Joined: Sep 2003
Posts: 208
Michael_McCrickard Offline OP
Member
Michael_McCrickard  Offline OP
Member

Joined: Sep 2003
Posts: 208
Is the on_click property for panels not part of Lite-C? It seems to have disappeared from the current manual. If it is not in Lite-C, it seems like it should still be in the manual until C-Script goes away.

Re: panel.on_click? [Re: Michael_McCrickard] #182650
02/24/08 21:04
02/24/08 21:04
Joined: Jul 2002
Posts: 4,436
Germany, Luebeck
Xarthor Offline
Expert
Xarthor  Offline
Expert

Joined: Jul 2002
Posts: 4,436
Germany, Luebeck
Yes you are right.
panel.on_click is no more documented (at least I could not find it in my A7 manual)

"on_click" in Lite-C is now a global event when you click somewhere inside the view with the left mouse button but do not hit any object or panel.

"event" is now the pointer to the function which is executed when clicking on a panel.

Re: panel.on_click? [Re: Xarthor] #182651
03/03/08 14:05
03/03/08 14:05
Joined: Jul 2000
Posts: 28,149
Frankfurt
jcl Offline

Chief Engineer
jcl  Offline

Chief Engineer

Joined: Jul 2000
Posts: 28,149
Frankfurt
It was renamed to "event" because it's intended for other events too in the future, like right click and touching.

Re: panel.on_click? [Re: jcl] #182652
03/25/08 18:00
03/25/08 18:00
Joined: Sep 2003
Posts: 208
Michael_McCrickard Offline OP
Member
Michael_McCrickard  Offline OP
Member

Joined: Sep 2003
Posts: 208
Three cheers for that! I've always wanted more panel events. The other thing that would be great is a variable like mouse_ent for panels, so you can know if the mouse is over a panel or not (and which one it's over).


Moderated by  aztec, Inestical, Matt_Coles, Tobias 

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