Thanx for the info.

I think, then the solution to this problem will be, to code entirely in
Lingo Xtra using MUI and call it in
on runPropertyDialog. 
And not coding GPDL at all.

In this case the entire GUI control will be in our hand.

Is this soltion right?

Sunil

-----Original Message-----
From: Mark R. Jonkman [mailto:[EMAIL PROTECTED]]
Sent: Monday, September 18, 2000 1:07 PM
To: [EMAIL PROTECTED]
Subject: RE: <lingo-l> How to call another handler thru
getPropertyDescriptionList?


As far as I know you can't.  You can create your own dialogue for the user
to interact with in place of the standard GPDL, but there is no hook that
I'm aware of to validate user input at that point. The GPDL is simply
calling a special instance of the MUI Xtra or more rightly so, the GPDL is
called from within Director and the result (return value) is handed to the
MUI to display a dialogue. Once that process has been completed, the GPDL is
no longer activly involved. If you've used MUI, you now that you go through
the process of creating a list of widgets that will be drawn on the screen
as part of the dialogue box, when your done creating the initial list, you
assign it to the MUI instance and open the dialogue, the GPDL is really just
that list of widgets and their settings, nothing more. So the handler is
called on drop and it returns a widget list and then Director takes it from
there.  I don't believe its possible to modify the results without reaching
in much deeper than the LINGO level to modify what is happening, because
you'd have to get deep into Director to locate the exit point of the entire
drag and drop configuration stuff.

I realize this doesn't help you much.

Sincerely

Mark

--------------------------------------------
Mark R. Jonkman
Mark R. Jonkman Consulting
ADDRESS: 20 Windermere Crt., Guelph, ON, CANADA N1E 3L4
PHONE: 519-837-8509
EMAIL: [EMAIL PROTECTED]
--------------------------------------------

> -----Original Message-----
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On
> Behalf Of Sunil Godbole
> Sent: September 18, 2000 3:45 PM
> To: '[EMAIL PROTECTED]'
> Subject: <lingo-l> How to call another handler thru
> getPropertyDescriptionList?
>
>
> Hi,
>
> I am writing a behavior.
> I want to call another handler in the same script as soon as the
> getPropertyDescriptionList handler is over.
>
> In Detail:
> I am having a property called transport_type,
> and when a value is attached to this property in Paramaters Dialaog Box in
> getPropertyDescriptionList,
> I want to call another function depending upon the value selected after OK
> is pressed.
>
> I will be using the other function to take additional inputs from user at
> authoring time, by creating Script Xtra and using MUI dialog boxes.
>
> So it's necessary that after user selects the value from drop down, and
> clicks on OK, the other handler must be called.
>
> How can I do this?
> If I use runPropertyDialog then getPropertyDescriptionList does
> not show the
> parameter dialog box. And this is not acceptable.
>
> Please suggest me some solution where I can trap the value
> selected by user
> and call the function immediately.
>
> regards,
> Sunil Godbole
>
>
>
>
>
>
>
> [To remove yourself from this list, or to change to digest mode, go to
> http://www.penworks.com/LUJ/lingo-l.cgi  To post messages to the list,
> email [EMAIL PROTECTED]  (Problems, email [EMAIL PROTECTED])
> Lingo-L is for learning and helping with programming Lingo.  Thanks!]
>


[To remove yourself from this list, or to change to digest mode, go to
http://www.penworks.com/LUJ/lingo-l.cgi  To post messages to the list,
email [EMAIL PROTECTED]  (Problems, email [EMAIL PROTECTED])
Lingo-L is for learning and helping with programming Lingo.  Thanks!]

[To remove yourself from this list, or to change to digest mode, go to
http://www.penworks.com/LUJ/lingo-l.cgi  To post messages to the list,
email [EMAIL PROTECTED]  (Problems, email [EMAIL PROTECTED])
Lingo-L is for learning and helping with programming Lingo.  Thanks!]

Reply via email to