Header

  • Thread starter Thread starter Flowers of Scotland
  • Start date Start date
F

Flowers of Scotland

How i can add control on th same body of one single main Form?

I have menubar for insert, delete and so on...
and when i ry to use create control method i get error that i can use it
only in designview

means.....? tya
 
That's correct, Heather.

You cannot add more text boxes to the form unless it is in design view.
 
Yes, CreateControl only works in Design view. Why are you trying to add a
control to your form? A far more common approach is to put as many controls
as you might need on the form in advance, and hide them until needed.
 
Douglas J. Steele said:
Yes, CreateControl only works in Design view. Why are you trying to add a
control to your form? A far more common approach is to put as many
controls as you might need on the form in advance, and hide them until
needed.

Cause for every commmnad button i have different controls to show
 
Flowers said:
Cause for every commmnad button i have different controls to show

Create them all in design view and use the button to change the Visible property
to hide/show them.
 
Back
Top