Click here to Skip to main content
11,438,226 members (71,800 online)
Rate this: bad
Please Sign up or sign in to vote.
See more: C#4.0
Hello All Professional
i have a form that it has an UserControl on it (For FilterBar),when I Click On Search Button On it , My DataGridView Bind But Focus Get Out Of Form , A Situation Like that Because Keyboard key Dos not Work On Form,For Example Up And Down Key For Walking On The Grid s Row
What Is Problem ?????
What I Can Do For It ????
Is It User Control Problem ????
Tnx All
Posted 25-Sep-12 22:16pm

1 solution

Rate this: bad
Please Sign up or sign in to vote.

Solution 1


Do you have a correct sequence for your controls's "Tab index" in proparties? because each control have a tab index proparty that you have to set.
daghune at 26-Sep-12 3:34am
Yes I Got It When You Was As A Child,But When I Want To Set Tab It show zero for twice item on form User Control And DatagridView
Anele.Ngqandu at 26-Sep-12 4:05am
I dont understand what you trying to say sir...

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

Advertise | Privacy | Mobile
Web02 | 2.8.150506.1 | Last Updated 26 Sep 2012
Copyright © CodeProject, 1999-2015
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100