Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

The ComboData allows you to get/set the combo drop down contents without having to use the Combo property. This allows for a more dynamic approach to combo box usage without sacrificing performance.

...

If you need to switch to another format, just use the Combo property to reset the combo box drop down settings and the data all at once.'

Example

Code Block
// NOTE: using ; and not . 
CtrlId = @Window:";EDITLINE" 

// Get the combo box data for my edit line 
Data = Get_Property(@Window:".OLE_SUBCLASS", "OLE.ComboData[":CtrlId:"]") 

// ... Make Changes to Data ... 

// Set new combo box data for 
Set_Property(@Window:".OLE_SUBCLASS", "OLE.ComboData[":CtrlId:"]", Data)

See Also

ComboComboSelPosComboRowDataComboDropDown