Autor Beitrag
Dragon297393
Hält's aus hier
Beiträge: 2



BeitragVerfasst: Mo 07.06.10 13:47 
Wäre es möglich eine Option zu änderen damit man nur Nummern also Ziffern in ein Edit-feld eingeben kann bzw. darf?


Moderiert von user profile iconNarses: Topic aus VisualCLX (Component Library for Cross Platform) verschoben am Mo 07.06.2010 um 20:30
Gausi
ontopic starontopic starontopic starontopic starontopic starontopic starofftopic starofftopic star
Beiträge: 8554
Erhaltene Danke: 481

Windows 7, Windows 10
D7 PE, Delphi XE3 Prof, Delphi 10.3 CE
BeitragVerfasst: Mo 07.06.10 13:52 
Hallo,

so eine ganz ähnliche Frage hatten wir vor ein paar Tagen schon einmal ;-) : www.delphi-forum.de/viewtopic.php?t=99879

_________________
We are, we were and will not be.
ThunderDragon
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 26

Windows 7 Professional 32Bit
Delphi 2009 Enterprise
BeitragVerfasst: Mo 07.06.10 14:29 
ausblenden Delphi-Quelltext
1:
Edit1.NumbersOnly := true					
Xentar
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starofftopic star
Beiträge: 2077
Erhaltene Danke: 2

Win XP
Delphi 5 Ent., Delphi 2007 Prof
BeitragVerfasst: Mo 07.06.10 15:34 
user profile iconThunderDragon hat folgendes geschrieben Zum zitierten Posting springen:
ausblenden Delphi-Quelltext
1:
Edit1.NumbersOnly := true					

Gibts bei mir (D2007) noch nicht

_________________
PROGRAMMER: A device for converting coffee into software.
ffgorcky
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 573

WIN XP/2000 & 7Prof (Familie:Win95,Win98)

BeitragVerfasst: Mo 07.06.10 15:42 
Also dieses Thema gibt es hier scheinbar auch öfter - z.B. im Thread Edit - Nur Ziffern/Zahlen, wo ja unten vorgeschlagen wird, dass man doch auch einfach ein Spinedit nehmen könnte.
Sonst ginge es ja auch, indem Du immer prüfst, ob denn in dem Edit nur Zahlen stehen, wie z.B. in diesem Thread/Beitrag.
Tryer
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 226
Erhaltene Danke: 7



BeitragVerfasst: Mo 07.06.10 16:47 
Das Prüfen des Inhalts ist auf jeden Fall die bessere Lösung, dann funktioniert auch Strg-V.
ThunderDragon
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 26

Windows 7 Professional 32Bit
Delphi 2009 Enterprise
BeitragVerfasst: Mi 09.06.10 12:19 
ausblenden Delphi-Quelltext
1:
SetWindowLong(Edit1.Handle, GWL_STYLE, GetWindowLong(Edit1.Handle, GWL_STYLE) or ES_NUMBER)					


Das könnte klappen unter D2007