Or use a normal field as Craig suggested and create soft-wrapped lines by
inserting ASCII 11 at line breaks. These select as normal lines but
visually appear as separate lines.
From the 5.5 release notes:
The engine will now interpret a numToChar(11) character in a field
paragraph as an explicit line-
break when the (effective) dontWrap of the paragraph is false. This allows
multiple ‘lines’ to be
displayed within a single paragraph.
--
Jacqueline Landman Gay | jac...@hyperactivesw.com
HyperActive Software | http://www.hyperactivesw.com
On April 26, 2018 11:43:16 PM Terry Judd via use-livecode
<use-livecode@lists.runrev.com> wrote:
Or perhaps use a form type datagrid - which will allow you to present and
select multi-lined option more readily.
Regards,
Terry...
On 27/04/2018 2:33 pm, "use-livecode on behalf of dunbarx via
use-livecode" <use-livecode-boun...@lists.runrev.com on behalf of
use-livecode@lists.runrev.com> wrote:
Hi.
If I were you, with the task you laid out, I would not use an option menu.
It is not good with wide menuItems, and it is not natural, if even possible,
to select multiple lines in the way you want.
Use a list field instead. A field has many properties that are denied an
optionMenu, which is really just a button.
You can have multiple lines selected, by trapping "mouseUp", say, and with
the clickLine, select the following line as well. Or the following five. Or
the previous. That sort of thing. A field just is far more able in this
regard.
Craig Newman
--
Sent from:
http://runtime-revolution.278305.n4.nabble.com/Revolution-User-f278306.html
_______________________________________________
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your
subscription preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode
_______________________________________________
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your
subscription preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode
_______________________________________________
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode