B
Bill Nguyen
I tried to create a set of controls at runtime and ran into these problems:
1. I created 1 row containing several controls (textboxes) as placeholders.
I set these control .visible = false. The controls are palced within a
groupbox called gbDetail
2. I added a sub to create same row of controls using an array and call it
from a For next loop. The palceholders postions are used to calculate the
control array position.
3. The controls appeared instead in the active Datagrid instead of in
gbDetail even though I setfocus to gbDetail first.
How to I set the starting anchor position so that the controls dispalyed
properly on the form?
Thanks a million.
Bill
1. I created 1 row containing several controls (textboxes) as placeholders.
I set these control .visible = false. The controls are palced within a
groupbox called gbDetail
2. I added a sub to create same row of controls using an array and call it
from a For next loop. The palceholders postions are used to calculate the
control array position.
3. The controls appeared instead in the active Datagrid instead of in
gbDetail even though I setfocus to gbDetail first.
How to I set the starting anchor position so that the controls dispalyed
properly on the form?
Thanks a million.
Bill