Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Flickering

Status
Not open for further replies.

Negator

Programmer
Oct 4, 2003
33
RU
Hello all PowerBuilder wizards!

Is it possible to reduce flickering which occurs with often object refreshing? My huje user objects flicks badly :-(

In Delphi, there were a feature - property "DoubleBuffered", which made the object draw as a bitmap in the memory and then blit it on the form. Flickering was highly redused. Is there anything like this in PB?

Thank you!
 
Try using the SetRedraw() method. Call SetRedraw(FALSE) to turn off refreshing the object while you make any visual changes, then call SetRedraw(TRUE) to redraw the object with all the changes at once.
 
See Help on SetRedraw() PowerScript function to turn on/off rendering. This can drammatically improve a dw's performance if called properly before and after data retrieval.

---
PowerObject!


 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top