Autor Beitrag
DeCodeGuru
ontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic starofftopic star
Beiträge: 1333
Erhaltene Danke: 1

Arch Linux
Eclipse
BeitragVerfasst: Mo 22.07.02 20:17 
Hi Leute,

wie kann ich über SendMessage Eigentschaften einer z.B. TEdit-Komponente ändern? Also, was weiss ich. Zum Beispiel die Eigentschaft alClient in alBottom oder sowas ändern. Mir geht es nur ums Prinzip - wollte halt wissen, obs geht.

_________________
Viele Grüße
Jakob
DeCodeGuru Threadstarter
ontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic starofftopic star
Beiträge: 1333
Erhaltene Danke: 1

Arch Linux
Eclipse
BeitragVerfasst: Mo 22.07.02 22:56 
:oops: Ich habe es selber hinbekommen, hätte nie gedacht, dass es so einfach ist. Sorry, dass ich so voreilig gepostet habe!!! :oops:

_________________
Viele Grüße
Jakob
Cashels
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 167



BeitragVerfasst: Di 23.07.02 11:26 
Hi DeCodeGuru,

na dann post doch mal deine Lösung bitte. :idea: Würd mich auch interessieren!

Danke,
Tom
DeCodeGuru Threadstarter
ontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic starofftopic star
Beiträge: 1333
Erhaltene Danke: 1

Arch Linux
Eclipse
BeitragVerfasst: Di 23.07.02 12:33 
Hi Cashels,

ich habe das gebraucht, um die Eigentschaft Passwordchar eines Edits zu ändern. Mit folgendem Code habe ich es geschafft.

ausblenden Quelltext
1:
SendMessage(Handle,EM_SETPASSWORDCHAR,i,0);					


Mit i übergibt man das neue Zeichen, dass als Passwordchar eingesetzt werden soll.

0 = #0

Wenn du andere Eigentschaften ändern willst, guck in der Hilfe unter EM_...

_________________
Viele Grüße
Jakob
Cashels
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 167



BeitragVerfasst: Di 23.07.02 13:33 
Alles klar... Vielen Dank.
Tom