Click here to Skip to main content
15,892,643 members

Comments by AmalRaj@Sync (Top 14 by date)

AmalRaj@Sync 9-Jun-16 3:25am View    
question has been updated....
AmalRaj@Sync 9-Jun-16 3:18am View    
lets say modified rowindex from datatable is 3

DataRow dataRow = m_DataTable.Rows[3];
dataRow.AcceptChanges();
AmalRaj@Sync 26-May-16 5:02am View    
in one sample, i just placed my usercontrol and some other controls like button and combo box in form and when i set myUserCOntrol.TabStop = false and when i move through other controls by Tab key, my usercontrol didnt get focused.

But in another sample, i have placed the same user control inside a panel which same set of other controls, but here the usercontrol gets focus even when TabStop is set to false
AmalRaj@Sync 26-May-16 4:48am View    
the usercontrol which i placed in a panel only gets focus even when the TabStop for usercontrol is set to false.

But the same usercontrol which is not placed in a panel(simply placed in form), didnt get focus when i set TabStop to false.


is there any reason why the userCOntrol gets focused only when it is placed inside a panel?
AmalRaj@Sync 26-May-16 4:40am View    
Deleted
the usercontrol which i placed in a panel only gets focus even when the TabStop for usercontrol is set to false.

But the same usercontrol which is not placed in a panel(simply placed in form), didnt get focus when i set TabStop to false.


is there any reason why the userCOntrol gets focused only when it is placed inside a panel?