[fpc-devel] TComponent has no Loading() method

Graeme Geldenhuys graemeg.lists at gmail.com
Mon Dec 10 10:15:03 CET 2007


Hi,

Just like we have the following methods to manage csUpdating in ComponentState

    procedure Updating; dynamic;
    procedure Updated; dynamic;


we only have Loaded() in TComponent (excluding csLoading).  Can't we
have a Loading() method as well so we can insert csLoading in
ComponentState?

I need to 'include' csLoading in the ComponentState in a descendant
TComponent class, but apparently it's not possible because
FComponentState is private and the ComponentState property is
Read-Only.



Regards,
  - Graeme -


_______________________________________________
fpGUI - a cross-platform Free Pascal GUI toolkit
http://opensoft.homeip.net/fpgui/



More information about the fpc-devel mailing list