Skip to content
Snippets Groups Projects
Commit 9215b0b6 authored by rswindell's avatar rswindell
Browse files

Added Edit box support.

parent 027d094a
No related branches found
No related tags found
No related merge requests found
......@@ -49,7 +49,10 @@ __fastcall TCodeInputForm::TCodeInputForm(TComponent* AOwner)
//---------------------------------------------------------------------
void __fastcall TCodeInputForm::FormShow(TObject *Sender)
{
ActiveControl=ComboBox;
if(Edit->Visible)
ActiveControl=Edit;
else
ActiveControl=ComboBox;
}
//---------------------------------------------------------------------------
......@@ -56,6 +56,7 @@ __published:
TBevel *Bevel1;
TLabel *Label;
TComboBox *ComboBox;
TEdit *Edit;
void __fastcall FormShow(TObject *Sender);
private:
public:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment