Unable to set focus to combobox after adding new record


Author
Message
Marcia G Akins
Marcia G Akins
StrataFrame User (496 reputation)StrataFrame User (496 reputation)StrataFrame User (496 reputation)StrataFrame User (496 reputation)StrataFrame User (496 reputation)StrataFrame User (496 reputation)StrataFrame User (496 reputation)StrataFrame User (496 reputation)StrataFrame User (496 reputation)
Group: StrataFrame Users
Posts: 322, Visits: 529
Hi all.

Gere is my code:

private void boSchedule_dtl_AfterAddNew(EventArgs e)

{

boSchedule_dtl.schedhdr_id = schedhdr_id;

ActiveControl = cboteam1_id;

cboteam1_id.Select();

}

but when I step though it, the debugge tells me that the activeControl is toolstripcontainer1!

What is going on here? I am just trying to make data entry easier for my users.

TIA.

Marcia


GO

Merge Selected

Merge into selected topic...



Merge into merge target...



Merge into a specific topic ID...





Similar Topics

Reading This Topic

Login

Explore
Messages
Mentions
Search