Xojo Conferences
MBSOct2019CologneDE

Static text flicker (Real Studio network user group Mailinglist archive)

Back to the thread list
Previous thread: [OT] Apple deemphasizing type/creator? I'll say one more thing, then shut up.
Next thread: MADplug?


Another cross-plattform question   -   Jan Erik Moström <
  Static text flicker   -   Mike B
   Re: Static text flicker   -   Joseph J. Strout

Static text flicker
Date: 30.05.02 19:25 (Thu, 30 May 2002 20:25:00 +0200)
From: Mike B

I should know the answer to this but I don't nor can I seem to find any
reference to it on the archives which is strange as I am sure I have seen
subjects about this in the past. I have two static texts that are on top of
a canvas and when I add values to the text there is text flicker over the
area the static text is positioned.

Here is a code sample of some of the code that is in the SelChange of the
editfield1 control, both Statictext1.text and Statictext2 are over the
canvas, I would appreciate it if anyone can jog my memory.

ef1Íbl(EditField1.text)
st1Íbl(Statictext1.text)

FFTextï1+st1

Statictext2.textðrmat(FFText,FieldFormat)

Thanks in advance
Mike

---
Subscribe to the digest:
<mailto:<email address removed>>
Unsubscribe:
<mailto:<email address removed>>

Re: Static text flicker
Date: 30.05.02 21:10 (Thu, 30 May 2002 13:10:19 -0700)
From: Joseph J. Strout
At 8:25 PM +0200 5/30/02, Mike B wrote:

>I should know the answer to this but I don't nor can I seem to find any
>reference to it on the archives which is strange as I am sure I have seen
>subjects about this in the past. I have two static texts that are on top of
>a canvas and when I add values to the text there is text flicker over the
>area the static text is positioned.

Yep, there would be. When you assign text to a StaticText, that area
of the window tas to redraw. That means clearing that portion of the
canvas and invoking its Paint event. That means flicker (unless
you're in OS X).

Cheers,
- Joe