Freeman35 Posted June 5, 2020 Posted June 5, 2020 Hi, in ....\uniGUI\Demos\Desktop\CustomControl-4\ 1- Install this component first, but do NOT forget modified dpk file. there is still unigui prefix 20. change to what you are use 2-) open ....\uniGUI\Demos\Desktop\CustomControl-4\cc4.dpr and add a inhereted this main form via unigui's wizard ( "inheritable Items" ) 3-) press (Alt + F12) in IDE for look in dfm. Get this error on first screenshot maybe this problem can be on inhereted MAINform Second screenshot from my capmponent example. This is type of form. This not main form or etc. simple form type Tfrm_CED = class(TUniForm) ugs_FAB: Tugs_FAB; procedure UniFormAfterShow(Sender: TObject); procedure UniFormBeforeShow(Sender: TObject); procedure UniFormClose(Sender: TObject; var Action: TCloseAction); procedure UniFormCreate(Sender: TObject); private Quote
Hayri ASLAN Posted June 8, 2020 Posted June 8, 2020 Hi, This is not an error. If you want to use a component in inherited forms, you need to implement AssignTo procedure. Quote
Freeman35 Posted June 15, 2020 Author Posted June 15, 2020 On 6/8/2020 at 4:19 PM, Hayri ASLAN said: This is not an error. If you want to use a component in inherited forms, you need to implement AssignTo procedure. eyvAllah, I didn't understand what you mean. which class and for what assignTo? can you share or add to that demo project? regards. Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.