| To: | REALbasic Network Users Group <realbasic-nug at lists dot realsoftware dot com> |
|---|---|
| Subject: | Editfield.scrollposition -- how to keep selection visible? |
| From: | Erich Rast <Erich dot Rast at t-online dot de> |
| Date: | Thu, 11 Jul 2002 20:53:18 +0200 |
Hi,I need set the selection of a multiline editfield in code, but the current selection always has to remain visible. So the editfield has to scroll to it when it moves upwards. Does anyone know a decent way to compute the vertical scrollposition such that the selection is in the middle or the bottom of an editfield? Is there a way to compute the first line and the last line that is fully visible in the editfield? Thanks and happy computing, Erich |
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | Re: Advanced Controls Interaction, Seth Willits |
|---|---|
| Next by Date: | Re: Dangerous deallocation/circular reference..., Brady Duga |
| Previous by Thread: | Dangerous deallocation/circular reference..., Brady Duga |
| Next by Thread: | Re: Editfield.scrollposition -- how to keep selection visible?, Jon Johnson |
| Indexes: | [Date] [Thread] [Top] [All Lists] |