English
Forum

Text in the Createedit limit...?

 

funkheld
Hello, how can one whom Text in the one Createedit with the input limit, zb only 5 letters ?

Thank you.

greeting
 {$cleq}
Declare Ende&, Edit&, win&
win& = @Create("Window", 0, "Parent", 20, 20, 300,200)
Edit& = @Create("Edit", win&, "", 10, 10, 200, 24)
Ende&    = Create("Button", win&, "Ende", 10, 50, 80, 30)
SetStyle Edit&, @GetStyle(Edit&) | ~ES_UPPERCASE

WhileNot @Clicked(Ende&)

    WaitInput

EndWhile

End
 
05/25/12  
 




Detlef
Jagolski

 {$cleq}
Declare Ende&, Edit&, win&
win& = @Create("Window", 0, "Parent", 20, 20, 300,200)
Edit& = @Create("Edit", win&, "", 10, 10, 200, 24)
SendMessage(Edit&,$0C5,5,0)' EM_LIMITTEXT
Ende&    = Create("Button", win&, "Ende", 10, 50, 80, 30)
SetStyle Edit&, @GetStyle(Edit&) | ~ES_UPPERCASE

WhileNot @Clicked(Ende&)

    WaitInput

EndWhile

End
 
XProfan X4, PRFellow, Profan2Cpp - Version 2.0c-pre5, Windows 11
05/25/12  
 




funkheld
Jup, thanks. functions wonderful.

greeting
 
05/25/12  
 



Answer


Topictitle, max. 100 characters.
 

Systemprofile:

no Systemprofil laid out. [anlegen]

XProfan:

 Posting  Font  Smilies  ▼ 

Please register circa a Posting To verfassen.
 

Topic-Options

5.010 Views

Untitledvor 0 min.
Member 820412704/18/20
rquindt05/06/18
Wilfried05/28/16
Ernst05/26/16
More...

Themeninformationen

this Topic has 2 subscriber:

funkheld (2x)
Detlef Jagolski (1x)


Admins  |  AGB  |  Applications  |  Authors  |  Chat  |  Privacy Policy  |  Download  |  Entrance  |  Help  |  Merchantportal  |  Imprint  |  Mart  |  Interfaces  |  SDK  |  Services  |  Games  |  Search  |  Support

One proposition all XProfan, The there's!


My XProfan
Private Messages
Own Storage Forum
Topics-Remember-List
Own Posts
Own Topics
Clipboard
Log off
 Deutsch English Français Español Italia
Translations

Privacy Policy


we use Cookies only as Session-Cookies because of the technical necessity and with us there no Cookies of Drittanbietern.

If you here on our Website click or navigate, stimmst You ours registration of Information in our Cookies on XProfan.Net To.

further Information To our Cookies and moreover, How You The control above keep, find You in ours nachfolgenden Datenschutzerklärung.


all rightDatenschutzerklärung
i want none Cookie