Search:

Type: Posts; User: Krool

Page 1 of 13 1 2 3 4

Search: Search took 0.05 seconds.

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

    I tried to reproduce and TinyInt works. Which provider do you use? I tested with "sqloledb".
  2. Re: VBFlexGrid Control (Replacement of the MSFlexGrid control)

    On vertical scroll the col is -1.
    So just perform a horiz. Scroll. See demo.
  3. Re: VBFlexGrid Control (Replacement of the MSFlexGrid control)

    With the object you need to explain what exact datatype the problematic field has so to check for it.
    Of course it should be improved in that regard.

    With your dbOpenForwardOnly DAO is...
  4. Re: VBFlexGrid Control (Replacement of the MSFlexGrid control)

    1.
    I don't need to limit UBoundRows because it's limited already in Data.GetRows(Rows). (If Rows > (PropRows - Row) Then Rows = PropRows - Row)

    2.
    My intention was to imitate excel in this...
  5. Re: VBFlexGrid Control (Replacement of the MSFlexGrid control)

    Update released.

    Included the LookupConv function which returns a converted lookup string of the current or a specified column.
    Use either FlexLookupConvValue or FlexLookupConvKey. (new enum)
    If...
  6. Re: VBFlexGrid Control (Replacement of the MSFlexGrid control)

    The below is correct:
    ComboButtonWidth - ComboButtonClientWidth = ComboButtonNonClientWidth

    However, NonClientWidth can in theory differ from the NonClientHeight. I have no control about the...
  7. Replies
    3,724
    Views
    1,847,043

    Re: CommonControls (Replacement of the MS common controls)

    Yeah, but both are in the FontCombo... So, having FtcStyleDropDownList implies that the RichTextBox has a font which the FontCombo does not have in it's list, thus erroring. FtcStyleDropDownCombo...
  8. Replies
    3,724
    Views
    1,847,043

    Re: CommonControls (Replacement of the MS common controls)

    I changed the FontCombo now to FtcStyleDropDownCombo instead of FtcStyleDropDownList.
    However, it would be interesting to know what FontName the RichTextBox has but the FontCombo did not load .. you...
  9. Re: VBFlexGrid Control (Replacement of the MSFlexGrid control)

    Safe the various .ColIndex() results in a variable before the loop.
  10. Re: VBFlexGrid Control (Replacement of the MSFlexGrid control)

    That's by design. Why it should be different?
  11. Re: VBFlexGrid Control (Replacement of the MSFlexGrid control)

    You can also enlarge the drop-down list upon EditSetupWindow event via SetWindowPos (pass SWP_NOMOVE SWP_NOACTIVATE etc.)
    Then you see the item while list is dropped down. After the edit you may run...
  12. Re: VBFlexGrid Control (Replacement of the MSFlexGrid control)

    Instead of .Col use the .EditCol property. So just apply .EditRow and .EditCol into the .TextWidth function. Thanks for your assistance.
  13. Replies
    3,724
    Views
    1,847,043

    Re: CommonControls (Replacement of the MS common controls)

    Bugfix for the ComboBoxW/FontCombo and VirtualCombo. (regression since 10-Dec-2023)

    The improvement in the internal CheckDropDownHeight (SetWindowPos on list instead of MoveWindow on combo) is now...
  14. Replies
    3,724
    Views
    1,847,043

    Re: CommonControls (Replacement of the MS common controls)

    Use CB_SETITEMHEIGHT with wParam set to 1 for the selection field.
  15. Replies
    3,724
    Views
    1,847,043

    Re: CommonControls (Replacement of the MS common controls)

    Can't repro.
  16. Replies
    3,724
    Views
    1,847,043

    Re: CommonControls (Replacement of the MS common controls)

    No, and it makes no sense..
    Just sort the underlying source and .Refresh.
  17. Re: VBFlexGrid Control (Replacement of the MSFlexGrid control)

    JT870,
    please provide some code. Otherwise it's hard to imagine ..
    Maybe you MsgBox the .EditText which of course is reset once editing is finished.
  18. Re: VBFlexGrid Control (Replacement of the MSFlexGrid control)

    That seems to be a forum issue about the invalid zip file..

    EDIT: zip file working again
  19. Re: VBFlexGrid Control (Replacement of the MSFlexGrid control)

    Update released.

    Included the DragRow/DragCol function used to rearrange rows/cols by dragging the specified row/col with the mouse to a new position.
    To note is that this is NOT an OLE drag/drop...
  20. Re: VBFlexGrid Control (Replacement of the MSFlexGrid control)

    Nouyana,
    I can't replicate the "no drop-down list" thing. However, I fixed now a bug that the drop-down list is not clickable anymore when it's empty. So that the list will not be closed anymore and...
  21. Replies
    3,724
    Views
    1,847,043

    Re: TreeView Redraw not work correct

    This seems to be a bug in the WM_SETREDRAW implementation in the TreeView control. I can't fix it.
    Your workaround is fine. However, the Redraw property will continue to use WM_SETREDRAW.
    You can...
  22. Re: VBFlexGrid Control (Replacement of the MSFlexGrid control)

    I don't understand. In all cases the drop-down list has no items. What's exactly the issue ?
    What you mean by "no drop-down list" ? Of course there is a list shown when you push the dropdown button....
  23. Re: VBFlexGrid Control (Replacement of the MSFlexGrid control)

    That's already implemented.
  24. Re: VBFlexGrid Control (Replacement of the MSFlexGrid control)

    The difference is that the one use DT_END_ELLIPSIS and the other DT_WORD_ELLIPSIS in the DrawText API.
  25. Re: VBFlexGrid Control (Replacement of the MSFlexGrid control)

    On second thought. The gridline is drawn "between" cells. So 1 physical cell does not draw the entire gridline for itself. Only half, the other half is drawn by the left and top neighbor cell.
    So, I...
  26. Replies
    3,724
    Views
    1,847,043

    Re: CommonControls (Replacement of the MS common controls)

    I can remember that StdPicture with 32 bit icons had problems on older OS.
    I can do nothing here. You can downgrad your icon to 24 bits if alpha channel is not needed to fix it.
  27. Replies
    3,724
    Views
    1,847,043

    Re: CommonControls (Replacement of the MS common controls)

    Are these 32bit icons?
  28. Re: VBFlexGrid Control (Replacement of the MSFlexGrid control)

    I am still struggling of "best way".
    How about a CellGridLines property which overwrites the general grid lines?
  29. Re: VBFlexGrid Control (Replacement of the MSFlexGrid control)

    No I can't. Align is a vb6 property.
  30. Re: VBFlexGrid Control (Replacement of the MSFlexGrid control)

    Well, the code makes no sense. Because first of all the Align property works only when placed on a Form. Not in a PictureBox.
    And you set the Align "prior" to changing the container. So the FlexGrid...
  31. Re: VBFlexGrid Control (Replacement of the MSFlexGrid control)

    Do you adjust the width/height of the VBFlexGrid so it fits into the PictureBox?
  32. Re: VBFlexGrid Control (Replacement of the MSFlexGrid control)

    Included enum FlexDirectionAfterReturnEdit/FlexEditReasonReturn.
    By this the edit mode is initiated by the return key, but only when shift state is 0.
    It is intentionality included in the...
  33. Re: VBFlexGrid Control (Replacement of the MSFlexGrid control)

    Delete "respects" the ClipMode property. By that you need to set it of course to ExcludeHidden.
    Add below code and it suddenly works.

    .ClipMode = FlexClipModeExcludeHidden
  34. Re: VBFlexGrid Control (Replacement of the MSFlexGrid control)

    Hmm.. I am open to include such a feature. It's just question of "how".
    The vsFlexGrid has a CellBorder method , see https://helpcentral.componentone.com/docs/vsflexgrid8/cellbordermethod.htm...
  35. Replies
    3,724
    Views
    1,847,043

    Re: CommonControls (Replacement of the MS common controls)

    1st post in this thread...
  36. Replies
    3,724
    Views
    1,847,043

    Re: CommonControls (Replacement of the MS common controls)

    The ComCtlsDemo resource file now has the dpiAware = True in it.
    The below test shows that it does scale. (100% vs 150%)
    Of course the images are not scaled as that's the app responsibility.
    ...
  37. Re: VBFlexGrid Control (Replacement of the MSFlexGrid control)

    Set CellChecked to FlexTextAsCheckBox.



    Process the EditKeyPress event and set KeyChar to 0 fur unwanted chars.
  38. Replies
    3,724
    Views
    1,847,043

    Re: CommonControls (Replacement of the MS common controls)

    Your manifest. Do you apply per-monitor dpi awareness or system (primary monitor) dpi awareness ?
    Because the VBCCR controls are only system dpi aware. Means the app is responsible to adjust...
  39. Re: InputBox with full unicode support v. 2.5 and v. 2.55

    Why not use DialogBoxIndirectParamW and have the template resource persisted in the code directly? (In-memory; copy of vb6 template)
    This would make it independent. Or do I miss something?
  40. Replies
    3,724
    Views
    1,847,043

    Re: CommonControls (Replacement of the MS common controls)

    Yes, you may need to scale the button sizes manually. Try the following:


    ToolBar1.ButtonWidth = ToolBar1.ButtonWidth * dpi_factor
    ToolBar1.ButtonHeight = ToolBar1.ButtonHeight * dpi_factor
    ...
Results 1 to 40 of 500
Page 1 of 13 1 2 3 4



Click Here to Expand Forum to Full Width