MDI Child problem

sandeep
05-20-2002, 08:57 AM
hi all,

I have a problem with the MDI form.

When I load a child form, the already loaded form is automatically restored.

The loaded form has border style is sizeable.
The child form to be loaded has the border style is fixed style.

How to fix it ?
any idea?
Thanks in advance

Sandeep

divil
05-20-2002, 10:16 AM
You shouldn't have MDI children with fixed borders. That is not the point of MDI.

sandeep
05-20-2002, 11:36 PM
hi

even I make the border sizeable ,the already loaded form is restored when i open another form.

I want to open a form upon another form .

How to do it?

Thanks in advance

Sandeep

Bramus
05-21-2002, 04:36 AM
Here's an example that will help you. In my program I have a form called frmUserInfo. Then I make that frmUsrInfo (without the e) is declared as an frmUserInfo .... that way you can load it as many times as you want .... and then call the rest (objects and so) like you do normally but to the new form.


Set frmUsrInfo = New frmUserInfo
frmUsrInfo.Show
frmUsrInfo.txtUIN = x(2)
frmUsrInfo.txtNickName = x(3)
frmUsrInfo.txtFirstName = x(4)
frmUsrInfo.txtLastName = x(5)
frmUsrInfo.txtEMail = x(6)

EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum