Wrox Programmer Forums

Need to download code?

View our list of code downloads.

| FAQ | Members List | Search | Today's Posts | Mark Forums Read
BOOK: Beginning VB.NET 2nd Edition/Beginning VB.NET 2003
This is the forum to discuss the Wrox book Professional VB.NET 2003 by Bill Evjen, Billy Hollis, Rockford Lhotka, Tim McCarthy, Jonathan Pinnock, Rama Ramachandran, Bill Sheldon; ISBN: 9780764559921
Welcome to the p2p.wrox.com Forums.

You are currently viewing the BOOK: Beginning VB.NET 2nd Edition/Beginning VB.NET 2003 section of the Wrox Programmer to Programmer discussions. This is a community of tens of thousands of software programmers and website developers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining today you can post your own programming questions, respond to other developers’ questions, and eliminate the ads that are displayed to guests. Registration is fast, simple and absolutely free .
DRM-free e-books 300x50
Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old July 26th, 2004, 08:56 PM
Authorized User
Join Date: Nov 2003
Location: Hillsboro, Ohio, USA.
Posts: 43
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via ICQ to bjackman Send a message via MSN to bjackman
Default Form Design

Hello all,

This question makes me feel like a fool but i'm going to ask it anyway. I am currently reading the book and as i do the try this sections i also make a new project and try to practically apply this knowledge to databases i have already built in Access 2003. My question is this, i have a form with several elements on it and i wanted to insert a horizontal line to separate the sections of the form. How can i do this? Any help would be greatly appreciated.


  #2 (permalink)  
Old July 27th, 2004, 04:02 AM
Thearon's Avatar
Wrox Author
Join Date: Dec 2003
Location: Fuquay Varina, NC, USA.
Posts: 396
Thanks: 0
Thanked 8 Times in 8 Posts


The .Net framework doesn't have a line control in the toolbox as you have already discovered. By far the easiest way to draw a line on a form at design time is to use a Label control.

Drop a Label control onto your form and align it to the left side of your form where you want it. Then drag the right side of the Label control to the right edge of your form where you want it to end. Finally, clear the Text property of the label, set the Height property (part of the Size property) to 1 and optionally set the BackColor property to ControlDark.

I hope this helps.


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
how to disable form design ? sms Access 2 May 19th, 2008 02:06 AM
Utility to design a form usrc Classic ASP Databases 1 February 23rd, 2008 05:18 AM
Please Help! Can't Design Form edove Infopath 0 May 9th, 2007 07:56 AM
how to design the form by tag pages yylee Access 1 July 30th, 2005 02:23 AM
How to design a query for this bounded form method Access 0 June 24th, 2005 05:47 AM

All times are GMT -4. The time now is 02:36 PM.

Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
© 2013 John Wiley & Sons, Inc.