StatusBarText() produces flicker if update it with same text

Got an idea for enhancing PureBasic? New command(s) you'd like to see?
Lebostein
Addict
Addict
Posts: 826
Joined: Fri Jun 11, 2004 7:07 am

StatusBarText() produces flicker if update it with same text

Post by Lebostein »

To reduce flickering, I use functions like that to update gadgets:

Code: Select all

Procedure SetGadgetStateIf(gadget, state)

  If GetGadgetState(gadget) <> state: SetGadgetState(gadget, state): EndIf

EndProcedure

Procedure SetGadgetTextIf(gadget, text$)

  If GetGadgetText(gadget) <> text$: SetGadgetText(gadget, text$): EndIf

EndProcedure
But in StatusBar I have no access to the current text. If I update with the same text, then it flickers.
Fred
Administrator
Administrator
Posts: 18162
Joined: Fri May 17, 2002 4:39 pm
Location: France
Contact:

Re: StatusBarText() produces flicker if update it with same

Post by Fred »

Not a bug, moved to features request
Post Reply