Search:

Type: Posts; User: Krool

Page 1 of 13 1 2 3 4

Search: Search took 0.09 seconds.

  1. Re: VBFlexGrid Control (Replacement of the MSFlexGrid control)

    Update released.

    FixGridLineOffsets property included. It defaults to False to match behavior of the MS(H)FlexGrid control.

    My own "todo" list is almost finished now so I may release OCX...
  2. Re: VBFlexGrid Control (Replacement of the MSFlexGrid control)

    I don't see a compatibility break, just a visual difference.

    I just released an update so that all places take the offsets now from a central routine to make this more transparent.

    Private Sub...
  3. Re: VBFlexGrid Control (Replacement of the MSFlexGrid control)

    Update released.

    Bugfix in the internal DrawGrid routine. Merged rows/cols were just discarded partially in the freezing pane.
    This is now fixed.
  4. Replies
    3,287
    Views
    1,094,386

    Re: CommonControls (Replacement of the MS common controls)

    Thanks. I used GetFileSize API which requires a hFile handle. Which is problematic for ERROR_SHARING_VIOLATION.
    So, I will change soon it to below code..


    Private Type WIN32_FILE_ATTRIBUTE_DATA...
  5. Re: VBFlexGrid Control (Replacement of the MSFlexGrid control)

    Nevermind.
  6. Re: VBFlexGrid Control (Replacement of the MSFlexGrid control)

    EDIT:

    The FocusRectWidth property has now a default value of -1, which exposes SPI_GETFOCUSBORDERWIDTH in that case. (affects only FlexFocusRectFlat)
  7. Re: VBFlexGrid Control (Replacement of the MSFlexGrid control)

    Update released.



    Thank you. Done. (GridColorFrozen/GridLinesFrozen/GridLineWidthFrozen)
  8. Re: Question about GetSystemMetrics and VIRTUALSCREEN

    I want a RECT structure.
    For the Right member I use currently below value, which is correct also for negative values. Or what you mean ?


    GetSystemMetrics(SM_XVIRTUALSCREEN) +...
  9. Re: VBFlexGrid Control (Replacement of the MSFlexGrid control)

    Update released.

    Included the SheetBorder property.
    The default value is True which draws a border around the sheet. (Like MSFlexGrid)
    When set to False it draws no such border. (Like...
  10. Re: Question about GetSystemMetrics and VIRTUALSCREEN

    Yes. Thanks all so far.

    However, as you all I get the "true" resolution sizes (physical) and this is what ClipCursor expects. (In my tests at least?)

    EDIT:
    And GetClipCursor also returns...
  11. Question about GetSystemMetrics and VIRTUALSCREEN

    Hello,

    I need the virtual screen (physical, not logical) to make an adjustment so to pass it on ClipCursor. (screen rectangle)

    In below sample there are two approaches.
    1. Using...
  12. Re: VBFlexGrid Control (Replacement of the MSFlexGrid control)

    Open question:

    When GridLines are None or Raised the focus rect is in either case 1 pixel off. That's the same behavior as in MS(H)FlexGrid.
    Shall this be fixed? (Not only focus rect, also...
  13. Re: VBFlexGrid Control (Replacement of the MSFlexGrid control)

    Update released.

    When there are no frozen rows/cols (yet) and there are also no fixed rows/cols the user was not able to "UserFreeze" (AllowUserFreezing = True)

    This has been fixed now.
  14. Re: VBFlexGrid Control (Replacement of the MSFlexGrid control)

    Included enum FlexFocusRectFlat for the FocusRect property.
    It draws a solid rectangle (BackColorSel) instead of using the DrawFocusRect API.

    183055

    The border width is determined by the...
  15. Replies
    3,287
    Views
    1,094,386

    Re: CommonControls (Replacement of the MS common controls)

    I don't know what you mean. The SF_RTF is ANSI always, also in WordPad.
    The SF_UNICODE flag cannot be combined with SF_RTF.



    The Printer Dialog can return a hDC so you can pass it to API's....
  16. Re: VBFlexGrid Control (Replacement of the MSFlexGrid control)

    Update released.

    Included the AllowMultiSelection property. This property can only be set to True for SelectionMode 1 - ByRow or 3 - FreeByRow.

    Included the RowSelected/SelectedRow/SelectedRows...
  17. Re: VBFlexGrid Control (Replacement of the MSFlexGrid control)

    removed
  18. Re: VBFlexGrid Control (Replacement of the MSFlexGrid control)

    Yes, that's planned. (Multi-selection on rows)
    The idea is to have a selected state bit for a row. (RWIS_SELECTED)
    This comes along then with a RowSelected r/w property and read only...
  19. Re: [RESOLVED] Design Feedback for DragDrop Listbox Items and OleDrag Drop Between Li

    It's also a 32 bit item index and not 16 bit.
  20. Re: [RESOLVED] Design Feedback for DragDrop Listbox Items and OleDrag Drop Between Li

    To note is that the VBCCR ListBoxW has an handy "InsertMark". (Display before or after, use .HitTestInsertMark)
    In the ComCtlsDemo you can reorder items on the ListBoxW. It can be also used to drag...
  21. Re: [RESOLVED] Design Feedback for DragDrop Listbox Items and OleDrag Drop Between Li

    That's where the DragDetect API helps.
  22. Re: VBFlexGrid Control (Replacement of the MSFlexGrid control)

    Included the AllowScrollLock property.

    When the scroll lock key is toggled on it allows the user to use the arrow keys to scroll.
    The new property defaults to False to not break compatibility or...
  23. Re: VBFlexGrid Control (Replacement of the MSFlexGrid control)

    Dumb bug fixed.

    SB_PAGE* scrolling now working propertly! (regression since 08-Sep-2021)

    This affects mouse scrolling on the scrollbar only. (not page up/down keys)
  24. Re: VBFlexGrid Control (Replacement of the MSFlexGrid control)

    Update released.

    The escape key now cancels any ongoing divider drag operation.

    This change will also be applied to the (yet already outdated) VBFLXGRD14.OCX.
  25. Re: VBFlexGrid Control (Replacement of the MSFlexGrid control)

    Update released.

    AllowUserFreezing property now included.

    Also the new AfterUserFreeze event fires after a user changed the number of frozen rows or columns.
    A BeforeUserFreeze event is not...
  26. Re: VBFlexGrid Control (Replacement of the MSFlexGrid control)

    Yes, use the BeforeEdit event. Check Row/Col and set Cancel to True to avoid that the edit will be initiated at all.
  27. Re: VBFlexGrid Control (Replacement of the MSFlexGrid control)

    Easy to make. Use .ComboCue and .CellComboCue at the same time. See code below.



    Private Sub VBFlexGrid1_RowColChange()
    Static LastRow As Long, LastCol As Long...
  28. Re: VBFlexGrid Control (Replacement of the MSFlexGrid control)

    Experimental feature 'AllowUserFreezing'.

    Please test and report any behavior mismatch or suggestions.

    After feedback it will be integrated into the current version.

    Thanks
  29. Replies
    3,287
    Views
    1,094,386

    Re: CommonControls (Replacement of the MS common controls)

    Exotic bugfix for ListView control.

    It affects the FilterBar (edit control) not receiving focus on WM_LBUTTONDOWN when the previous focused control is a VB.CommandButton AND it is on a MDI child...
  30. Re: VBFlexGrid Control (Replacement of the MSFlexGrid control)

    Update again for combo cue.

    Added enum FlexComboCueDisabledDropDown and FlexComboCueDisabledButton.

    This is just to reflect the counterpart for FlexComboButtonValueDisabled. (Edit portion...
  31. Re: VBFlexGrid Control (Replacement of the MSFlexGrid control)

    Yes, the ComboCue is dynamic. Like for focused/hot-track.
    The new CellComboCue can be used to place fixed spots or even an entire column (set FillStyle to repeat for effectiveness) to a combo cue.
  32. Re: VBFlexGrid Control (Replacement of the MSFlexGrid control)

    Update released. Included the ComboCueRow/ComboCueCol property which lets you determine where to display the combo cue.

    It's possible to reset the ComboCueRow/ComboCueCol to -1 so that it is...
  33. Replies
    3,287
    Views
    1,094,386

    Re: CommonControls (Replacement of the MS common controls)

    The GUIDS have NOT changed.
  34. Replies
    3,287
    Views
    1,094,386

    Re: CommonControls (Replacement of the MS common controls)

    My stomage says the VB.PropertyBag is corrupt at the registry of that 1 user. :)
  35. Re: VBFlexGrid Control (Replacement of the MSFlexGrid control)

    Make instead of Call MouseClick the following.

    flx1.ComboButtonValue = FlexComboButtonValuePressed
  36. Re: VBFlexGrid Control (Replacement of the MSFlexGrid control)

    softv,
    With hot-tracking I mean to hotlight the button.

    What you mean is to display the ComboCue on the MouseRow/Col instead of the current focused Row/Col, right?

    How did you make it? Change...
  37. Replies
    3,287
    Views
    1,094,386

    Re: Win10: runtime error -2147221164 (80040154) class not registered

    Yes. Typelib change from 1.0 to 1.1. (due to RichTextBox)
    I think if minor version changes it's compatible.
  38. Re: VBFlexGrid Control (Replacement of the MSFlexGrid control)

    Update released.

    Thanks to inspiration by softv I introduced now the ComboCue property.

    It needs to be set at run-time to either 0 - None, 1 - DropDown or 2 - Button.

    The demo project was...
  39. Replies
    3,287
    Views
    1,094,386

    Re: CommonControls (Replacement of the MS common controls)

    There is no tab control item state available to visually disable a tab item.
    However, you may cancel out on TabBeforeClick event.

    For Visible. Hmm, then just don't add a tab item.
    Again, also no...
  40. Re: VBFlexGrid Control (Replacement of the MSFlexGrid control)

    That's discuss-able what is "correct".
    However, the behavior is similar to the .ColIsVisible property.
    Check this out in MS(H)FlexGrid what it prints on a column that is "hidden" (ColWidth = 0) but...
Results 1 to 40 of 500
Page 1 of 13 1 2 3 4



Click Here to Expand Forum to Full Width