Vertical Lines On Forms

PC User

Registered User.
Local time
Today, 02:21
Joined
Jul 28, 2002
Messages
193
Rather than manually draw vertical lines on my forms, I'm looking for a way to generate vertical lines using VBA code. Has anyone done this?

Thanks,
pc
 
I believe that to create controls on a form you must have the form open in design view. You can do this from code, but it would be a little cumbersome while someone is using the form.

One alternate approach you might take is at design time put a pile of hidden lines on your form, and then you can set their .top, .left, .height, and .visible properties as required.
 

Users who are viewing this thread

Back
Top Bottom