IliTableComboBox
The IliTableComboBox Hierarchy and Example Gadget
The IliTableComboBox defines a combo box gadget that opens a pull-down menu when the user clicks on the combo button. The pull-down menu displays a column of the foreign table of the field.
IliTableComboBox* combo;
combo = new IliTableComboBox(display, IlvRect(20, 30, 150, 21));
panel->addObject(combo);
 
// Connect the combo to EMP(DEPTNO).
combo->f_setDataSourceName(“EMP”);
combo->f_setDataSourceColumnName(“DEPTNO”);
 
// Specify the mapping as DEPT(ID -> NAME).
combo->f_setForeignDataSourceName(“DEPT”);
combo->f_setForeignValueColumnName(“ID”);
combo->f_setForeignDisplayColumnName(“NAME”);
Published date: 05/24/2022
Last modified date: 02/24/2022