Clickline problem
Posted: Mon Apr 11, 2016 1:52 am
Hello,
I am attempting to allow users to click on a disabled text Field to get the click line
then there is a button to delete the line that was clicked on.
It would be cool if the line was highlighted or changed color but its not mandatory.
CODE IN THE TEXT FIELD :
global gLine
on mouseup
select the clickLine
put the value of the clickLine into gLine
end mouseup
CODE IN THE BUTTON :
global gLine
on mouseUp
delete line gLine of fld "Inv1"
end mouseUp
Bonus points if anyone knows how to disable a field without making the contents of the field "greyscale"
THANKS!
I am attempting to allow users to click on a disabled text Field to get the click line
then there is a button to delete the line that was clicked on.
It would be cool if the line was highlighted or changed color but its not mandatory.
CODE IN THE TEXT FIELD :
global gLine
on mouseup
select the clickLine
put the value of the clickLine into gLine
end mouseup
CODE IN THE BUTTON :
global gLine
on mouseUp
delete line gLine of fld "Inv1"
end mouseUp
Bonus points if anyone knows how to disable a field without making the contents of the field "greyscale"
THANKS!