What if you just make a StaticText subclass "ClickableStaticText"
that has a New Event Action(X As Integer,Y As Integer), a "Return
True" in its MouseDown() event and "Action X, Y" in its MouseUp
event, then put one of these in a window and - in its new "Action"
event, put the ShowURL code. Does that help, or does it do the same
thing? Just curious.
On Jan 19, 2007, at 5:34 PM, Louis G5 Batayte wrote:
MacOSX 10.4.8, RB 2007 R1
I just added some static text to one of my windows. For the Mouse
Down Event I put in Return True .
For the Mouse Up event I put in: ShowURL "http://
www.realsoftware.com"
Whenever I Mouse Down on the text and then I move the cursor
completely outside the App window, holding the mouse button down,
out over the desktop and let the mouse up, a Browser window
launches. I put a msgbox in the Mouse up event and displayed x,y
and it said x = -1241 and y = -331.
According to the Language Reference page on Static Text, the mouse
up should not fire unless the button was released inside the
statictext region. How far away from the static text do I have to
get to be outside the statictext region?
_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>
Search the archives of this list here:
<http://support.realsoftware.com/listarchives/lists.html>
_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>
Search the archives of this list here:
<http://support.realsoftware.com/listarchives/lists.html>