Lockscreen Equivalent in Omnis

Gordon Wilson g_r_wilson at yahoo.com
Mon Aug 17 16:29:27 EDT 2020


Thank you Kelly and Phil,
I will look into those two ideas. I just hope it’s available in O$501 : )
Kind regards, Gordon. 


Sent from Yahoo Mail for iPhone


On Monday, August 17, 2020, 23:32, Kelly Burgess <kellyb at montana.com> wrote:

Hi Gordon,

> I have in the past managed to get some improvement by making objects invisible, but for a window,
> it is a little to visually disturbing.  Anyone know of such a thing?

Bracket your window-updating code like this -

    Do $cinst.$norefresh.$assign(kTrue)    # postpone all redraws for this window ($cinst)

    #  <  rearrange things >

    Do $cinst.$norefresh.$assign(kFalse)    # allow redraws again



You can also keep the cursor from flashing with this -

    Do $root.$modes.$ccursor.$assign(kcursArrow)
    Do $root.$modes.$fixedcursor.$assign(kTrue)    # lock in arrow cursor

      #  <  do stuff >

    Do $root.$modes.$fixedcursor.$assign(kFalse)    # release cursor lock

Kelly
_____________________________________________________________
Manage your list subscriptions at http://lists.omnis-dev.com
Start a new message -> mailto:omnisdev-en at lists.omnis-dev.com 






More information about the omnisdev-en mailing list