about field list

Jan Schenkel janschenkel at yahoo.com
Fri Oct 3 03:33:00 EDT 2003


--- Eric Rognard <eric.rognard at laposte.net> wrote:
> Hi everybody,
> 
> 1) I want to put long sentences as elements of a
> list field.
> 
> When I type a sentence in the "content" window of
> the object inspector, 
> the text wrap (if the small left button is hilited)
> but   my sentence 
> stays on one line in the field list object.
> 
> Can I have list elements that wrap to fit to the
> size of the object 
> list? And How?
> 
> 2) I want  the user can reorder the elements of the
> list field in the 
> browse mode with his mouse pointer. Is it possible?
> How?
> 
> 
> May be the list field is not the right object to do
> that? :-)
> 
> Eric Rognard
> Think different!
> 

Bonjour Eric,

Unfortunately, the response to your first question is
negative : listBehaviour negates dontWrap.
If you know the number of lines and their sizes in
advance, you may get around this by making each line
an individual field, grouping those fields together,
and then turning on the group's vertical scrollbar.

However, this won't help you for your second question
either. I do have a stack on my website that scripts a
way to support drag-and-drop of list field elements ;
direct link :
<http://www.geocities.com/janschenkel/downloads/dragdroplist.zip>

I'mp still hoping for a built-in solution in list
fields that we may turn on at some point in the
future, and praying for a full-blown table control
that would take care of optional drag-and-drop of its
elements. Maybe someday :-)

Jan Schenkel.

=====
"As we grow older, we grow both wiser and more foolish at the same time."  (La Rochefoucauld)

__________________________________
Do you Yahoo!?
The New Yahoo! Shopping - with improved product search
http://shopping.yahoo.com



More information about the Use-livecode mailing list