Problem mir CSpinEdit
-
if(AnzahlderZeilenEdit->ItemIndex>=0) ZeilenVorCrash = StrToInt(AnzahlderZeilenEdit->Text);
-
supi danke
ich hatte mitttlerweile diese lösung - aber deine ist besser
ZeilenVorCrash = (*AnzahlderZeilenEdit->Items)[AnzahlderZeilenEdit->ItemIndex].ToInt();
-
mal wieder müll von borland. ic finde die eigenschaft readonly nicht. da ahben die entwickler weider mal müll gemacht^^
-
void __fastcall TForm1::AnzahlderZeilenEditKeyPress(TObject *Sender, char &Key) { Key=0; }
-
remark schrieb:
void __fastcall TForm1::AnzahlderZeilenEditKeyPress(TObject *Sender, char &Key) { Key=0; }und das wars? ich werde jeden tag schlauer dank euch

-
Einfacher ist es, TComboBox::Style auf csDropDownList zu setzen.
-
und das wars? ich werde jeden tag schlauer dank euch
Nicht nur du.

-
Joe_M. schrieb:
Einfacher ist es, TComboBox::Style auf csDropDownList zu setzen.
falsch. der style war schon so - aber ich kontne bst eintippen und somit sofort zugriffsverletzungen!
remark hatte schon recht. dank ihm kann man nix eintippen
-
Dann hast du bestimmt als Style csDropDown und nicht csDropDownList.
-
jop
hast recht
lol
n00biges verhalten wieder :(^^