๐Ÿš€ go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.delphi.winforms.controls.using
Article #456

Re: Passing parameters to a MDI Form

#456
From: Lucian.R
Date: Fri, 08 Oct 2004 10:05
38 lines
2045 bytes
did you try to use a global variable or an global array with variables for
every created MDIChild. May be I didn't understand your problem.

Hope it helps.
Lucian Rosu

"Juan Carlos Mart๏ฟฝnez" <juank@fibertel.com.ar> wrote in message
news:40CE2215.6419821A@fibertel.com.ar...
> Hello to all!
>
> I need of your help with the following question:
>
> How could I pass, in a D3 program,  the value of the TAG property to a
> MDIChild form that I have just dynamically created?
>
> I use a function that verifies that the form has not been created
> previously and if not created, then creates it with
>
> begin
>      with Tform1.Create (Application) [do]
>         begin
>  tag:= iTag   // Integer received as a parameter
>         end;
> end;
>
> and all what I get is to create the form and show it, but the TAG is not
> passed.
>
> I will appreciate your help
>
> Best regards,
> Juank


---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.773 / Virus Database: 520 - Release Date: 05/10/2004
Technical Details
Message-ID: <41665807@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news2.google.com!news.maxwell.syr.edu!newsfeed.frii.net!newsfeed.frii.net!news.compaq.com!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mail
References: <40CE2215.6419821A@fibertel.com.ar>

Show Full Headers
Complete Article Headers
X-Google-Thread: 1eff29,62b50caaf19c2d0f,start
X-Google-Attributes: gid1eff29,public
X-Google-Language: ENGLISH,ASCII
Reply-To: "Lucian.R" <rlucian@easynet.ro>
From: "Lucian.R" <rlucian@easynet.ro>
Newsgroups: borland.public.delphi.winforms.controls.using
References: <40CE2215.6419821A@fibertel.com.ar>
Subject: Re: Passing parameters to a MDI Form
Date: Fri, 8 Oct 2004 12:05:44 +0200
Lines: 40
Organization: DATASis PROSoft srl
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2800.1437
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1441
NNTP-Posting-Host: 82.76.130.11
Message-ID: <41665807@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1097226247 82.76.130.11 (8 Oct 2004 02:04:07 -0700)
Path: arc1-ca.pugleaf.net!g2news1.google.com!news2.google.com!news.maxwell.syr.edu!newsfeed.frii.net!newsfeed.frii.net!news.compaq.com!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mail