Autor Beitrag
Kri
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic star
Beiträge: 118



BeitragVerfasst: Fr 28.03.08 18:40 
Hallo zusammen,

bei der Erstellung eines Programms habe ich folgendes Problem:

Die Form hat 4 ComboBoxes und 2 Buttons; Bei Tab-Drücken soll nur zwischen den ComboBoxes hin und her gesprungen werden. Die Buttons sollen auser Acht gelassen werden.

Das 2. Problem ist, dass ich die ComboBox1.Height nicht ändern kann; Weder im OI noch als Befehl..

Viele liebe Grüße
Kri

Moderiert von user profile iconNarses: Titel angepasst.
nagel
ontopic starontopic starontopic starontopic starontopic starontopic starofftopic starofftopic star
Beiträge: 708

Win7, Ubuntu 10.10

BeitragVerfasst: Fr 28.03.08 18:48 
Setz einfach die Eigenschaft TabStop auf False.
Kri Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic star
Beiträge: 118



BeitragVerfasst: Fr 28.03.08 19:03 
Hehe stimmt, garnicht daran gedacht..

Hat jemand eine Idee warum ich die Height nicht ändern kann?

Grüße
Kri
Silas
ontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic star
Beiträge: 478

Windows XP Home
Delphi 2005, RAD Studio 2007, MASM32, FASM, SharpDevelop 3.0
BeitragVerfasst: Fr 28.03.08 20:42 
Das geht bei einzeiligen Windows-Eingabekomponenten (also auch TEdit und so weit ich weiß TSpinEdit) grundsätzlich nicht.

_________________
Religionskriege sind nur Streitigkeiten darüber, wer den cooleren imaginären Freund hat ;-)
Kri Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic star
Beiträge: 118



BeitragVerfasst: Sa 29.03.08 01:17 
Hi,

das komische ist, das ComboBox1 ne Height von 21 hat, der Rest 23.. Und ich kann beides nicht ändern..

Grüße
Kri
MartinBush
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 46



BeitragVerfasst: Fr 04.07.08 17:52 
Eine andere Höhe bekommst du über die Veränderung der Schriftgröße hin.

Mfg
delfiphan
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic star
Beiträge: 2684
Erhaltene Danke: 32



BeitragVerfasst: Sa 05.07.08 13:43 
Bei gewissen Third-Party Komponenten kannst du eine gewisse Grösse über Constraints erzwingen.
Yogu
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic star
Beiträge: 2598
Erhaltene Danke: 156

Ubuntu 13.04, Win 7
C# (VS 2013)
BeitragVerfasst: Sa 05.07.08 14:32 
Schonmal die ausprobiert, Eigenschaft AutoSize auszuschalten? ;)

Edit: Sorry, ich merk gerade, dass es das nur bei Edits gibt.

user profile iconSilas hat folgendes geschrieben:
Das geht bei einzeiligen Windows-Eingabekomponenten (also auch TEdit und so weit ich weiß TSpinEdit) grundsätzlich nicht.

Dito.