Search:

Type: Posts; User: Krool

Page 1 of 13 1 2 3 4

Search: Search took 0.70 seconds.

  1. Replies
    3,118
    Views
    834,502

    Re: CommonControls (Replacement of the MS common controls)

    Need to test... and if something needs to be enhanced.
    Worst case "custom sort option" which raise event.

    Edit: you may store the percentage as number only and use .ColFormat property to add the...
  2. Replies
    3,118
    Views
    834,502

    Re: CommonControls (Replacement of the MS common controls)

    Not assured. If the row sel "range" is more than 1 only those rows will be sorted.
    So a extra .RowSel = .Row would help.
  3. Replies
    3,118
    Views
    834,502

    Re: CommonControls (Replacement of the MS common controls)

    LOL. :)
    It's not a bug but a feature. In fact you are doing a 50 multi-column sort. You just were lucky with the selection mode 'Free' to have not a selection which spans multiple columns.

    The...
  4. Replies
    3,118
    Views
    834,502

    Re: CommonControls (Replacement of the MS common controls)

    I just did a test with 1000 rows and 50 column. The sorting takes 0.2 seconds in IDE.
    Can you provide a demo ?
  5. Replies
    3,118
    Views
    834,502

    Re: CommonControls (Replacement of the MS common controls)

    I found the bug. The blue marked code fixes the issue of not auto-resizing after changing the panel text.
    Update will follow soon...

    Friend Property Let FPanelText(ByVal Index As Long, ByVal...
  6. Replies
    1
    Views
    147

    UCase$ Invariant?

    Is the UCase$ function in VB6 invariant or culture sensitive?

    I read that a case-insensitive string comparison is equal to make a binary string comparison where left and right string are upper...
  7. Re: In a very large project, how to deal with thousands of interface classes?

    What about "lightweight COM" classes via bas module?
  8. Replies
    3,118
    Views
    834,502

    Re: CommonControls (Replacement of the MS common controls)

    Well. The MS ListView will sort kind of "PostMessage" style so you cannot compare it directly.
    I think that the VBCCR ListView will sort "directly" is rather a feature than a bug.
    You do it...
  9. Replies
    10
    Views
    275

    Re: [RESOLVED] MxFlexgrid cellbackcolor BLACK

    Yes it allows to set vbBlack. To reset "none forecolor" it must be set to -1. (Instead of 0 - vbBlack in the msFlexGrid)
  10. Replies
    49
    Views
    7,249

    Re: VB SQLite Library (COM-Wrapper)

    Minor convenience update.

    The CONCAT() and CONCAT_WS() function are now included by statically linking to the concat c extension.

    The CONCAT() function does certainly the same as the...
  11. Re: HOW TO Get ALL Child Controls on UserControl_vb6

    Removed
  12. Replies
    3,118
    Views
    834,502

    Re: CommonControls (Replacement of the MS common controls)

    Can you bundle a small demo showing the problem ? I can't replicate it. Thanks
  13. Replies
    49
    Views
    7,249

    Re: VB SQLite Library (COM-Wrapper)

    Update released.

    The REGEXP operator is now included by statically linking to the regexp c extension.

    The RE syntax recognized by regexp.c (from sqlite.org) is a subset of the quite large PCRE....
  14. Re: Create lightweight controls similar to VB.Label or VB.Image

    Good info here. Thanks. Will probably apply this to VBCCR soon.
  15. Replies
    3,118
    Views
    834,502

    Re: CommonControls (Replacement of the MS common controls)

    It's the ImageList. Once without (390) and then with (630).
    This is a dilemma by design. The ImageList property is saved as string in the CCR ToolBar.
    I cannot lookup the ImageList Object during...
  16. Replies
    3,118
    Views
    834,502

    Re: CommonControls (Replacement of the MS common controls)

    I would like to help you.. it's just that in this case I have not the answer..
  17. Re: [VB6] ActiveX CommonControls (Replacement of the MS common controls)

    Hmm. I don't know. Why does the more complex RichTextBox work but not the TextBox?
    IMO UserControl_Initialize is not the cause as TextBoxDesignMode's not True there yet.
    Can you compile the OCX...
  18. Thread: sqlite3win32

    by Krool
    Replies
    11
    Views
    2,872

    Re: sqlite3win32

    Added a list of all callback functions which are __stdcall in the README on GitHub. (documented for a better reference)
    The list may be expanded in future to improve __stdcall callback support.
  19. Replies
    49
    Views
    7,249

    Re: VB SQLite Library (COM-Wrapper)

    Update released.

    The sqlite3 c source was upgraded from version 3.31.1 (2020-01-27) to 3.34.1 (2021-01-20).

    Biggest benefit for new sqlite3 version (IMO) is the support for UPDATE-FROM sql...
  20. Thread: sqlite3win32

    by Krool
    Replies
    11
    Views
    2,872

    Re: sqlite3win32

    The sqlite3 c source was upgraded from version 3.31.1 (2020-01-27) to 3.34.1 (2021-01-20).
  21. Re: Can we get a hFont handle from StdFont Object ?

    Apparently in VBA there are 3 IFont members. One member for 'MSForms', one for 'stdole' and one for 'Excel'. (for MS Word it would be 'Word' I guess)
  22. Replies
    8
    Views
    347

    Re: IFont Clone Method

    I have a similar helper called "CloneOLEFont". However, if pFont is Nothing then the "CloneOLEFont" returns Nothing as well. (that's the difference to your way, you create New StdFont in this case)...
  23. Replies
    8
    Views
    347

    Re: IFont Clone Method

    You miss this at the end

    Set CommandButton2.Font = IButton2Font
  24. Replies
    3,118
    Views
    834,502

    Re: CommonControls (Replacement of the MS common controls)

    Ok. I am just wondering what I should do then. Just add a magic space then ?
  25. Re: Can we get a hFont handle from StdFont Object ?

    I tried changing my CreateGDIFontFromOLEFont function and it seems to work. So, do you see anything against it when I change it for VBCCR/VBFLXGRD ? Thanks


    Public Function...
  26. Re: Can we get a hFont handle from StdFont Object ?

    I will try the way with caching IFont and set IFont.hFont.
    However, is there a way to solve this subtly error with the LFHeight for at least interim?
    Thanks
  27. Replies
    3,118
    Views
    834,502

    Re: CommonControls (Replacement of the MS common controls)

    Erwin69,
    I can't view the images in your post.
  28. Re: Can we get a hFont handle from StdFont Object ?

    I wasn't aware of this. That's the reason I did this workaround with the LOGFONT.
    When I have time I may try to change it in VBCCR/VBFLXGRD.
    Thanks
  29. Replies
    3,118
    Views
    834,502

    Re: CommonControls (Replacement of the MS common controls)

    Thanks for reminding.
    Please explain the need of this. Enough space for the toolbar is assured. What's the extra space good for?
    If there is a reason for it I need a way of how to get the "extra"...
  30. Re: Can we get a hFont handle from StdFont Object ?

    Your adaption is little bit old.
    The code below

    If Font.Bold = True Then .LFWeight = FW_BOLD Else .LFWeight = FW_NORMAL
    Got changed into

    .LFWeight = Font.Weight
  31. Replies
    3,118
    Views
    834,502

    Re: CommonControls (Replacement of the MS common controls)

    This here is all voluntary support. I can ignore or not ignore.



    I found a solution to this. The (yet unused) notification LVN_HOTTRACK comes helpful for this.
    When processing LVN_HOTTRACK and...
  32. Replies
    3,118
    Views
    834,502

    Re: CommonControls (Replacement of the MS common controls)

    Don't know what you mean. Did you set the .VirtualItemCount property?
    You can also increase performance by disabling unwanted callbacks via the .VirtualDisabledInfos property.
  33. Re: VBFlexGrid Control (Replacement of the MSFlexGrid control)

    The vsFlexGrid's Select method will select only a single cell when the two optional parameter's are omitted. So what now?

    Your sample will get clip text "all". But what about getting only the...
  34. Re: VBFlexGrid Control (Replacement of the MSFlexGrid control)

    Yes. Maybe extending the ClipMode property would be sufficient, e.g. FixedRows/FixedCols ?
  35. Re: VBFlexGrid Control (Replacement of the MSFlexGrid control)

    I think an Copy method would be good.
    Also a ClipboardCopyMode property in conjunction. (specifies if copying only movable cells or also fixed cells)

    Currently I handle it manually, copy to...
  36. Replies
    3,118
    Views
    834,502

    Re: CommonControls (Replacement of the MS common controls)

    Below is an example of how to use the SubItemIndex parameter in the HitTest method.

    Private Sub ListView1_MouseMove(Button As Integer, Shift As Integer, X As Single, Y As Single)
    Dim Item As...
  37. Re: VBFlexGrid Control (Replacement of the MSFlexGrid control)

    Any ideas which features you miss?
    I have only ListBox style SelectionMode on my list. However, maybe the list can get longer. (?)
  38. Replies
    3,118
    Views
    834,502

    Re: CommonControls (Replacement of the MS common controls)

    Please find below a working code snippet:

    Private Sub ListView1_ItemCheck(ByVal Item As LvwListItem, ByVal Checked As Boolean)
    If Checked = True Then
    Dim vItem As Variant, iItem As Long
    ...
  39. Replies
    3,118
    Views
    834,502

    Re: CommonControls (Replacement of the MS common controls)

    There is no listview message or style for this.
    So, basically No.

    However, some imperfect/inefficient workarounds are shown in the link below....
  40. Replies
    3,118
    Views
    834,502

    Re: CommonControls (Replacement of the MS common controls)

    You looked not good..
    There is an event 'GetVirtualItem', 'FindVirtualItem', 'CacheVirtualItem'.
    Also use the .VirtualListItems collection retrieve selected state etc. of the items.
Results 1 to 40 of 500
Page 1 of 13 1 2 3 4



Click Here to Expand Forum to Full Width