TIP: Click on subject to list as thread! ANSI
echo: os2prog
to: Hermann Ulrichskoetter
from: Paul West
date: 1996-11-07 18:53:14
subject: Re: max. length of an ENTRYFIELD

In a message to Alle  Hermann Ulrichskoetter wrote:

 HU> Hallo, who can tell me how to make an *ENTRYFIELD* in a dialogbox
 HU> accept more than 32 characters??? Gruesse, Hermi

I use Speed Pascal, but the message is the same.  Send the Entryfield a
¨WM_SETTEXTLIMIT message.  I won't setup an entry field of any kind without
¨setting the text limit to the proper size for the data I will be placing
or ¨expecting from a field.

    WinSendMsg(HwndElement,EM_SETTEXTLIMIT,Limit,0);

--- QuickBBS 2.85 (Beta-3) GoldBase
* Origin: Programmers Information Exchange 1-206-334-9243 (1:343/27)
SEEN-BY: 50/99 270/101 620/243 625/160 711/401 409 410 413 430 808 809 934
SEEN-BY: 711/955 712/407 515 624 628 713/317 800/1
@PATH: 343/500 1 600 396/1 270/101 712/515 711/808 934

SOURCE: echomail via fidonet.ozzmosis.com

Email questions or comments to sysop@ipingthereforeiam.com
All parts of this website painstakingly hand-crafted in the U.S.A.!
IPTIA BBS/MUD/Terminal/Game Server List, © 2025 IPTIA Consulting™.