Header

  • Thread starter Flowers of Scotland
  • 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
 
A

Allen Browne

That's correct, Heather.

You cannot add more text boxes to the form unless it is in design view.
 
D

Douglas J. Steele

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

Flowers of Scotland

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
 
R

Rick Brandt

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.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top