FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Opening a Form in a form.

 
Post new topic   Reply to topic     Forum Index -> DFL
View previous topic :: View next topic  
Author Message
tnt06



Joined: 07 Sep 2007
Posts: 4
Location: US

PostPosted: Fri Sep 07, 2007 10:49 am    Post subject: Opening a Form in a form. Reply with quote

Ok, to start with, I'm new to D and newer to DFL-Entice, so, with that said,

Greetings to all.

Using DFL Entice, I created a 'main' form with all the buttons, boxes, etc.
However, I can't seem to open another Form, lets call it 'dfcs'.
I've tried

private void fcc_click(Control sender, EventArgs ea)
{
NewDfcsForm();
}

and about 100 other variations of the same. I used msgBox(); in other area's without any problem's.
I'm thinking it might be a linking problem when I compile ie...

dfl -gui main.d dfcs.d

Any thoughts until I can find more reference material?

Thanks to everyone,
Todd
_________________
The newest newbee.
Back to top
View user's profile Send private message
Chris Miller



Joined: 27 Mar 2004
Posts: 514
Location: The Internet

PostPosted: Sat Sep 08, 2007 9:12 am    Post subject: Re: Opening a Form in a form. Reply with quote

auto myform = new dfcs();
myform.show();
Back to top
View user's profile Send private message
tnt06



Joined: 07 Sep 2007
Posts: 4
Location: US

PostPosted: Mon Sep 10, 2007 7:00 pm    Post subject: Reply with quote

Beautiful, Works perfect.

Thanks Chris

Very Happy
_________________
The newest newbee.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic     Forum Index -> DFL All times are GMT - 6 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group