Code: Select all
on mouseUp
put the selectedtext of fld "asd" into myvar
delete myvar
end mouseUp
Code: Select all
on mouseUp
put the selectedtext of fld "asd" into myvar
put empty into myvar
end mouseUp
Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller
Code: Select all
on mouseUp
put the selectedtext of fld "asd" into myvar
delete myvar
end mouseUp
Code: Select all
on mouseUp
put the selectedtext of fld "asd" into myvar
put empty into myvar
end mouseUp
Code: Select all
on mouseUp
delete the selectedText of field "Field"
end mouseUp
Code: Select all
on focusOut -- for locked text fields
set the cLastSelection of me to the selectedChunk
end focusOut
on exitfield -- for editable fields
set the cLastSelection of me to the selectedChunk
end exitfield
Code: Select all
on mouseUp
put the cLastSelection of field 1 into mySelection
if word 4 of mySelection < word 2 of mySelection then exit mouseUp -- no text selected, just the insertion mark is in the field
put the number of lines of char 1 to (word 2 of mySelection) of field 1 into tNumOfLines -- find out how many lines up to the begin of the selection
delete line tNumOfLines of field 1
end mouseUp
Code: Select all
put empty into the selectedText
Code: Select all
on mouseUp
repeat for each item tLine in the hilitedLines of field "Field"
delete line tLine of field "Field"
end repeat
end mouseUp
Code: Select all
on mouseUp
put the hilitedLines of field "Field" into tLines
sort tLines descending
repeat for each item tLine in tLines
delete line tLine of field "Field"
end repeat
end mouseUp
Code: Select all
put the hilitedLines of field "FullList" into tLines
sort items of tLines descending
repeat for each item tLine in tLines
delete line tLine of field "FullList"
end repeat
Is there any way to delete that empty line?
Code: Select all
filter fld "myField" without empty