I need a transparent grid – any ideas?

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #44254
    Support
    Keymaster

    Hello

    You must use a custom drawing of cells, I think.

    There is a small demo which may be useful…

    #44262
    IPSteven
    Participant

    This is what I was looking for!

    The code sample helps tremendously. I can make this work except for one issue – the code sample does not paint in blank grid area.

    For example if I only have 4 cells of data and the grid is larger than the 4 cells – the blank area in the grid will be white.

    Note: That the SkinManager and SkinProvider components on the form are probably from an earlier version. You cannot close the form by clicking on the border icon. Replacing the SkinManager and SkinProvider components with ones from the current build fixed the problem.

    Thanks for your help.

    …Steven

    #44265
    IPSteven
    Participant

    I've attached a modified version of the demo to show the problem.

    [attachment=4429:imageofparent_modified.zip]

    If the table size and cells are not exactly matched you will see a white edge either on the left or bottom edges of the grid (or both).

    In this demo

    I've added code to resize the grid as the form is resized

    the grid has been disabled and the selected cell is painted the same as non-selected cells so that it appears to be several rows of labels.

    …Steven

    #44336
    Support
    Keymaster

    Thank you for demo. I see and understand a problem, but this example was created for showing how to receive a parent image only.

    Standard DrawGrid allows a painting in cells only…

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