Jump to content

UniFrame : How to access a component on an uniframe from a form?


ronnyfaslah

Recommended Posts

No, just access from Form1 ...

 

procedure TMainForm.showprogramstudi(pstid : string);
begin
  FreeAndNil(FrameUtama);
  FrameUtama := TFVProgramStudi.Create(Self);
  FrameUtama.Align := alclient;
  FrameUtama.Parent := pnlutama;

 

  FVProgramStudi.   <---- its doesnot recognize by TMainForm.

end;

 

I have TMainForm and UniFrame TFVProgramStudi that contain 1 button,

I want to access that button from TMainForm ...

Link to comment
Share on other sites

  • 4 months later...

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...