Lines user forms

  • Thread starter Thread starter Ken
  • Start date Start date
K

Ken

Does anyone know if it is possible to add lines or boxes to dress up user
forms?
Thanks in advance
 
You can do both with labels. For a box, add a label with no text. Set its
backstyle to transparent but with a visible border. If it's going to enclose
other controls, put the label box in place first or send it to the back, so
it doesn't keep the other controls from getting the input focus. For a
horizontal line, add a label with no text and a height of 1 (or 2). For a
vertical line, add a label with no text and a width of 1 (or 2). You can
change the "line's" color using its BorderColor property. Also, if you
wanted, you could make use of the label's events (click, double-click, etc.)

Hope this helps,

Hutch
 

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

Back
Top