Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Drawing lines, 3d boxes
Message
 
To
16/12/2008 15:08:53
General information
Forum:
ASP.NET
Category:
Forms
Environment versions
Environment:
C# 3.0
OS:
Vista
Application:
Desktop
Miscellaneous
Thread ID:
01367667
Message ID:
01367965
Views:
8
Bob,
You could also use GDI+ and draw directly onto the form surface.
I have sometimes used a panel with a very small height to simulate a line, just play around with the properties to get the desired effect.

Einar

>I do want to set "areas" of the form appart, and sort of group them. But really only visually, not necessarily for any programatic reason, and I've looked at Groupbox, Panel, etc. It appears that when you attempt to draw these controls on the form they automatically "capture" the existing controls that are within their borders.
>
>What do you prefer to use to draw lines? I have a group of numbers that I'd like to draw a line across to set appart the titles of the columns (I'm not using a grid for these numbers as they represent totals not rows in a child table.
>
>Also, one of the problems I am encountering is that I have a gradient background on these forms and that makes drawing any box more challenging.
>
>bob
>
>
>
>
>>>2 quick questions:
>>>
>>>How do you draw lines on a winform? Can you draw 3d boxes on a winform?
>>>
>>>I'm coming from FoxPro and we had lines and containers...

>>
>>I think I'd need to know exactly what you want to accomplish.
>>
>>Do you want boxes just to make things appear to group together? .Net has GroupBoxes for that.
>>.NET has container controls as well (UserControl)
>>There are also Panels and splitters.
>>
>>So, what do you want to do?
>>
>>~~Bonnie
Semper ubi sub ubi.
Previous
Reply
Map
View

Click here to load this message in the networking platform