Jump to content
Xtreme .Net Talk

Recommended Posts

Posted

thanks for the reply divil,

 

well this is what i am trying to do:

 

- in xForm_Load i call a method to initialize components.

- Initialize() creates an instance of xClass

- xClass then creates xControl and adds it to xForm

 

 

Problem:

 

- i have tried to use ActiveForm.Controls.Add(xControl) but since the for m load procedure is not complete, the form isnt active.

 

- I've tried force the form to activate early but it doesnt work

 

 

Question:

 

how can i add xControl to xForm during xForm_Load?

what type of syntax would i have to use?

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