> jbv wrote:
> but I was wondering if there was a property or something similar...
> For instance, this would be very handy :
> disable line 2 of fld "listField"
Not exactly what you want, but a similar property works for me:
set hidden of line 2 of fld "listField" to true
Simple to do. Here is an example if you want to protect line 2:
local tLine
on mouseDown
put word 2 of the selectedLine into tLine
end mouseDown
on mouseUp
if word 2 of the mouseLine = 2 then select line tLine of me
end mouseUp
This leaves the currently selected line intact.
You can
I've done this in the past by faking it. Set the textcolor of the line to
a light gray. Then in the mouseUp handler, check the textcolor of the
clickline and if it's gray, ignore it.
Jacqueline Landman Gay | jac...@hyperactivesw.com
HyperActive Software |
Some things in life although they seems like they should have
a simple solution many times they do not, and require
a more difficult/complex solution.
Just my 2 cents.. Sorry if it doesn’t help much.
Rick
> On Aug 14, 2016, at 11:32 AM, jbv wrote:
>
> Mike
> Thanks for
Mike
Thanks for the effort, but I need something simpler.
Your suggestion with mousedown/mouseline already crossed my mind,
but I was wondering if there was a property or something similar...
For instance, this would be very handy :
disable line 2 of fld "listField"
Best,
jbv
On Sun, August
I just tried a quick and dirty method, not fully fleshed but it might do
what you need to if you can work out all the positioning..
I made a list field with enough entries to require scroll, then I made some
graphic rectangles and lined them up with the lines I want to disable.
Added 1 extra grc,
Hi list
When a field behaves as a list, is it possible to temporarily disable
certain lines of the field so that they aren't clickable nor selectable,
while other lines remain selectable ?
If yes, which property should I use ?
I have searched the dictionary but to no avail...
Thanks in advance.