Click here to Skip to main content
16,005,181 members
Home / Discussions / C#
   

C#

 
GeneralRe: MICROSOFT WORD Pin
Christian Graus1-Jun-02 19:48
protectorChristian Graus1-Jun-02 19:48 
GeneralRe: MICROSOFT WORD Pin
Paddy1-Jun-02 20:13
Paddy1-Jun-02 20:13 
GeneralSetting the left and/or right margins of edit controls Pin
1-Jun-02 4:59
suss1-Jun-02 4:59 
GeneralTreeView firing MouseUp when mouse is still pressed Pin
NormDroid31-May-02 2:38
professionalNormDroid31-May-02 2:38 
GeneralRe: TreeView firing MouseUp when mouse is still pressed Pin
Nish Nishant31-May-02 4:32
sitebuilderNish Nishant31-May-02 4:32 
GeneralGosh!!!!!! Pin
Nish Nishant31-May-02 4:32
sitebuilderNish Nishant31-May-02 4:32 
GeneralRe: Gosh!!!!!! Pin
31-May-02 20:22
suss31-May-02 20:22 
GeneralSizing/positioning child forms within a parent form... Pin
Andrew Connell31-May-02 1:34
Andrew Connell31-May-02 1:34 
I've been playing around with the dynamic sizing, positioning, and MDI
settings, but still can't achieve my goal and I'm sure someone else out
there has done this... Here's my scenario:

I have a frmMainContainer that acts as the primary controller for my
application. It consists of a header 200px tall and 100% of the width of
the form (used for control & branding) and the remainder of the area below
is where my other forms will appear (I'll call it MultiUseArea for this
conversation). I have a few other forms (frmChild1, frmChild2,
frmChild3)... these will be loaded from the frmMainContainer form... they
also will not have the min/max/close/titlebar/border features of a typical
form.

Now, what I want to do is click basically click a button in frmMainContainer
that will load one of the child forms into the MultiUseArea... here's the
trick... I want to size the child form to take up 100% of the MultiUseArea.

Here's what I'm struggling with: when I load the application
frmMainContainer, there are no scrollbars. When I load one of the child
forms, scroll bars pop up in frmMainContainer although it looks like if the
scroll bars weren't present, it would fit perfectly.

I've tried dynamically sizing the children using the ClientRectangle
property of the frmMainContainer, I've tried disabling the AutoScroll, and
making the child forms MDI children of the frmMainContainer among other
things... I just can't figure it out. Any ideas?

----
Just in case I'm confusing anyone in my description... I'm thinking something like Quicken interface or the one shown here: http://www.bcentral.com/image/ss_sbm1_640.gif In my desired solution, the "invoice entry" form would not have the title bar or control boxes (min/max/close).

Andrew Connell
IM on MSN
andrew@aconnell.com
GeneralANSWER: Sizing/positioning child forms within a parent form... Pin
Andrew Connell31-May-02 2:56
Andrew Connell31-May-02 2:56 
GeneralHelp me plz to convert this structure to C#... Pin
31-May-02 0:15
suss31-May-02 0:15 
GeneralRe: Help me plz to convert this structure to C#... Pin
Nick Parker31-May-02 8:03
protectorNick Parker31-May-02 8:03 
GeneralRe: Help me plz to convert this structure to C#... Pin
31-May-02 11:05
suss31-May-02 11:05 
Generaltake data from textBox Pin
sharon30-May-02 23:16
sharon30-May-02 23:16 
GeneralRe: take data from textBox Pin
Rocky Moore1-Jun-02 23:17
Rocky Moore1-Jun-02 23:17 
QuestionSimple Data Binding problem: pull from control? Pin
Barrett80830-May-02 19:40
Barrett80830-May-02 19:40 
GeneralIdle time handler function Pin
30-May-02 18:56
suss30-May-02 18:56 
GeneralRe: Idle time handler function Pin
James T. Johnson30-May-02 19:46
James T. Johnson30-May-02 19:46 
QuestionCan I see the .Net Class Lib's source code? Pin
Feng Qin30-May-02 16:29
Feng Qin30-May-02 16:29 
AnswerRe: Can I see the .Net Class Lib's source code? Pin
Rama Krishna Vavilala30-May-02 16:53
Rama Krishna Vavilala30-May-02 16:53 
GeneralRe: Can I see the .Net Class Lib's source code? Pin
Nish Nishant30-May-02 17:24
sitebuilderNish Nishant30-May-02 17:24 
GeneralRe: Can I see the .Net Class Lib's source code? Pin
Rama Krishna Vavilala30-May-02 18:33
Rama Krishna Vavilala30-May-02 18:33 
GeneralRe: Can I see the .Net Class Lib's source code? Pin
Nish Nishant30-May-02 19:32
sitebuilderNish Nishant30-May-02 19:32 
GeneralRe: Can I see the .Net Class Lib's source code? Pin
Rama Krishna Vavilala31-May-02 1:54
Rama Krishna Vavilala31-May-02 1:54 
AnswerRe: Can I see the .Net Class Lib's source code? Pin
James T. Johnson30-May-02 17:28
James T. Johnson30-May-02 17:28 
GeneralReflection and file deletion Pin
Orion Buttigieg30-May-02 15:41
Orion Buttigieg30-May-02 15:41 

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.