in

C1 Community

ComponentOne Community is a free source for developers and help authors to collaborate and communicate.

Dynamically generated C1TrueDBDropdowns for grid's columns

Last post 04-30-2008 8:04 AM by SSCUSTER. 1 replies.
Page 1 of 1 (2 items)
Sort Posts: Previous Next
  • 04-14-2008 5:03 AM

    Dynamically generated C1TrueDBDropdowns for grid's columns

    Hi, Community! Im using C1TrueDBDropdown for comfortable selection values into C1TrueDBGrid. But at design time i dont know exactly how many columns will be with dropdown property. I have thought that I need something about dynamyc array of dropdowns for covering all columns. I used this, but it's not worked propely! If somebody know suggestion of this problem? How can i prevent me from using unpredictable numbers of dropdown controls?
  • 04-30-2008 8:04 AM In reply to

    Re: Dynamically generated C1TrueDBDropdowns for grid's columns

    I use a single C1TrueDBDropdown to work with various cells.  When there is a RowColChange event, I bind the appropriate data table to the C1TrueDBDropdown and link the dropdown to the cell that just got the focus.

     

    Me.dgQuestions.Columns(Me.dgQuestions.Col).DropDown = Me.C1TrueDBDropdown1

Page 1 of 1 (2 items)
Contact ComponentOne: 1.800.858.2739 ©1987-2008 ComponentOne LLC All Rights Reserved.