Results 1 to 40 of 1667

Thread: VBFlexGrid Control (Replacement of the MSFlexGrid control)

Threaded View

  1. #10

    Thread Starter
    PowerPoster
    Join Date
    Jun 2012
    Posts
    2,742

    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
  •  



Click Here to Expand Forum to Full Width