Results 1 to 2 of 2

Thread: DataGrid

  1. #1

    Thread Starter
    New Member
    Join Date
    Dec 2002
    Posts
    1

    DataGrid

    I am developing a real-time stock market trading application that includes several forms. Each form updates its information dynamically whenever stock market data changes (10 seconds in my program).

    The application can have several forms opened at once. My problem is that whenever a form that has a DataGrid is updated, it will receive focus and is brought to the front. So for example, if the user is working on the "Order" form, which does not have a DataGrid, and the "Quotes"form - which does contain a DataGrid - is behind "Order", the "Quotes" will pop up in front on an update and hide part of "Order" which interrupts the user.

    Is there a way to have the data in the Quotes form update but without receiving focus? I have noticed that the forms that contain only labels and textboxes have the ability to update their display without obtaining focus. Can the same be true of a form that has a DataGrid?
    Last edited by mpirritano; Dec 8th, 2002 at 11:15 PM.

  2. #2
    Addicted Member CoMMiE's Avatar
    Join Date
    Jul 2000
    Location
    Malaysia, Kuala Lumpur
    Posts
    179
    Hi
    All you need to do is to rebind the datagrid to the specify datasource in the Quotes form and bring the form forward by using Me.BringToFront()

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width