Re: Dynamic objects/containers in AppleScript Studio
Re: Dynamic objects/containers in AppleScript Studio
- Subject: Re: Dynamic objects/containers in AppleScript Studio
- From: Takaaki Naganoya <email@hidden>
- Date: Sat, 15 Jul 2006 18:50:57 +0900
- Thread-topic: Dynamic objects/containers in AppleScript Studio
On 06.7.14 2:40 AM, "Steve Suranie" <email@hidden> wrote:
> Is there any way to create, at run time, an image view object? For example,
> in REALBasic's IDE I can drop a canvas onto my project window, give it an
> index of 0 and turn it's invisibility off. Then at run time, if the users
> reads/drops a folder of images onto the app I can then create additional
> canvases off of the first one with a command like c = new canvas1, each new
> canvas becomes part of a control array (canvas1(1), canvas1(2), canvas1(3),
> etc.).
>
> I was just wondering if there is a similar way to do it in AS-S.
No. There is no way to do so in ASS environment. It is jealous function.
A few GUI elements (for example..menu items) can be created with a lot of
limitations (you can create menu items dynamically on your application's
main menu but the created menu items can not handle event handler).
But you can place a lot of image view on a Window in Interface Builder.
You can set the visibility and position of them.
Summary:
(1)Dynamic GUI object creation is not impossible in ASS environment
(2)You can hide or move GUI object. I'll recommend you to do so
(3)You had to post this message to "AppleScript Studio" ML
--
Takaaki Naganoya
Piyomaru Software
http://piyo.piyocast.com/
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Applescript-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden