Thursday, November 11, 2010

How do you make the dialog boxes in VB code resizable?

I uae a program in which the dialog boxes are fixed... I want to change the source code to make them 'strechtable' or resizable by the user.How do you make the dialog boxes in VB code resizable?
I just browsing the dialog boxes in VS2005 now and it seems that there are no properties allowing you to resize the height or width of dialog boxes. Perhaps you can create your own dialog box class and inherit from one of the standard dialog box classes.How do you make the dialog boxes in VB code resizable?
There is a command you can issue in the code that resets the size property. A little research in the VB help will help you find the correct property, setting and command syntax.
Which dialog boxes are you using? Regular forms set to a style of dialog? The MessageBox?

No comments:

Post a Comment