Moving Form Fields using VB

D

DBG

Hi-

I couldn't find related threads so I figured I'd post this one.

I want to change the layout of a form on the fly, such that dependant on a
user's authorization level, they might see one form field but not another.

However, I want to make this transparent to the non-authorized user, by
"sliding" form fields together.

To illustrate, User A sees:
Field 1
Field 2
Field 3

User B sees:
Field 1
Field 3

rather than
Field 1

Field 3

hope this makes sense :)
 
M

Marshall Barton

DBG said:
I want to change the layout of a form on the fly, such that dependant on a
user's authorization level, they might see one form field but not another.

However, I want to make this transparent to the non-authorized user, by
"sliding" form fields together.

To illustrate, User A sees:
Field 1
Field 2
Field 3

User B sees:
Field 1
Field 3

rather than
Field 1

Field 3


You can just set the control's Top property to do that kind
of thing.
 
D

DBG

Yes I see now how that would easily serve my purposes!
Thanks very much for your help.

-David
 
Top