A while ago on the list, someone (possibly Geoff) suggested a brilliant solution to blank lines:

filter field "whatever" with "*?"

I have a permanent problem with adding lines to a field. Do I need to add a linefeed before the new line? If I add a linefeed after each line (as I used to do in HyperCard) then list fields have an empty selectable line at at the end. What if the field is empty? and so on...

Now I just add linefeeds whenever they might be needed and finish by doing the filter command. It is very ast and strips out all empty lines.

Sarah


On Wednesday, October 2, 2002, at 05:21 am, Sannyasin Sivakatirswami wrote:

Is there a simple way to delete lines in a list, such that a blank line does not remain afterwards and not throw the scroll of the field back to zero?

put empty into line 11 of fld "inputList" ## leaves a blank empty line

put the clicktext & cr after fld "outputList"
delete the clickline ## leaves a blank line

Context: User is working on a mailing list... either deleting entries or moving entries to another field.. .in both cases we want the line that is clicked on to disappear and not leave a blank line in its place. If one runs a "replace (cr & cr) with cr in fld "inputList" the scroll is set to zero

put the scroll of fld "inputList" into tPosition
replace (cr & cr) with cr in fld "inputList
set the scroll of fld "inputList" to tPosition

does work... but I was wondering if there is a way which would leave the scroll of the field untouched in the first place.

Thanks
Sivakatirswami

_______________________________________________
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution


_______________________________________________
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution


Reply via email to