![]() |
| | #1 |
| Registered User Join Date: Oct 2008
Posts: 85
| Windows Form Sizing I am trying to create a form with a small width ( about 64). i have removed the formcontrols and made the maximize and minimize boxs false. the form has a fixedsingle borderstyle. my problem is i cannot size the width of the form down below a certain size. is there anyway to overcome this? i am trying to use it as a sort of toolbar to display some small thumbnail images, which will later be dragged and dropped onto other forms. Is this the right approach or should i be using another type of control/form thanks in advance |
| deviousdexter is offline | |
| | #2 |
| Confused Join Date: Sep 2001 Location: Sweden
Posts: 3,125
| Set the formborderstyle to "none". Of course you'll lose the actual border, but I guess that's your intention anyway.
__________________ MagosX.com Give a man a fish and you feed him for a day. Teach a man to fish and you feed him for a lifetime. |
| Magos is offline | |
| | #3 |
| Registered User Join Date: Oct 2008
Posts: 85
| thanks for the reply i have tried removing the border, the form still will not size down below what appears to be a default minimum. i can make it smaller in the IDE but not at run time - it just goes back to the size it was normally, even if i programatically override the height and width and run time. the smallest size i can resize to on the mdiparent appears to be the exact hight height and width of the control buttons that i have removed. hopefully someone will come up with a solution or alternative method. [EDIT] i found this link but unfortunelty its not C# orientated and appears a little bit above my understanding at present. http://delphi.about.com/od/adptips20...m_minwidth.htm anyone can take a look and maybe turn into something i can undertsand ? or is this really going to far now. Last edited by deviousdexter; 10-22-2008 at 05:23 AM. |
| deviousdexter is offline | |
![]() |
| Thread Tools | |
| Display Modes | |
|
Similar Threads | ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Windows Forms | ejohns85 | C# Programming | 2 | 05-17-2007 03:22 PM |
| how to make a windows application | crvenkapa | C++ Programming | 3 | 03-26-2007 09:59 AM |
| Script errors - bool unrecognized and struct issues | ulillillia | Windows Programming | 10 | 12-18-2006 04:44 AM |
| Accessing main form from functions in other classes | pj_martins | C++ Programming | 1 | 11-05-2004 09:27 AM |
| My UserControls dissapear off my form | zMan | C# Programming | 2 | 09-15-2004 08:55 AM |