Re: XPCE: text_item maximum allowed length
- From: Jan Wielemaker <jan@xxxxxxxxxxxxxxxxxxx>
- Date: 19 May 2007 19:06:55 GMT
On 2007-05-19, Massimiliano Campagnoli <maxi@xxxxxxxxxxxxxxx> wrote:
Hi,
I need to limit the maximum number of characters allowed to be entered
in a text_item.
How can I impose a maximum lenght on the string entered in a
text_item ?
Not directly. You can subclass it and redefine the event-processing to
achieve this. In general, not XPCE, nor (SWI-)Prolog has limits om the
lengths of text. Typically, test before sending the text to something
that cannot handle it.
--- Jan
.
- References:
- XPCE: text_item maximum allowed length
- From: Massimiliano Campagnoli
- XPCE: text_item maximum allowed length
- Prev by Date: XPCE: text_item maximum allowed length
- Next by Date: Re: Newbie problem
- Previous by thread: XPCE: text_item maximum allowed length
- Index(es):