Hi,

I got a problem.

I've done a MDI application where i use
application.createform(tform1,form1) statements to
open my MDI Child forms. I have a generic form that I
would like it to open other forms depending on a form
variable so that I can assign a variable like
vf:TForm;
vf := form2;
After calling application.createform(vf) it will open
form2.
If i assign vf := form3 it will open form2. I am
trying to avoid using so many if else statements.

Any help will be greately appreciated.

Regards

Muchemi.

Don't worry about what anybody else is going to do. The best way to predict the 
future is to invent it."

__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 


-----------------------------------------------------
Home page: http://groups.yahoo.com/group/delphi-en/
To unsubscribe: [EMAIL PROTECTED] 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/delphi-en/

<*> To unsubscribe from this group, send an email to:
    [EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
 



Reply via email to