Page 1 of 1 1
Topic Options
#87495 - 2002-08-26 10:12 AM KiXforms: Textbox scroll
Schuliebug Offline
Hey THIS is FUN
*****

Registered: 2002-01-18
Posts: 379
Loc: Netherlands
How can i create a KiXforms textbox with a length longer than displayed, so that when a user enters data it scrolls ? I thought the folllowing code should work, but no way:
code:
	$MailToSubjectLabel     =$MailTo.Label('Subject:',12,$MailToFrameY+11,$MailTo.Width-30,$SCH)
$MailToSubject =$MailTo.TextBox('',35,$MailToFrameY+33,$MailTo.Width-56,$SCH)
$MailToSubject.Text ='Default subject text'
$MailToSubject.Multiline=0
$MailToSubject.MaxLength=100

What i also would like to see with a textbox is a property that defines the textbox scrollable (i cant find it in the manual). This is something different from the first wish, where i ask to the possiblility to scroll on a single line...

[ 26. August 2002, 10:40: Message edited by: Schuliebug ]
_________________________
Kind regards,

Top
#87496 - 2002-08-26 10:23 AM Re: KiXforms: Textbox scroll
Lonkero Administrator Offline
KiX Master Guru
*****

Registered: 2001-06-05
Posts: 22346
Loc: OK
so, if you want scrolls, I get them when change:
$MailToSubject.Multiline=0

to:
$MailToSubject.Multiline=1

cheers...
_________________________
!

download KiXnet

Top
#87497 - 2002-08-26 10:40 AM Re: KiXforms: Textbox scroll
Schuliebug Offline
Hey THIS is FUN
*****

Registered: 2002-01-18
Posts: 379
Loc: Netherlands
Lonkero,

I tried that, doesn't work for the code [Frown] I want to enable users to enter a subject of a message to a maxlength of 100 chars, and on the body of a message i would like to enter to a maxlength of 500 chars..

[ 26. August 2002, 10:45: Message edited by: Schuliebug ]
_________________________
Kind regards,

Top
#87498 - 2002-08-26 10:43 AM Re: KiXforms: Textbox scroll
Lonkero Administrator Offline
KiX Master Guru
*****

Registered: 2001-06-05
Posts: 22346
Loc: OK
what version of forms you are using?

in version 1.x there is editbox for multilined textboxes...
_________________________
!

download KiXnet

Top
#87499 - 2002-08-26 10:47 AM Re: KiXforms: Textbox scroll
Schuliebug Offline
Hey THIS is FUN
*****

Registered: 2002-01-18
Posts: 379
Loc: Netherlands
The latest available: 2.0.2..
_________________________
Kind regards,

Top
#87500 - 2002-08-26 01:59 PM Re: KiXforms: Textbox scroll
Shawn Administrator Offline
Administrator
*****

Registered: 1999-08-13
Posts: 8611
Jan,

Great idea ... I think what we need here is the WORDWRAP property. This is good because I was looking for something to add over the next couple days, before I head off for (another) week of vacation ... will add WORDWRAP tonight and post 2.0.3 asap.

-Shawn

Top
#87501 - 2002-08-26 02:06 PM Re: KiXforms: Textbox scroll
Schuliebug Offline
Hey THIS is FUN
*****

Registered: 2002-01-18
Posts: 379
Loc: Netherlands
Shawn,

Will sent you an image of the problem (after im out of meeting) [Smile]
_________________________
Kind regards,

Top
#87502 - 2002-08-26 03:02 PM Re: KiXforms: Textbox scroll
Shawn Administrator Offline
Administrator
*****

Registered: 1999-08-13
Posts: 8611
I think I know where your heading with this second suggestion Jan. We need to be able to specify that the TextBox will "Track" or "AutoScroll" up and down when the user presses the arrow keys. Kinda like what normally happens in an Editor window.

Actually, this is important thingy and probably should be made a default behavior for the TEXTBOX ... can't imagine why one would NOT want to have AutoScrolling of a MULTILINE textbox ... will investigate tonight.

[ 26. August 2002, 15:12: Message edited by: Shawn ]

Top
#87503 - 2002-08-26 04:08 PM Re: KiXforms: Textbox scroll
Schuliebug Offline
Hey THIS is FUN
*****

Registered: 2002-01-18
Posts: 379
Loc: Netherlands
Lookin' forward for 2.0.3 !! You should have received an example of what i mean by my previous post by now [Smile]
_________________________
Kind regards,

Top
Page 1 of 1 1


Moderator:  Shawn, ShaneEP, Ruud van Velsen, Arend_, Jochen, Radimus, Glenn Barnas, Allen, Mart 
Hop to:
Shout Box

Who's Online
0 registered and 1635 anonymous users online.
Newest Members
Viginette, ManuvdWielNL, Sir_Barrington, batdk82, StuTheCoder
17888 Registered Users

Generated in 0.06 seconds in which 0.025 seconds were spent on a total of 12 queries. Zlib compression enabled.

Search the board with:
superb Board Search
or try with google:
Google
Web kixtart.org