MDI Forms are a Whore (rant of the day)

Posted by: psychogen

MDI Forms are a Whore (rant of the day) - 08/07/02 08:27 AM

Now psychogen is working on an app, a pretty fucking large up with pretty fucking lots of shit to do. The app is such a hoe that it even interacts directly with remotely located databases and also can change and upload your web pages (not that thats to complex) but it can also administer ur entire members area online - well it will do once its finished.

This is a commercial app and its for work. But its a whore. Why?

Simple because.

I was stupid I have build a menu that is almost identical to that used in MS Outlook, yeah u know the side bar thing, its neat - BUT it will only work the way its meant to work if u stick it in an MDI form cause we need to be able to show multiple forms within another without it being obvious. Now what happens is that psychogen is a whore too, he decides to stick all of this in a SDI form without thinking about what he will have to fight with later. Now after many battles lots and not won he decides ok I am not l33t enough to code this in an SDI form so ima have to move it all to a MDI form, ok no probs.

Now the slag when starting the app will not .add shit to my menu!!!!!! I am so pissed at it, and it gives no errors, so Ima have to find what part of the fucking code i have to rewrite and I am pissed as hell at it!!!!!

FUCK YOU MS PRODUCED MDI FORM!!!!

ok that was my rant for the day!
Posted by: SilentRage

Re: MDI Forms are a Whore (rant of the day) - 08/07/02 12:05 PM

"Now the slag when starting the app will not .add shit to my menu!!!!!! I am so pissed at it, and it gives no errors, so Ima have to find what part of the fucking code i have to rewrite and I am pissed as hell at it!!!!!"

I don't understand. What controls and methods of those controls are you using.

--

But yeah, I have a few complaints about MDI programming in VB. You tried to put multiple forms in a SDI form? woof, that would be hell - HELL - to do.
Posted by: psychogen

Re: MDI Forms are a Whore (rant of the day) - 08/07/02 03:59 PM

SR this post was a rant not a pledge for help but since ur always nice to help, ill explain.

Its a custom control which I got of PSC, but its seriously modded by me, added a load of extra shit and so on.

Its beautiful!

But in this case it was a human error or missjudgement as we could say. Which in return I have been able to solve! It was just my frustration of the minute rant, i just so happened to have about MDI forms!

Hehe only a stupid person would try to stick multiple forms in a SDI form [Shit]
Posted by: psychogen

Re: MDI Forms are a Whore (rant of the day) - 08/07/02 04:50 PM

Actually i have a question, you know In Outlook when you click on one of the buttons on the nav bar it will open the appropriate "form" next to it but at full screen size automatically.

I am wondering how can I get my mdichilds to do the same think up form startup, so that its automatically fully sized?
Posted by: SilentRage

Re: MDI Forms are a Whore (rant of the day) - 08/08/02 05:49 AM

Well, before I go test to see how to do it - let's see if I can guess at it.

Isn't there a Window State property for the child form? Set it to Maximized in design time. Or during runtime enter this line of code:

'Maximize the form before displaying it.
Form.WindowState = vbMaximized
Form.Show

If that doesn't work, then I'll go play with it.

-- and in my previous post I wasn't trying to help ya. I'm trying to figure out what the heck you're doing. (I don't use Outlook - I use my home grown program )
Posted by: psychogen

Re: MDI Forms are a Whore (rant of the day) - 08/08/02 08:15 AM



hehe
i was thinkin that thag property would work aswell, but then i dunno let me see i havnt tested it yet.

tested it and it works
thank you SR
Posted by: psychogen

Re: MDI Forms are a Whore (rant of the day) - 08/08/02 01:12 PM

Heheh
well that works yeah

now i just have to find one of those stupid scripts that will resize all my controls aswel˝

Posted by: SilentRage

Re: MDI Forms are a Whore (rant of the day) - 08/08/02 02:16 PM

scripts? What scripts? As far as I know, the only way to do things is put a bunch of sizing statements in the Form_Resize event. I'd make tests to see how large the form is and resize all the controls based on that.
Posted by: psychogen

Re: MDI Forms are a Whore (rant of the day) - 08/08/02 02:27 PM

allright wrongly phrased - no scripts

statements then! hehe