New topic: MouseDown for TextField top edge works differently
<http://forums.realsoftware.com/viewtopic.php?t=29227> Page 1 of 1 [ 1 post ] Previous topic | Next topic Author Message Roland Foster Post subject: MouseDown for TextField top edge works differentlyPosted: Sat Jul 25, 2009 8:30 pm Joined: Sat Jan 12, 2008 12:54 pm Posts: 11 I don't see how this can be anything but a bug ... Here is my entire code for a Mousedown event for a TextField: Code:Tip.Visible = False If IsContextualClick Then ShowTip(Me.TabIndex,Me.Top,Me.Left,Me.Height) Return True ' suppress the contextual menu End If This works beautifully almost all the time, but it fails miserably if the mouse pointer is in the top 3 or 4 pixels of the control. I tried cutting the height down so there was no "extra space", but it didn't matter. If I click in the top edge of the control, the contextual menu shows, and my Tip control doesn't. Top Display posts from previous: All posts1 day7 days2 weeks1 month3 months6 months1 year Sort by AuthorPost timeSubject AscendingDescending Page 1 of 1 [ 1 post ] -- Over 1500 classes with 29000 functions in one REALbasic plug-in collection. The Monkeybread Software Realbasic Plugin v9.3. http://www.monkeybreadsoftware.de/realbasic/plugins.shtml [email protected]
