Re: [BLACKBOX] Multiline edit field control in forms

From: Антон Дмитриев <adimetrius{([at]})nowhere.xy>
Date: Wed, 4 Mar 2009 12:02:13 +0300

----boundary-LibPST-iamunique-1944024642_-_-
Content-type: text/plain

If your text view needs to scroll down programmatically (and not manually by
pressing the arrow keys), then you could use TextViews.View.ShowRange

Anton

? ????????? ?? 2 ????? 2009 Douglas G. Danforth ???????(a):
> Re: [BLACKBOX] Multiline edit field control in forms
> ???????????:
> "Douglas G. Danforth" <danforth{([at]})nowhere.xy
> ??????????:
> BLACKBOX{([at]})nowhere.xy
> ????:
> ??????????? 02:56:30
>
> Rainer,
>
> I offer a crude substitute.
> o Select some small document by doing Ctrl-space.
> o Copy that and past it into your form.
> o To see the boundaries of the document surround it
> with a group box.
> o Put the form into mask mode.
>
> The behavior of this form document is that cursor motion
> up and down will scroll the document and you can edit it
> (kind of). The last line does seem to also disappear until
> one does a down arrow and then the window scrolls up and
> you can see the added text.
>
> -Doug Danforth
>
> Rainer Neubauer wrote:
> Hi all,
>
> BB offers edit field controls for string input/output in forms.
> In the properties inspector window there is a check box "multi line" for
> edit field controls. When checked, the edit field shows a srcoll bar on its
> right side and several lines of text may be displayed in the edit field.
>
> I intended to use such a multi line edit field for logging purposes.
> Everything fine so far. But when adding more and more lines of text to the
> field the scroll bar shrinks and the added lines disappear at the bottom of
> the edit field.
>
> The edit field always shows the beginning of the text. I intended to get a
> behaviour like an old ASCII terminal where the text scrolls up when new
> lines are added at the bottom, so the text added last is always visible.
>
> Is there any simple way to get this behaviour with an edit field in a form
> ? My intention is not to open a new window for displaying the text but to
> show the text at a fixed position in a form.
>
> Thanks in advance for any comments and hints :-)
>
> Best regards,
> Rainer
>
> ----
> To unsubscribe, send a message with body "SIGNOFF BLACKBOX" to
> LISTSERV{([at]})nowhere.xy


----
To unsubscribe, send a message with body "SIGNOFF BLACKBOX" to LISTSERV{([at]})nowhere.xy----boundary-LibPST-iamunique-1944024642_-_-
Content-type: application/rtf
Content-transfer-encoding: base64
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KPiAgLS0tLVxwYXINCj4gIFRvIHVuc3Vic2NyaWJlLCBzZW5kIGEgbWVzc2FnZSB3aXRo
IGJvZHkgIlNJR05PRkYgQkxBQ0tCT1giIHRvXHBhcg0KPiBMSVNUU0VSVkBMSVNUUy5PQkVST04u
Q0hccGFyDQpccGFyDQpccGFyDQotLS0tXHBhcg0KVG8gdW5zdWJzY3JpYmUsIHNlbmQgYSBtZXNz
YWdlIHdpdGggYm9keSAiU0lHTk9GRiBCTEFDS0JPWCIgdG8gTElTVFNFUlZATElTVFMuT0JFUk9O
LkNIXHBhcg0KfQ=
----boundary-LibPST-iamunique-1944024642_-_---
Received on Wed Mar 04 2009 - 10:02:13 UTC

This archive was generated by hypermail 2.3.0 : Thu Sep 26 2013 - 06:30:49 UTC