Autor Beitrag
Torti
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 17

WinXP
D7 Prof
BeitragVerfasst: Di 05.04.05 13:16 
Hallo !

Gibt es eine Möglichkeit, eine Combobox per Code aufpoppen zu lassen ? :roll:

Gruß
Torti
Patriol
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 52


D3, D5, D7
BeitragVerfasst: Di 05.04.05 13:18 
Was meinste denn genau mit aufpoppen?

ComboBox.visible := true;
wdbee
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic star
Beiträge: 628
Erhaltene Danke: 1



BeitragVerfasst: Di 05.04.05 13:26 
Bei einer TDBLookupComboBox geht das mit DropDown (auf) bzw. CloseUp (zu).
Patriol
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 52


D3, D5, D7
BeitragVerfasst: Di 05.04.05 13:30 
ups sorry, ich glaub ich hab gerad die combobox mit was anderem verwechselt *pfeif*
Torti Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 17

WinXP
D7 Prof
BeitragVerfasst: Mi 06.04.05 08:33 
user profile iconwdbee hat folgendes geschrieben:
Bei einer TDBLookupComboBox geht das mit DropDown (auf) bzw. CloseUp (zu).

Eigentlich arbeite ich mit der normalen TCombobox, geht das da auch ?
Hab hier leider gerade kein Delphi um zu testen..

user profile iconPatriol hat folgendes geschrieben:
ups sorry, ich glaub ich hab gerad die combobox mit was anderem verwechselt *pfeif*

Es sei dir verziehen :lol:


Um das ganze vielleicht etwas auszuweiten .. es geht um folgendes :
Ich will über einen Button eine Combobox füllen. Damit der Nutzer davon etwas mitbekommt wäre es das einfach beste, wenn die Box aufpoppt.
Patriol
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 52


D3, D5, D7
BeitragVerfasst: Mi 06.04.05 15:21 
hab jetzt da ich mal wieder delphi vor mir hatte nochmal geguckt.
du kannst die combobox wie folgt per button-click öffnen:

Im Buttonclickevent (nachdem du die Combobox gefüllt hast):

ausblenden Quelltext
1:
Combobox.DroppedDown := true;					



Zitat:
Es sei dir verziehen :lol:


Ich danke dir :wink:
Torti Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 17

WinXP
D7 Prof
BeitragVerfasst: Do 07.04.05 07:23 
user profile iconPatriol hat folgendes geschrieben:
hab jetzt da ich mal wieder delphi vor mir hatte nochmal geguckt.
du kannst die combobox wie folgt per button-click öffnen:

Im Buttonclickevent (nachdem du die Combobox gefüllt hast):

ausblenden Quelltext
1:
Combobox.DroppedDown := true;					



Zitat:
Es sei dir verziehen :lol:


Ich danke dir :wink:


Und ich danke dir für deine Mühe :P
Probiere ich die Tage mal aus.