Sigma Php Ajax framework, Ajax Components, GUI Builder
May 23, 2012, 10:27:05 PM
Welcome,
Guest
. Please
login
or
register
.
Did you miss your
activation email?
1 Hour
1 Day
1 Week
1 Month
Forever
Login with username, password and session length
News
:
Home
Help
Search
Login
Register
Sigma Php Ajax framework, Ajax Components, GUI Builder
>
Sigma Visual GUI Builder & Library
>
Sigma Visual - Q&A
(Moderators:
steven
,
linb
) >
How to set last line visible in TextEditor
Pages: [
1
]
« previous
next »
Print
Author
Topic: How to set last line visible in TextEditor (Read 972 times)
Bruce_Dickey
Sr. Member
Posts: 67
How to set last line visible in TextEditor
«
on:
July 20, 2011, 02:26:12 PM »
When adding text to the TextEditor, how can I set the last line visible afterwards?
Thanks.
Logged
linb
Administrator
Hero Member
Posts: 435
Re: How to set last line visible in TextEditor
«
Reply #1 on:
July 20, 2011, 06:01:19 PM »
var node = this.ctl_texteditor1.getSubNode('INPUT');
node.scrollTop(node.scrollHeight());
Logged
Bruce_Dickey
Sr. Member
Posts: 67
Re: How to set last line visible in TextEditor
«
Reply #2 on:
July 21, 2011, 07:23:21 AM »
That works. Thank you. The key was getSubNode('INPUT').
Logged
John009
Newbie
Posts: 2
Re: How to set last line visible in TextEditor
«
Reply #3 on:
July 25, 2011, 01:24:13 AM »
The implementation should initially present the TextEditor with minimal decoration; only the caret should be shown at the requested text insertion position. It is then the responsibility of the application to draw any additional decoration like focus highlight, border or scroll bar.
Logged
Cheap Viagra
-
Generic viagra
Pages: [
1
]
Print
« previous
next »
Jump to:
Please select a destination:
-----------------------------
General Category
-----------------------------
=> News & Announcements
-----------------------------
Sigma Visual GUI Builder & Library
-----------------------------
=> Sigma Visual - Knowledge Share
=> Sigma Visual - Q&A
=> Bug Report & Wishlist
-----------------------------
Sigma Grid
-----------------------------
=> Sigma Grid - Q&A
=> Show Case
=> Bug Report & Wishlist
-----------------------------
Other
-----------------------------
=> AJAX & JavaScript
Loading...