Autor |
Beitrag |
Chatfix
Beiträge: 1583
Erhaltene Danke: 10
Win 10, Win 8, Win 7, Win Vista, Win XP
VB.net (VS 2015), MsSQL (T-SQL), HTML, CSS, PHP, MySQL
|
Verfasst: So 30.06.02 02:31
hi, ich möchte das wenn ich auf einen button klick der cursor aller elemente auf crhourglass gesetzt wird.. geht das irgendwie anders, weil sonst müst ich alle kompos aufzählen und den cursor immer einzeln ändern..
_________________ Gehirn: ein Organ, mit dem wir denken, daß wir denken. - Ambrose Bierce
|
|
MrSpock
Beiträge: 262
|
Verfasst: So 30.06.02 10:52
Hallo Chatfix,
die Variable Screen stellt ebenfalls ein Cursor Objekt zur Verfügung. Wenn du Screen.Cursor einen anderen Wert als crDefault zuweist, gilt diese Einstellung für alle Fenster der entsprechenden Anwendung und "überschreibt" damit die Eigenschaft der einzelnen Objekte.
_________________ Live long and prosper
MrSpock \\//
|
|
Chatfix
Beiträge: 1583
Erhaltene Danke: 10
Win 10, Win 8, Win 7, Win Vista, Win XP
VB.net (VS 2015), MsSQL (T-SQL), HTML, CSS, PHP, MySQL
|
Verfasst: So 30.06.02 11:01
ahja danke.. und mit screen.cursor:=crdefault; bekommen dan alle wieder ihren standard?
_________________ Gehirn: ein Organ, mit dem wir denken, daß wir denken. - Ambrose Bierce
|
|
MrSpock
Beiträge: 262
|
Verfasst: So 30.06.02 12:39
Hallo Chatfix,
ja genauso ist es. Es ist deshalb auch immer ratsam, diesen Wert in einem try ... finally Block zu setzen, damit der Cursor im Falle einer exception auch wieder standardmäßig angezeigt wird.
_________________ Live long and prosper
MrSpock \\//
|
|
Chatfix
Beiträge: 1583
Erhaltene Danke: 10
Win 10, Win 8, Win 7, Win Vista, Win XP
VB.net (VS 2015), MsSQL (T-SQL), HTML, CSS, PHP, MySQL
|
Verfasst: So 30.06.02 12:52
joa oki doki thx nochmal.....
PS: Finale ohohohohoh heute gewinnt Deutschland
_________________ Gehirn: ein Organ, mit dem wir denken, daß wir denken. - Ambrose Bierce
|
|
MrSpock
Beiträge: 262
|
Verfasst: So 30.06.02 15:32
0:2 was soll's,
toller Einsatz und wir sind Vizeweltmeister:
Deutschlaaaad, Deutschlaaaaaand, Deutschlaaaaaaand, Deutschlaaaand
Lasst uns feiern.
_________________ Live long and prosper
MrSpock \\//
|
|
Chatfix
Beiträge: 1583
Erhaltene Danke: 10
Win 10, Win 8, Win 7, Win Vista, Win XP
VB.net (VS 2015), MsSQL (T-SQL), HTML, CSS, PHP, MySQL
|
Verfasst: So 30.06.02 15:38
_________________ Gehirn: ein Organ, mit dem wir denken, daß wir denken. - Ambrose Bierce
|
|
miko19
Hält's aus hier
Beiträge: 3
|
Verfasst: Do 04.07.02 01:02
Wo wir beim Thema Cursor sind wie kann ich selbstgemachte cursors
einsetzen?
|
|
Tino
Beiträge: 9839
Erhaltene Danke: 45
Windows 8.1
Delphi XE4
|
Verfasst: Do 04.07.02 08:58
@miko19: Schau mal hier in die FAQ!
|
|
miko19
Hält's aus hier
Beiträge: 3
|
Verfasst: Do 04.07.02 17:02
Das hilft mir leider nicht weiter ich versteh das nicht
|
|
|