| |
|
|
funkheld | allô, comment peux on den Text im einem Createedit chez qui Eingabe begrenzen, zb seulement 5 Buchstaben ?
merci.
Gruss
{$cleq}
Déclarer Ende&, Edit&, win&
win& = @Créer("Window", 0, "Parent", 20, 20, 300,200)
Edit& = @Créer("Edit", win&, », 10, 10, 200, 24)
Ende& = Créer("Button", win&, "Ende", 10, 50, 80, 30)
SetStyle Edit&, @GetStyle(Edit&) | ~ES_UPPERCASE
WhileNot @Clicked(Ende&)
WaitInput
Endwhile
Fin
|
|
|
| |
|
|
|
Detlef Jagolski |
{$cleq}
Déclarer Ende&, Edit&, win&
win& = @Créer("Window", 0, "Parent", 20, 20, 300,200)
Edit& = @Créer("Edit", win&, », 10, 10, 200, 24)
SendMessage(Edit&,$0C5,5,0)' EM_LIMITTEXT
Ende& = Créer("Button", win&, "Ende", 10, 50, 80, 30)
SetStyle Edit&, @GetStyle(Edit&) | ~ES_UPPERCASE
WhileNot @Clicked(Ende&)
WaitInput
Endwhile
Fin
|
|
|
| XProfan X4, PRFellow, Profan2Cpp - Version 2.0c-pre5, Windows 11 | 25.05.2012 ▲ |
|
|
|
|
funkheld | Jup, merci. Funktioniert wunderbar.
Gruss |
|
|
| |
|
|