[[https://www.revelation.com/|Sign up on the Revelation Software website to have access to the most current content, and to be able to ask questions and get answers from the Revelation community]]
==== Is there a secret with REDRAW? (OpenInsight Specific) ====
=== At 08 JUN 1999 07:24:42AM Oystein Reigem wrote: ===
{{tag>"OpenInsight Specific"}}
I have a function that updates the SIZE and content of several controls. There is a lot of flicker. Therefore I put a
Stat=Set_Property( @Window, "REDRAW", false$ )
at the beginning of the function and a
Stat=Set_Property( @Window, "REDRAW", true$ )
at the end. But it doesn't seem to help. Is there a secret? I've never used REDRAW before.
- Oystein -
----
=== At 08 JUN 1999 08:52AM cpates@sprezzatura.com - [url=http://www.sprezzatura.com]Sprezzatura Group[/url] wrote: ===
Hi Oystein,
No secret, but I think you'll find setting the SIZE property automatically calls REDRAW which is why you get the flicker ( similar to the way setting the SIZE on an invisible window makes it visible I guess )
Regards
cpates@sprezzatura.com
[url=http://www.sprezzatura.com" ]Sprezzatura Group[/url]
[i]World Leaders in all things RevSoft[/i]
[img]http://www.sprezzatura.com/zz.gif[/img]
----
=== At 08 JUN 1999 11:13AM Oystein Reigem wrote: ===
Carl,
Thanks. I assume in my case it boils down to try and avoid SIZE as much as possible.
- Oystein -
----
=== At 08 JUN 1999 01:33PM cpates@sprezzatura.com - [url=http://www.sprezzatura.com]Sprezzatura Group[/url] wrote: ===
Or use the Windows API to set the sizes instead....
cpates@sprezzatura.com
[url=http://www.sprezzatura.com" ]Sprezzatura Group[/url]
[i]World Leaders in all things RevSoft[/i]
[img]http://www.sprezzatura.com/zz.gif[/img]
----
=== At 08 JUN 1999 02:03PM Oystein Reigem wrote: ===
Carl,
Don't mind if I do. After you've told me how, that is.
- Oystein -
----
=== At 11 JUN 1999 11:20AM Terry Evans wrote: ===
Are you using multiple Get_Property() calls or only one with the arguments @rm delimited?
----
=== At 11 JUN 1999 11:23AM Terry Evans wrote: ===
Sorry, slip of the fingers. Question should be "Are you using multiple Set_Property() calls or only one with @rm delimted argmuents?"
----
=== At 14 JUN 1999 04:04AM Oystein Reigem wrote: ===
Terry,
Spot on!
It's just me that have never become accustomed to set multiple properties with @RM-delimited arrays. Yes, I know it's more efficient and now I've learned another good reason for doing it.
Thanks a lot!
- Oystein -
[[https://www.revelation.com/revweb/oecgi4p.php/O4W_HANDOFF?DESTN=O4W_RUN_FORM&INQID=NONWORKS_READ&SUMMARY=1&KEY=AB2FA18491EB94D88525678A003EAFD9|View this thread on the forum...]]