Re: Choose from list goes out of screen range
Re: Choose from list goes out of screen range
- Subject: Re: Choose from list goes out of screen range
- From: Jan Bultereys <email@hidden>
- Date: Fri, 20 Jul 2007 14:58:08 +0200
- Thread-topic: Choose from list goes out of screen range
Hi Gary and yvan,
Yes, I am aware about the fact that I should control the elements shown in
the list.... But it's something else.
Showing quite some elements is necessary in this case but without going too
much into detail... I need to display more than 1000 elements in a list.
Sometimes the display list, fits perfectly into the screen, sometimes it
doesn't...
Slice bar is still available but the cancel/OK button are out of range.
I am thinking of a bug or an internal out of memory error in script editor
itself??
So to be clear what I mean sometimes a lot of elements can be displayed
sometimes it doesn't.
Many thanks for your feedback
jan
> From: "Gary (Lists)" <email@hidden>
> Date: Fri, 20 Jul 2007 06:59:48 -0400
> To: AppleScript Users <email@hidden>
> Subject: Re: Choose from list goes out of screen range
>
> "Jan Bultereys" wrote:
>
>> Sometimes the ³choose from list² dialog box goes outside of my screen
>> range...
>> So this means my OK or Cancel button can not be accessed via a normal mouse
>> click.
>> Is there a way to limit the maximal length of a ³choose from list² dialog
>> box?
>
> "KOENIG Yvan" wrote:
>
>> I am not aware of such a function but there is a simple workaround.
>>
>> The OK button as a shorcut: the return key
>> The cancel button has a shortcut: the escape key
>
> Well, that's important to remember for those accidental times when interface
> objects are out of view, but it's not useful design advice.
>
>
>
> Jan,
>
> Inside AS, as opposed to other tools like Smile's design environment or
> Studio or such, the list that you, the programmer, provides is the
> determining factor in the height of the choose box.
>
> And you, the programmer, can control that list (it's number of items).
>
> In your design, you need to consider that list length and what kinds of
> options you are providing.
>
> Perhaps re-consider your design and break choices into smaller groups,
> branching to sub-lists as needed. (Or use some other interface design
> environment.)
>
> As an example only, instead of providing a list of 50 US states, which might
> make the list box "too tall" for the screen (or for some screens, even if
> not your own), break that list into something like "Choose your Region" and
> offer subsets. The user will choose a region (South, Northeast, Northwest,
> etc.) and then get a "Choose your State" list.
>
> Anyway, there is no height control for the interface object, other than the
> length of the list you provide.
>
> --
> Gary
>
> _______________________________________________
> Do not post admin requests to the list. They will be ignored.
> AppleScript-Users mailing list (email@hidden)
> Help/Unsubscribe/Update your Subscription:
> edepot.com
> Archives: http://lists.apple.com/archives/applescript-users
>
> This email sent to email@hidden
_______________________________________________
Do not post admin requests to the list. They will be ignored.
AppleScript-Users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
Archives: http://lists.apple.com/archives/applescript-users
This email sent to email@hidden