December 08th 2003 Multiline TextCtrl Limits (2.40 & 2.42 Windows)

Multiline TextCtrl Limits (2.40 & 2.42 Windows)

From: Multiline TextCtrl Limits (2.40 & 2.42 Windows)


tespafrewreb@prufrochabocrowicaso.com ("Bryan Man") wrote in message news:...
> I am looking for recommendations on the best way(s) to handle the 30,000
> character limit in TextCtrl's. I would like to develop at least two
> solutions: auto extended the limit and notification of nearing limit. Docs
> say that EVT_TEXT_MAXLEN and SetMaxLength are only for single line
> textctrls.

Use the wxTE_RICH2 style -- this is of unlimited size. The style is
ignored on other platforms.

All ...
From: Multiline TextCtrl Limits (2.40 & 2.42 Windows)

Thanks. That works.

Out of interest and future need, are there any solutions for other
platforms?

Thanks,

Bryan


---------------------------------------------------------------------
Please read likethobotra@ ...
From: Multiline TextCtrl Limits (2.40 & 2.42 Windows)

Bryan,

Other platforms do not have the limitations that Windows do, so it is a
non-issue.

Kevin

----- Original Message -----
From: "Bryan Man"
Sent: Monday, December 08, 2003 11:03 AM
Subject: Re: Multiline TextCtrl Limits ...
From: Multiline TextCtrl Limits (2.40 & 2.42 Windows)


As far as I know, other platforms don't have that problem with a
limited-size textbox -- it's purely a Windows issue. On Mac or Linux,
as far as I know the text boxes are as big as you'd like. So just carry
on, but include the Richtext option to cover your for Windows.