Search:

Type: Posts; User: Krool

Page 1 of 13 1 2 3 4

Search: Search took 0.20 seconds.

  1. Replies
    1
    Views
    82

    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...
  2. Re: In a very large project, how to deal with thousands of interface classes?

    What about "lightweight COM" classes via bas module?
  3. Replies
    3,111
    Views
    829,397

    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...
  4. Replies
    10
    Views
    260

    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)
  5. Replies
    49
    Views
    7,130

    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...
  6. Re: HOW TO Get ALL Child Controls on UserControl_vb6

    Removed
  7. Replies
    3,111
    Views
    829,397

    Re: CommonControls (Replacement of the MS common controls)

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

    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....
  9. Re: Create lightweight controls similar to VB.Label or VB.Image

    Good info here. Thanks. Will probably apply this to VBCCR soon.
  10. Replies
    3,111
    Views
    829,397

    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...
  11. Replies
    3,111
    Views
    829,397

    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..
  12. 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...
  13. Thread: sqlite3win32

    by Krool
    Replies
    11
    Views
    2,849

    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.
  14. Replies
    49
    Views
    7,130

    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...
  15. Thread: sqlite3win32

    by Krool
    Replies
    11
    Views
    2,849

    Re: sqlite3win32

    The sqlite3 c source was upgraded from version 3.31.1 (2020-01-27) to 3.34.1 (2021-01-20).
  16. 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)
  17. Replies
    8
    Views
    333

    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)...
  18. Replies
    8
    Views
    333

    Re: IFont Clone Method

    You miss this at the end

    Set CommandButton2.Font = IButton2Font
  19. Replies
    3,111
    Views
    829,397

    Re: CommonControls (Replacement of the MS common controls)

    Ok. I am just wondering what I should do then. Just add a magic space then ?
  20. 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...
  21. 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
  22. Replies
    3,111
    Views
    829,397

    Re: CommonControls (Replacement of the MS common controls)

    Erwin69,
    I can't view the images in your post.
  23. 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
  24. Replies
    3,111
    Views
    829,397

    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"...
  25. 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
  26. Replies
    3,111
    Views
    829,397

    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...
  27. Replies
    3,111
    Views
    829,397

    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.
  28. 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...
  29. Re: VBFlexGrid Control (Replacement of the MSFlexGrid control)

    Yes. Maybe extending the ClipMode property would be sufficient, e.g. FixedRows/FixedCols ?
  30. 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...
  31. Replies
    3,111
    Views
    829,397

    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...
  32. 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. (?)
  33. Replies
    3,111
    Views
    829,397

    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
    ...
  34. Replies
    3,111
    Views
    829,397

    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....
  35. Replies
    3,111
    Views
    829,397

    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.
  36. Replies
    3,111
    Views
    829,397

    Re: CommonControls (Replacement of the MS common controls)

    VBFlexGrid has two tool tip text. The .CellToolTipText supports unicode. The VBControlExtender's ToolTipText is VB6 in-built and thus ANSI.
  37. Replies
    3,111
    Views
    829,397

    Re: CommonControls (Replacement of the MS common controls)

    If you want to have the big size text fit into the drop-down area then try:
    A) .HorizontalExtent = .GetIdealHorizontalExtent()
    B) .DropDownWidth = .GetIdealHorizontalExtent() + Me.ScaleX(4,...
  38. Replies
    3,111
    Views
    829,397

    Re: CommonControls (Replacement of the MS common controls)

    @ Hosam AL Dein, the ListView.SelectedItem returns the focused item where a focus rectangle is drawn and not necessarily blue highlighted.



    Yes, for example.
  39. Re: VBFlexGrid Control (Replacement of the MSFlexGrid control)

    Update released.

    AutoSize method works now as expected if WordWrap = True and Mode = FlexAutoSizeModeRowHeight.

    AutoSize method works now also as expected if SingleLine = True. (Bugfix in the...
  40. Replies
    3,111
    Views
    829,397

    Re: CommonControls (Replacement of the MS common controls)

    It returns the focused item.
Results 1 to 40 of 500
Page 1 of 13 1 2 3 4



Click Here to Expand Forum to Full Width