> Hi Karina and all,

Hi Sebastien :)

> Another one which is geat is #color. At last you'll find the
> utility of the D8 property inspector, where this property
> prompt a color selector. (gpdl dialog still ask you for a string).
>  I loves this feature!

I must be getting senile... I thought I mentioned color in my post...

<much scrolling follows>

Ah yes, there it is! Guess I'm not senile after all :)

Another interesting thing to try out: with fileXtra you can call the
DirectoryToList function, to get a list of all the files in a specified
directory, and then use that list for the #range property. You'll get a
popup list of all the files in your directory (folder for Mac users ;p).
Great for stuff like "go movie pMovie" or sound playFile 1, pSound", or
whatever.
(You can try experimenting with the more complex FileOpenDialog feature, to
get a standard OS open file dialogue, but I found the other one more then
enough for my purpose).

Oh yes, almost forgot! I experimented with D8's new handlers() feature
yesterday, and what you can do is this:

global goManager
property puAction

on mouseUp me
  call(puAction, goManager)
end

on getPropertyDescriptionList me
  gpdl = [:]
  gpdl[#puAction] = [#comment: "Database Action", #format: #symbol,
#default: #newRecord, #range: script("Database Manager").handlers()]
  return gpdl
end


The handlers function will give you a list of all the handlers in the
specified script.
In my case, I have a general manager object (parent script), and I have a
few buttons that when clicked call a specific handler in the object. Instead
of manually writing all of them in, I have a dynamically self-updating popup
list :) :) :)


Karina










[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