vb.net

  • Thread starter Thread starter George Bassili
  • Start date Start date
G

George Bassili

Hi everyone,
I'm new to VB.NEt so excuse my simplistic questions:


1) i want to do a settings screen with the tree view control on the left
with nodes like "DB connections" "COlor" "Other Settings"
and make it change the form to its right based on the selection made
from the tree.

I have used Panel controls to do this which i hide and make visible
based on the node they've chosen. Is this the best way?


2) Is there a way to draw separator lines from the toolbox to separate
parts of the frame...i.e i want to draw a bevilled line between the end
of my form and the OK cancel buttons....or do i have to use the windows
graphics directly and write the code

any help would be great.
Cheers.
George Bassili
 
George,

You are new to VBNet and probably to this newsgroups, so as advices.
Never attach a question to a previous question the original poster (OP)
will think it is an answer

Find the most properiate newsgroup for your questions, which is for VBNet
Microsoft.public.dotnet.languages.VB
1) i want to do a settings screen with the tree view control on the left
with nodes like "DB connections" "COlor" "Other Settings"
and make it change the form to its right based on the selection made from
the tree.

I have used Panel controls to do this which i hide and make visible based
on the node they've chosen. Is this the best way?

Why not, I thought that it is a very classic Delphi way. However I would not
do it, a dialogform with that treeview cost less of the form, and does not
requiring all the time to use a splitter.
2) Is there a way to draw separator lines from the toolbox to separate
parts of the frame...i.e i want to draw a bevilled line between the end of
my form and the OK cancel buttons....or do i have to use the windows
graphics directly and write the code

Not direct in the way you ask it. However the groupbox, the toolbar and the
statusbar are standard for this kind of situations, why not use that?

I hope however it helps something?

Cor
 
Back
Top