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.
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.
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 ...