Click here to Skip to main content
15,926,959 members
Home / Discussions / Visual Basic
   

Visual Basic

 
QuestionPlease help me!!! Web Button Pin
FeRtoll24-Mar-06 13:52
FeRtoll24-Mar-06 13:52 
AnswerRe: Please help me!!! Web Button Pin
HaloZa24-Mar-06 21:32
HaloZa24-Mar-06 21:32 
GeneralRe: Please help me!!! Web Button Pin
FeRtoll25-Mar-06 2:18
FeRtoll25-Mar-06 2:18 
QuestionPlease Helpp!! Pin
İsmail Durmaz24-Mar-06 13:41
İsmail Durmaz24-Mar-06 13:41 
AnswerRe: Please Helpp!! Pin
Steve Pullan24-Mar-06 19:20
Steve Pullan24-Mar-06 19:20 
Questionhow do I start a thread? Pin
blucas200524-Mar-06 13:39
blucas200524-Mar-06 13:39 
GeneralRe: how do I start a thread? Pin
Guffa24-Mar-06 21:59
Guffa24-Mar-06 21:59 
QuestionCustom Control Propertygrid help Pin
HaloZa24-Mar-06 12:46
HaloZa24-Mar-06 12:46 
After searching many sites trying to find a free custom propertygrid / propertylist i have come up empty handed, there are a few for c++ but nothing free for vb.net. I reason i am looking for a free propertygird is because i want to use it in a open source project i am working on.

So i decided to have a go at creating one myself... this being my first custom control that i have tried to create its proving to be a chalange. Ok any anyways lets see if anyone can help me with a few problems.

I have a collection for Categories and a collection for Entries.
Cateogies are like the headers as such with the + - in the propertygrid
The entry collection is a object. I then set the object to say ie a textbox entry or a progress bar entry...

This has all gone well so far.

Problem/Suggestion 1
I basically draw the lable on the left, value on the right using drawstring. When i click on an entry i then dynamically add a textbox basically the size of the value side. I set the focus to the textbox. Set the value of the textbox and hide the border amoungst other things. Is this the best way of doing this? This method works, but seems a bit clumsy when font size changes. I was thinking that maybe instead i need to capture keypresses and use draw string to draw changes unstead of using a textbox.

Problem/Suggestion 2
I am going to use the render part of controls to draw the progressbar and buttons. But a control i am slightly lost with adding as an entry is a combobox. I can add the combobox like i did with the textbox above but i cant resize the combobox small enough to the size i would like it without it screwing up. Using the renderer i can draw the button for the combobox but yea i dont know how to draw the actuall box part. I started to experiment with adding a usercontrol with say a listbox and then showing that as the drop down part. Does any 1 have any suggestions on this?

Problem/Suggestion 3
I supose i will at some stage want to show tool tips for half hidden lables or values ... any one know where to begin on this?

if u would like to see what it sort of looks like atm
http://gtools.sourceforge.net/pg.JPG
the horrible choise of colours is just to see where things are drawn

Thanks
AnswerRe: Custom Control Propertygrid help Pin
Danilo Corallo10-Apr-06 3:03
Danilo Corallo10-Apr-06 3:03 
QuestionTrying to trap error messagebox brought up by broswer Pin
Rob Boucher24-Mar-06 12:26
Rob Boucher24-Mar-06 12:26 
Questionhow to embed crystel report in vs 2.0 2005 express Pin
syed rahman24-Mar-06 9:50
syed rahman24-Mar-06 9:50 
Questionhow to bind datagrid view n 2.0 2005 express with radio buttons Pin
syed rahman24-Mar-06 9:47
syed rahman24-Mar-06 9:47 
QuestionHow to save image of PictureBox? Pin
NatBest24-Mar-06 5:32
NatBest24-Mar-06 5:32 
AnswerRe: How to save image of PictureBox? Pin
Guffa24-Mar-06 6:51
Guffa24-Mar-06 6:51 
AnswerRe: How to save image of PictureBox? Pin
NatBest24-Mar-06 7:45
NatBest24-Mar-06 7:45 
JokeRe: How to save image of PictureBox? Pin
Guffa24-Mar-06 9:50
Guffa24-Mar-06 9:50 
GeneralRe: How to save image of PictureBox? Pin
nzmike24-Mar-06 21:49
nzmike24-Mar-06 21:49 
AnswerRe: How to save image of PictureBox? Pin
Guffa25-Mar-06 7:36
Guffa25-Mar-06 7:36 
QuestionDeploy .chm help file wity Setup.exe Pin
nutrino14924-Mar-06 4:45
nutrino14924-Mar-06 4:45 
AnswerRe: Deploy .chm help file wity Setup.exe Pin
Ed.Poore24-Mar-06 7:48
Ed.Poore24-Mar-06 7:48 
GeneralRe: Deploy .chm help file wity Setup.exe Pin
nutrino14924-Mar-06 9:40
nutrino14924-Mar-06 9:40 
GeneralRe: Deploy .chm help file wity Setup.exe Pin
Ed.Poore24-Mar-06 10:59
Ed.Poore24-Mar-06 10:59 
GeneralRe: Deploy .chm help file wity Setup.exe Pin
nutrino14927-Mar-06 2:07
nutrino14927-Mar-06 2:07 
GeneralRe: Oops you are correct. Pin
nutrino14927-Mar-06 2:41
nutrino14927-Mar-06 2:41 
GeneralRe: Oops you are correct. Pin
Ed.Poore27-Mar-06 5:46
Ed.Poore27-Mar-06 5:46 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.