I am developing a Delphi frame and you need to first load the list of business objects into the grid control. Delphi frames do not have OnCreate events, so what is the best way to replicate this? Should I override the constructor as suggested on About ? Should I just make a public procedure loadData()and call the parent container when it is ready to be created?
loadData()
I want all child controls to be loaded and ready to work before populating them with data, and I am not familiar with the hierarchy of creating Delphi components.
. , , . onCreate, , . , LoadData() - .
onCreate
LoadData()
, , , Frames . LoadData .
LoadData
. , , .., .
, gui . , / /. - FormManager, /, . , , , .
:
, , , - .
(, , , , "LoadData" , - , ...)
Source: https://habr.com/ru/post/1759890/More articles:How to add security attributes for a non-admin account in the creatnamedpipe win API method - c #Using Match in a Linq Expression - c #https://translate.googleusercontent.com/translate_c?depth=1&pto=aue&rurl=translate.google.com&sl=ru&sp=nmt4&tl=en&u=https://fooobar.com/questions/1759887/queries-to-get-all-ancestorsdescendents-of-a-tree-in-a-db&usg=ALkJrhg4dEER24jIq9aCFj3Ef-pKtxA1JQОпределение сборки подкласса методом в базовом классе - reflectionHow to run SQL queries in MDB files? - sqlMercurial share expansion: how to parse? - mercurialMEF: how to manually configure export to implement a contract - .netrun perl -e from within perl script in windows - windowsjQuery fullcalendar: Fadeout deleted Event - jqueryIE popup menu error - htmlAll Articles