|
web
newsgroups
|
|||||||||||||||||||||||
|
|||||||||||||||||||||||
Lines and Boxes in VB.NetOk, dumb question from a newbie who does most of his development in
MSACCESS: Access has a line control and a box control for placing lines on my form. How is this accomplished in VB.Net? Hopefully we're not back to using pixel coordinates and a draw method! -Mike Mike,
One of the things that are missing is the posibility to draw a line on a form in Net. In my opinion is the most efficient to use a very small control that has lines Copied from a message from Herfried, I don't know if it is original his. You can use a label control with width or height set to 2, and 'BorderStyle' set to 'Fixed3D' to create an inset line. I hope this helps, Cor <bdtm***@hotmail.com> schrieb:
> Access has a line control and a box control for placing lines on my Shapes and lines:> form. How is this accomplished in VB.Net? Hopefully we're not back to > using pixel coordinates and a draw method! Advanced Shape Control <URL:http://www.codeproject.com/vb/net/advanced_shape_control.asp> LineControls.exe <URL:http://www.gotdotnet.com/team/vb/LineControls.exe> <URL:http://download.microsoft.com/download/7/e/0/7e070297-47fe-4443-9194-ab57acd8ea01/LineControls.msi> Creating transparent Windows Forms controls. <URL:http://www.bobpowell.net/transcontrols.htm> Rules: Wrapping Win32 Controls in .NET - Horizontal and Vertical Rules <URL:http://www.codeproject.com/cs/miscctrl/hvrules1.asp> Alternatively you can use a label control with width or height set to 2, and 'BorderStyle' set to 'Fixed3D' to create an inset line. -- M S Herfried K. Wagner M V P <URL:http://dotnet.mvps.org/> V B <URL:http://classicvb.org/petition/> Thanks. This is very helpful. At least there's a workaround for
everything. It looks like they left a lot of stuff out but I guess that's what Whitbey is for... <bdtm***@hotmail.com> schrieb:
> Thanks. This is very helpful. At least there's a workaround for Whidbey won't include shape controls :-(.> everything. It looks like they left a lot of stuff out but I guess > that's what Whitbey is for... -- M S Herfried K. Wagner M V P <URL:http://dotnet.mvps.org/> V B <URL:http://classicvb.org/petition/> That's amazing.. There are shapes on just about every dialog box you
dessign. Why leave that one out? <bdtm***@hotmail.com> schrieb:
> That's amazing.. There are shapes on just about every dialog box you Only Microsoft knows...> dessign. Why leave that one out? -- M S Herfried K. Wagner M V P <URL:http://dotnet.mvps.org/> V B <URL:http://classicvb.org/petition/>
cint and int32.parse
Hide unwanted properties. Can't destroy Excel Process; tried Just about everything! My application exits after handling an ApplicationException Connection pool problems Error after removing row and then adding new row to datatable Public Variables in Module1 How to copy files from desktop to web server Bound combo box problem Visual Basic.net and SQL Server |
|||||||||||||||||||||||