Information générale
Catégorie:
Codage, syntaxe et commandes
Programmatically or visually? If visual-Once you add your class to the form designer controls toolbar, you can do this:
1. right click on the grid
2. select edit
3. click on your class on the toolbar
4. click on the column you want to add the cbo to
5. select the default txtbox (automatically added to the column) in the properties sheet.
6. click on the title bar of the form (to activate it)
7. press delete--this should leave you with one control-your cbo-in the column
If programmatically, something like this should work:
* myform.myGrid.myColumn1.init()
this.addObject( 'cbo1', 'myCBOclass' )
HTH
>I have a Grid in which the first column is the combo which displays the names
...snip
>what do i do if want to include this combo in a grid.Any Help or clues are
Précédent
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement