PC Review


Reply
Thread Tools Rate Thread

DATAGRID and MouseWheel - focus keeps leaving the grid

 
 
=?Utf-8?B?RGFycmVsbCBXZXNsZXk=?=
Guest
Posts: n/a
 
      4th Apr 2005
I have one form with 2 panels. One of the panels has several radio buttons so
that you can select one of several tables from a database. There are also 2
push buttons, one to retrive the data and the other to update the data.

On the second panel there is a datagrid. After pressing the one button to
retrieve the data and bind it to the datagrid I attempt to scroll the
datagrid using the mousewheel. The datagrid starts to scroll but suddenly the
focus leaves the grid and goes to another tab stop.

How can I prevent this type of behavior? or what's causng the focus to shift
away from the grid?

 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Preventing focus from leaving DataGridView Larry Microsoft Dot NET Framework Forms 4 27th Dec 2007 06:26 PM
Focus a grid sonu Microsoft C# .NET 0 1st Nov 2006 07:29 AM
Scroll in Datagrid with mousewheel =?Utf-8?B?TWFyY2VsIFNlbmdlcnM=?= Microsoft VB .NET 1 3rd Mar 2005 11:03 AM
Focus not leaving after BeforeUpdate runs davidwv Microsoft Access 1 22nd Jan 2004 02:11 PM
DataGrid setting DataSource setting focus to grid Shravan Microsoft C# .NET 0 10th Nov 2003 06:33 AM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 01:14 PM.