Autor Beitrag
bayou
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 88


D6 PE
BeitragVerfasst: Mi 17.05.06 23:52 
Hi an alle,

ich habe eine Listbox auf einem Formular bei dem sich die Anzahl der Zeilen ändern kann.
Jetzt würde ich gerne die Formulargröße an die jeweilige Länge der Liste anpassen.
Ich habe schon mit Autosize versucht, funktioniert aber nicht.
Kann mir jemand einen Tip geben?

Im vorraus vielen Dank
bayou
Kroko
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic star
Beiträge: 1284

W98 W2k WXP
Turbo D
BeitragVerfasst: Do 18.05.06 06:19 
ListBox.ItemHeight*ListBox.Count sollte inetwa die Größe aller Einträge angeben, danach die Form anpasssen!

_________________
Die F1-Taste steht nicht unter Naturschutz und darf somit regelmäßig und oft benutzt werden! oder Wer lesen kann, ist klar im Vorteil!
bayou Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 88


D6 PE
BeitragVerfasst: Do 18.05.06 06:49 
es funktioniert

1000 Dank