Results 1 to 2 of 2

Thread: Drop down grid

  1. #1

    Thread Starter
    PowerPoster i00's Avatar
    Join Date
    Mar 2002
    Location
    1/2 way accross the galaxy.. and then some
    Posts
    2,388

    Lightbulb Drop down grid

    Just thought I'd give someone back to the community - here's a control that I whipped up ... prob not the best standards wise - only started .net at the start of the year

    I think this is a fairly close implementation of the one to create a table in certain versions of word.

    Properties:
    MaxGridSize - Gets/Sets the number of cells to show when the combo is dropped down
    SelectedCell - Gets/Sets the cell that has been selected
    ShadowOffset - Gets/Sets the depth of the shadow that appears under the dropdown
    CellSize - Gets/Sets the size of each cell


    Feel free to leave your comments and suggestions
    Kris
    Attached Images Attached Images  
    Attached Files Attached Files

  2. #2

    Thread Starter
    PowerPoster i00's Avatar
    Join Date
    Mar 2002
    Location
    1/2 way accross the galaxy.. and then some
    Posts
    2,388

    Re: Drop down grid

    BTW the only borrowed code was from the PerPixelAlphaForm class that was originally written c# - you can view the origional at http://www.codeproject.com/KB/GDI-pl...pha_sharp.aspx
    This was used for the shadow of the drop down

    Kris

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