7
votes
Vote UpVote

FMX issue – inability to safely process paint messages immediately

Delphi Haven – There are times when you want to repaint a control immediately, typically to give an indication to the user that something is actually happening during a lengthy bit of processing. In the VCL, this is covered by a troika of methods on TControl: Invalidate posts a message to the event queue saying the control needs to be repainted. Update forces processing of any paint messages pending for the control. Repaint calls Invalidate and Update in succession. That said, sometimes it isn’t even necessary to call one of these methods if the control wraps a native API widget, and the native API ...
Favorite? Off-Topic? Chris Rolliston @ 2013-09-28 15:18

Statistics

Visits: 933
Votes: 7
Favorites: 0
Off-Topic: 0

Visits by Source

User Actions

Users who voted for this posting

Alister Christie
DelphiDev
Deltics
Neonimous
Paul Thornton
stukelly
Thomas Nitzschke
Subscribe:
Contact us to advertise on DelphiFeeds.com

Community Links

Torry Firebird News

Sponsor

 
Please login or register to use this functionality.
(click on this box to dismiss)