SV: O7 - mouseover disturbs event flow

bub buppeke at gmail.com
Fri Mar 10 03:05:48 EST 2017


Hi Daniel, long time ago :-), thanks for the feedback!

I got so many occurrences of #INSIDE that I tried to put it in some 
extra IF construct

And suddenly my problem is solved, a #BEFORE event is triggered on a 
table procedure every time you click into another field, I didn't know that.

So...

IF #BEFORE

          ;;; My linenumber = [#L] now

END IF

Jeeh, so straight forward, happy as can be now, thanks, hope all is well!

Bruno


On 10-03-2017 13:15, Daniel Sananes wrote:
> Hi Bruno
> I think you can use #INSIDE
> Put it in the procedure for your table.
> If #INSIDE
>     OK message {[#L]}
> End If
>
> regards
>   
> Daniel Sananés
> Tel:  + 46 (0)736 70 40 70
>
> -----Ursprungligt meddelande-----
> Från: omnisdev-en [mailto:omnisdev-en-bounces at lists.omnis-dev.com] För bub
> Skickat: den 10 mars 2017 05:51
> Till: omnisdev-en at lists.omnis-dev.com
> Ämne: O7 - mouseover disturbs event flow
>
> Omnis Classic, how are the +10 year old braincells doing? :-)
>
> Situation: Enterable table, when the user clicks on an entry field in the line, i want to know which line without disturbing the event flow
>
> $mousevents are ON as this does not generate a #CLICK event
>
> ...If I do
>
> IF #MOUSEDOWN
>
>        SNA Perform Default Action
>
>        Quit procedure
>
> END IF
>
> ==> Everything works fine, the cursor comes in the entry field, a button gets clicked etc...
>
> ...If I do
>
> IF #MOUSEDOWN
>
>        Calculate lvLineNo as mouseover(kMLine)    ;; Or mouseover(kMPLine)
>
>        SNA Perform Default Action
>
>        Quit procedure
>
> END IF
>
> ==> The event is interupted, the cursor does not come in the entry field, buttons get not clicked etc...
>
> I try to solve it through window control procedure and/or table procedure, I can not use field procedure as fields are added dynamically
>
> I am very very stuck :-(
>
> bub - Bruno Huyssen
>
> ---
> This email has been checked for viruses by Avast antivirus software.
> https://www.avast.com/antivirus
>
>
> _____________________________________________________________
> Manage your list subscriptions at http://lists.omnis-dev.com
>
> _____________________________________________________________
> Manage your list subscriptions at http://lists.omnis-dev.com


---
This email has been checked for viruses by Avast antivirus software.
https://www.avast.com/antivirus





More information about the omnisdev-en mailing list