|
|
|||||||
Since I really could not find a right place to ask these questions... Shawn, is it possible to return the current mouse X and Y position? I am using .label to display information, I would like to be able capture where a click event was done. Bryce |
||||||||
|
|
|||||||
missed that one before too. then decided to use onclick. do you mean you have a label which has clickable areas which you want to devide? |
||||||||
|
|
|||||||
yes, I got a label $hg_displayPilot = $gui.label("",434,40,105,335) that can have up to 23 different items (at a time) listed in it. I got page up and down buttons to the left that controls what is displayed in this label (well they control what are displayed in 4 different labels). If you would like to see the code You can find the current project here |
||||||||
|
|
|||||||
you must be ill... looks... wow! my codes seems childrens play when saw that. if there would be less stuff it could be gone around by using multiple labels and then controlled which ones are visible at the same time... |
||||||||
|
|
|||||||
Sure can Bryce, here's some code for that. It's a Form with two labels. The first label reports the current XY of the mouse, on the Form. The second label is bigger, and reports the current XY of the mouse, within itself. code:-ShawnBreak On [ 14 July 2002, 19:10: Message edited by: Shawn ] |
||||||||
|
|
|||||||
well... I have thought about going to a grid of..23x4 for display information.... but i feel ill at the thought of having to create that many .label boxes.... So i went the easy way out, 4 label boxes and build a report for each using a string variable and @crlf pulling the information from a global array What I am wanting to do is if a pilot name is double clicked, the web page for that pilot is launched. That would be easy to do... If I had the current mouse location Bryce |
||||||||
|
|
|||||||
*mumbles something about undocumented features*... Did i say how COOL! this thing is!!!!!! Shawn! you are the MAN! thanks dude! |
||||||||
|
|
|||||||
I thought that it's not possible as not found on doc and didn't even search inside the dll-itself! |
||||||||
|
|
|||||||
Sorry guys, the documentation is quickly loosing ground to the implementation ... I'm going to have to play "catch-up" in about two weeks time ... best thing to do in the meantime is to just ask on the board, or send an email, or like Jooel said, use Steve's COM Browser ... |