Jump to content

FATAL error in unigui core


Freeman35

Recommended Posts

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

 

CustomControl-4 2020-06-05 11.29.26.png

UGS 2020-06-05 11.31.48.png

Link to comment
Share on other sites

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.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...