Help: Programmatically adding a control to a form

  • Thread starter Thread starter X-Men
  • Start date Start date
X

X-Men

I want to add one control (textbox, commandbutton) to each record displayed
in a subform. But I couldn't find any way to do it programmatically at
runtime.
Any ideas?

Thanks in advance!

Xiaowei
 
I don't recommend that you do that. You can't effectively do that at runtime
anyway.

You can hide, or show a button, but it will cascade/show for all records. It
is a all or nothing concpet.

You can certainly design a sub-form with extra controls. Take a look at the
following screen shots to get some ideas for display data in a grid:

http://www.attcanada.net/~kallal.msn/Articles/Grid.htm
 
Back
Top