|
-
Mar 10th, 2006, 04:28 AM
#1
Thread Starter
Hyperactive Member
A wee bit of help with Forms..
Hey chaps,
I've got a form (called frmPop) and as one of it's members theres a form called frmTest. I want to show frmtTest under certain conditions but it wont show ??
Any help please ?
Code:
frmT = new frmTest();
frmT.TopLevel = false;
frmT.Parent = this;
if (dbx.sysVars.Testmode > 0)
{
frmT.Show();
}
Thanks alot.
Chubby.
-
Mar 10th, 2006, 04:47 AM
#2
Re: A wee bit of help with Forms..
Are you meeting the condition you've set?
-
Mar 10th, 2006, 05:28 AM
#3
Thread Starter
Hyperactive Member
Re: A wee bit of help with Forms..
Yes, to set the parent object I have set TopLevel to false or I get an error, but I need TopLevel to be true to see the form, a work-around is to bot set the parent but create a bespoke object on the frmT and set that, but was hoping to use the Parent Object syntax...
Thanks for the reply.
Chubby.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|