Results 1 to 2 of 2

Thread: DBgrid/combo box

  1. #1

    Thread Starter
    New Member
    Join Date
    Jul 1999
    Posts
    2

    Post

    I created a database using access. The fields have combo boxes and I designed a dbgrid but it did not pick up the combo boxes. Can someone tell me how to add the combobox feature in dbgrid.

    Thanks in advance

    Brandon

  2. #2
    Hyperactive Member
    Join Date
    May 1999
    Location
    Reynosa, Mexico
    Posts
    274

    Post

    You can´t really insert a combo box into the DBGrid but, maybe you can simulate this efect. If you search for the first cell visible (mybe the 'CurrentCellVisible' property helps you) and calculate the position of the cell you're editing, you can locate in that position and over the DBGrid, your ComboBox control.

    Using a FlexiGrid control, this trick is easier. Because this control has a very usefull properties for current Cell:

    .CellTop
    .CellLeft
    .CellHeight
    .CellWidth

    I hope this helps you or at least gives you an idea.

    Good Look!

    Ulises



    [This message has been edited by Tonatiuh (edited 08-30-1999).]

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