|
-
May 20th, 2019, 04:45 PM
#10
Re: VBFlexGrid Control (Replacement of the MSFlexGrid control)
Update released to cleanup the combo functionality and make definitive decision about the namings.
The ComboMode/ColComboMode run-time property allows to use combo functionality when editing a cell, it returns/sets.
- FlexComboModeNone -> Normal editing.
- FlexComboModeDropDown -> Allows to modify by drop-down list only.
- FlexComboModeEditable -> Allows to modify by normal editing and drop-down list.
- FlexComboModeButton -> Allows to modify by button only, which is a request to open a custom editor.
The ComboButtonValue run-time property which sets the value of the combo button by code, it returns/sets:
- FlexComboButtonValueUnpressed -> Normal.
- FlexComboButtonValuePressed -> Shows drop-down list or raises ComboButtonClick. (depending on ComboMode)
- FlexComboButtonValueDisabled -> Cannot click, grayed and closes up drop-down list if necessary.
ComboItems/ColComboItems run-time property is the definition of the strings to be used for the drop-down list.
Each item is separated with "|". If ComboMode property is Button then this property is ignored.
ComboList/ComboListCount/ComboListIndex run-time property are helping to interact with the drop-down list by code.
ComboDropDown/ComboCloseUp event, which occurs only when ComboMode is DropDown or Editable.
ComboButtonClick event, which occurs only when ComboMode is Button.
ComboButtonDrawMode run-time property and corresponding ComboButtonOwnerDraw event.
Last edited by Krool; May 22nd, 2019 at 04:05 PM.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|