Welcome! Log In Create A New Profile

Advanced

How do you recieve parameters in mdi child window

Posted by John Marrone 
John Marrone
How do you recieve parameters in mdi child window
September 30, 2008 12:26PM
Hi All
It's just like the subject said, How do you receive parameters in mdi child window. I know how to pass them and I looked at help and I took it to declare a global procedure with the same name as the mdi window. But this gives me an error. What and where do you set up the window to receive some parameters. Thanks for any help.
Louis Verbraak
Re: How do you recieve parameters in mdi child window
September 30, 2008 12:54PM
Hello John,

In the Global declaration of the window place the first line:

PROCEDURE WIN_MyWindow(gwsMyParameter is string[=""])

HTH.
Fabrice Harari.pcs.crosspost
Re: How do you recieve parameters in mdi child window
September 30, 2008 01:05PM
Hi John...

Do not create a global procedure...

the line "Procedure WindowName (Param1, param2...)" goes at the
beginning of the window code... The whole window is then seen as a
procedure to which to can send parameters

best regards

--
Fabrice Harari
International WinDev, WebDev and WinDev mobile Consulting

More information on [www.fabriceharari.com]


John Marrone wrote:
> Hi All
> It's just like the subject said, How do you receive parameters in mdi child window. I know how to pass them and I looked at help and I took it to declare a global procedure with the same name as the mdi window. But this gives me an error. What and where do you set up the window to receive some parameters. Thanks for any help.
>
Message forwarded from pcsoft.us.windev
Author:

Your Email:


Subject:


Spam prevention:
Please, enter the code that you see below in the input field. This is for blocking bots that try to post this form automatically. If the code is hard to read, then just try to guess it right. If you enter the wrong code, a new image is created and you get another chance to enter it right.
Message: