Click here to Skip to main content
15,897,891 members
Home / Discussions / Windows Forms
   

Windows Forms

 
AnswerRe: SplitContainer Pin
dan!sh 29-Dec-09 21:22
professional dan!sh 29-Dec-09 21:22 
GeneralRe: SplitContainer Pin
ThetaClear29-Dec-09 22:02
ThetaClear29-Dec-09 22:02 
GeneralRe: SplitContainer Pin
dan!sh 29-Dec-09 22:15
professional dan!sh 29-Dec-09 22:15 
GeneralRe: SplitContainer [modified] Pin
ThetaClear29-Dec-09 23:16
ThetaClear29-Dec-09 23:16 
AnswerRe: SplitContainer Pin
darkelv29-Dec-09 23:52
darkelv29-Dec-09 23:52 
AnswerRe: SplitContainer Pin
Luc Pattyn30-Dec-09 1:10
sitebuilderLuc Pattyn30-Dec-09 1:10 
GeneralRe: SplitContainer Pin
ThetaClear30-Dec-09 1:32
ThetaClear30-Dec-09 1:32 
QuestionsplitContainer splitterdistance set before size in designer Pin
Keith Barrow29-Dec-09 1:45
professionalKeith Barrow29-Dec-09 1:45 
I use VS2008.
I have a [horizontally] splitContainer, in the designer its width is set to 924px, The splitter distance to 462px and both panels have their minimum width set to 370. So far so good, when I built I got an error, along the lines of "The spliter distance must be set between the minium width of Panel1 and the container width - minimum width of container 2" (not those exact words). In my book that means the splitter distance of 462 must be between 370 and (924 - 370 = 554) which, unless arithmatic or the fundamental nature of maths has changed since I was a boy, it is.

The problem is that in the Designer.cs class this code

this.splitContainerMain.Size = new System.Drawing.Size(924, 496);


comes after

this.splitContainerMain.Panel1.Controls.Add(this.groupBoxUnrecognised);
this.splitContainerMain.Panel1MinSize = 370;
// 
// splitContainerMain.Panel2
// 
this.splitContainerMain.Panel2.Controls.Add(this.splitContainerDone);
this.splitContainerMain.Panel2MinSize = 370;



and splitContainerMain uses a default width of 150px, breaking the calculation. Is there any way to fix this problem permanently?

CCC solved so far: 2 (including a Hard One!)
37!?!! - Randall, Clerks

AnswerRe: splitContainer splitterdistance set before size in designer- Work araound Pin
Keith Barrow29-Dec-09 2:11
professionalKeith Barrow29-Dec-09 2:11 
QuestionHTML Text Box in Windows Form Pin
AdeleLeRoux26-Dec-09 8:27
AdeleLeRoux26-Dec-09 8:27 
AnswerRe: HTML Text Box in Windows Form Pin
Luc Pattyn26-Dec-09 8:36
sitebuilderLuc Pattyn26-Dec-09 8:36 
QuestionI want a project idea...really urgent Pin
swatireddyz23-Dec-09 17:29
swatireddyz23-Dec-09 17:29 
AnswerRe: I want a project idea...really urgent Pin
Roger Wright23-Dec-09 19:02
professionalRoger Wright23-Dec-09 19:02 
QuestionHow to connect to remote server and access an xml file (in VB.Net) Pin
swatireddyz23-Dec-09 17:18
swatireddyz23-Dec-09 17:18 
AnswerRe: How to connect to remote server and access an xml file (in VB.Net) Pin
εїзεїзεїз27-Dec-09 19:42
εїзεїзεїз27-Dec-09 19:42 
QuestionUpdate Grid Cell in each text boxes whatever I entered in a First Text Box Pin
ranrits22-Dec-09 2:31
ranrits22-Dec-09 2:31 
QuestionSmall size application Pin
FaisalMoon21-Dec-09 20:07
FaisalMoon21-Dec-09 20:07 
AnswerRe: Small size application Pin
Roger Wright21-Dec-09 20:21
professionalRoger Wright21-Dec-09 20:21 
GeneralRe: Small size application Pin
FaisalMoon21-Dec-09 20:40
FaisalMoon21-Dec-09 20:40 
GeneralRe: Small size application Pin
Eddy Vluggen22-Dec-09 7:09
professionalEddy Vluggen22-Dec-09 7:09 
GeneralRe: Small size application Pin
FaisalMoon22-Dec-09 19:39
FaisalMoon22-Dec-09 19:39 
GeneralRe: Small size application Pin
Eddy Vluggen23-Dec-09 5:04
professionalEddy Vluggen23-Dec-09 5:04 
QuestionWindows Form with TableLayoutPanel is changing its Controls position when is shown in mdiParent Form. How to Resolve this Issue? Pin
Nouman_gcu21-Dec-09 1:20
Nouman_gcu21-Dec-09 1:20 
QuestionWindows Forms Memory Usage... Pin
1.21 Gigawatts20-Dec-09 5:05
1.21 Gigawatts20-Dec-09 5:05 
AnswerRe: Windows Forms Memory Usage... Pin
Luc Pattyn20-Dec-09 5:10
sitebuilderLuc Pattyn20-Dec-09 5:10 

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.