How to highlight a row quite (in sDBGRID)

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #35334
    n@vid
    Participant

    Hi and special thanks to alphaskin team

    I guess my question is clear

    Its important point on using dbgrid for me , i can do this with a simple method (draw a simple colored rectangle)

    but it will be very ugly and stupid !!!

    i want to do this with the graphical rectangle that Sdbgrid uses this by default to highlight a cell (onClick)

    Thanks again & Best regards :a3:

    #48853
    Hamilton
    Participant

    Hi,

    The PaintItem demo shows how to skin a region, you'll just need to hook the drawing into the right event

    http://www.alphaskins.com/ademos.php

    Also, is your DB grid being skinned? If it is not then you should enable 3rd party controls through the skin manager and make sure TDBGrid (case sensitive) is in the list of supported controls.

    Regards,

    Hamilton

    #48856
    CheshireCat
    Participant

    Hello

    You can set the option “dgSelectRow” to “True” for highlight of a whole line. Keep in mind that the option “dgEditing” will be switched to “False” automatically.

    Best regards

    #48857
    n@vid
    Participant

    Hi

    Thanks Dear Hamilton for spending your time .

    Quote:
    You can set the option “dgSelectRow” to “True” for highlight of a whole line. Keep in mind that the option “dgEditing” will be switched to “False” automatically.

    yes my friend

    this option exists by default …

    i find out this option after have a look to acDBGrid unit

    thanks at all .

Viewing 4 posts - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.