#1
  1. No Profile Picture
    Registered User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Jul 2004
    Posts
    3
    Rep Power
    0

    Question how to update wxGrid


    Does anyone know how to update wxGrid with new data(which come every 30 sec). wxGrid is ofcourse in wxFrame and I don't want that every 30 sec new Frame pop-up. I want that only cells( actually their colour) change depending on received data.

    btw. this is very urgent and importannt for me so please help if you have any idea how to do this.
    Thanks
  2. #2
  3. No Profile Picture
    Registered User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Jun 2004
    Posts
    28
    Rep Power
    0
    First of all, to get the data from the database every 30 seconds, using sleep or similar, then updating would likely work.

    To update the background color, there appears to be a useful function:
    SetCellBackgroundColour(X, Y, COLOR)

IMN logo majestic logo threadwatch logo seochat tools logo