Search:

Type: Posts; User: Krool

Page 1 of 13 1 2 3 4

Search: Search took 0.65 seconds.

  1. Re: Krool's VBFlexGrid -How to adjust row height and col width to eliminate grey area

    Looks good. You may add ".BorderStyle = FlexBorderStyleNone" for completeness.
    I tested this and I do NOT see a grey area left "on the right side" as you wrote.. Can you share a picture/demo ?
    ...
  2. Re: VBFlexGrid Control (Replacement of the MSFlexGrid control)

    Update released.

    Bugfix in the Rows/Cols/FixedRows/FixedCols property.
    The effect is mostly when having the ScrollBars property set to 0 - None.

    FixedRows/FixedCols need the...
  3. Re: Krool's VBFlexGrid -How to adjust row height and col width to eliminate grey area

    Why you magic offset 30?
    You can set the .GridColorFixed property to match your .BackColor property.
    This way the outline will not visually disturb you. (Ofcourse set .GridLines and .GridLinesFixed...
  4. Re: Krool's ListView and ListBox -How do I configure the number of Columns?

    The ListBoxW has only a "MultiColumn" property (True or False) and no "Columns" property such the MS ListBox has.

    Tip: Use the "ColumnWidth" property in the ListView. (can be set at run-time only,...
  5. Re: Krool -Listview How to set Backcolor or a row & Bug in Picture property ?

    The RES will manifest the compiled App. If you want the IDE manifested you need to make a manifest for VB6.exe
  6. Replies
    2,992
    Views
    782,229

    Re: CommonControls (Replacement of the MS common controls)

    I confirm the issue and clearing the mouse capture before raising the event fixes both issue you encountered. I am just double checking if this is the "correct" solution before I do an update...
  7. Re: Is the VB6 community capable to grab the bull by its horns?

    We need a Resource Editor replacement. LaVolpe is doing an AddIn. Though I don't know the progress, hopefully not abandoned.
  8. Re: Krool -Listview How to set Backcolor or a row & Bug in Picture property ?

    Not a bug in the Picture property.
    The description says:
    "Returns/sets the background picture. Requires comctl32.dll version 6.0 or higher."

    So it is a limitation in the SysListView32 that your...
  9. Re: WH_KEYBOARD_LL x64bit Windows 10 no longer works !

    removed

    Edit: Oops just noticed you have code for VBA 7. (LongPtr)
  10. Replies
    13
    Views
    427

    Re: Out of Memory Error - Make - CommandButtonW

    I just tested and noted this now out as well with a vanilla Host UserControl and vanilla Child UserControl and it bombs out with "Out of Memory".
    However, this is something I cannot fix in the VBCCR...
  11. Replies
    13
    Views
    427

    Re: Out of Memory Error - Make - CommandButtonW

    I just made a vanilla UC host and the ReadProperties is fired before the Resize event.
    Something in your code is out of order and will force an resize event before.

    Option Explicit

    Private Sub...
  12. Replies
    13
    Views
    427

    Re: Out of Memory Error - Make - CommandButtonW

    It's a very bad idea to make some code involving the child usercontrol in the host usercontrol inside the UserControl_Initialize() event. The UC Ambient.UserMode property is not meaningful at that...
  13. Replies
    13
    Views
    427

    Re: Out of Memory Error - Make - CommandButtonW

    UserControl_Initialize is the worst place ever. Use it only to set variables. Shift your code to UserControl_ReadProperties.
  14. Replies
    2,992
    Views
    782,229

    Re: RichTextBox cutting the text after word wrap

    When you find a way of changing it without re-creation, please advise. However, I could have gone like the MS RichTextBox and throw out an error when attempting to change at runtime.
  15. Replies
    2,992
    Views
    782,229

    Re: RichTextBox cutting the text after word wrap

    Changing the ScrollBars to vbVertical triggers internally a re-creation of the rich text box.
    So try to put the code before you load the 6MB file for a quick fix.
    However, I would like to test...
  16. Replies
    37
    Views
    1,104

    Re: VB6 - can we use the 'Any' type?

    The real code is: (from an IntValue variable, -1 is just the default for the API)

    PropTabMinWidth = IntValue

    SendMessage TabStripHandle, TCM_SETMINTABWIDTH, 0, ByVal CLng(PropTabMinWidth)
  17. Replies
    37
    Views
    1,104

    Re: VB6 - can we use the 'Any' type?

    True. BUT. How is the 0 Integer get extended to Long 0?
    It needs to read 2 bytes off somewhere.
    I experienced the problem in comctl32.dll that a "ByVal -1" got interpret as -2321345 (example value)...
  18. Replies
    37
    Views
    1,104

    Re: VB6 - can we use the 'Any' type?

    Be carefull. "ByVal 0" is actually an Integer. If the API expects a Long then 2 bytes are off. It can cause "surprise errors".
    To avoid this use "ByVal 0&".
  19. Re: Looking For a VB6 ListBox Alternative That Handles More Than 32,767 Items

    The VBCCR.ListBoxW supports more than 32,767 items. It also can scroll beyond 65,535. (16-bit barrier)
    ...
  20. Re: VBFlexGrid Control (Replacement of the MSFlexGrid control)

    Yes, as soon the edit looses focus (hWndEdit destroyed = 0) the .EditText returns a NullString.
  21. Re: VBFlexGrid Control (Replacement of the MSFlexGrid control)

    Use the .EditText property. :-)
    The .Text property is still original text while editing and will be updated once editing was validated.
  22. Re: Input permanent data to a vb6 EXE file - other than re-compiling?

    You could add a resource file into the compiled exe. (e.g. ResourceHacker)
  23. Re: VBFlexGrid Control (Replacement of the MSFlexGrid control)

    To avoid the "flash" catch the "EditSetupWindow" event and set the .ComboButtonValue to 'FlexComboButtonValueDisabled'.
    This will avoid that the drop-down list will be shown initially. Then at the...
  24. Re: VBFlexGrid Control (Replacement of the MSFlexGrid control)

    Use the .ComboButtonValue property and set to 'FlexComboButtonValueUnpressed' to collapse the drop-down list.
    At best you place that line of code in the "EnterEdit" event.
  25. Re: Property Bag alternative - Data Bag

    Or XML text. Many public authorities, at least in Germany, do persist their records as XML. (e.g. resident registration for interchange between systems)
  26. Replies
    2,992
    Views
    782,229

    Re: CommonControls (Replacement of the MS common controls)

    No. SysListView32 does not support it.
  27. Replies
    71
    Views
    3,514

    Re: hao to call Sqlite3.dll with cdecl?

    The fastest approach for VB6 is to compile the sqlite 3 library with __stdcall instead of __cdecl.
  28. Re: [VB6] ActiveX CommonControls (Replacement of the MS common controls)

    You may use the Documentation and Update/Compile Utility from MountainMan to upgrade all references in all Forms from VBCCR16 to VBCCR17.
  29. Re: VBFlexGrid Control (Replacement of the MSFlexGrid control)

    Done. :)

    The blue marked code was now inserted into the DataSource property.


    If PropFixedRows > 0 Then
    For iCol = 0 To (PropFixedCols - 1)
    VBFlexGridColsInfo(iCol).Key =...
  30. Re: VBFlexGrid Control (Replacement of the MSFlexGrid control)

    MSFlexGrid has no .ColKey/.ColIndex ...
    So if VSFlexGrid behave as Test 3 then I will check this out soon and maybe implement your change into the "master" version.
  31. Re: VBFlexGrid Control (Replacement of the MSFlexGrid control)

    When you use .ColIndex and did not assign .ColKey before then you get the error.
    Your Test 2 is the correct approach.
    Test 3 is also ok. But on each update you need to keep your changes in mind.
  32. Re: VBFlexGrid Control (Replacement of the MSFlexGrid control)

    Thanks. Done
  33. Re: VBFlexGrid Control (Replacement of the MSFlexGrid control)

    You use an outdated "Startup.bas".
    Please download the complete VBFlexGridDemo and replace everything. (FlexInitIDEStopProtection does not exist anymore since a while)
  34. Re: VBFlexGrid Control (Replacement of the MSFlexGrid control)

    Update related to yesterday's bugfix.

    Included new flags RCPF_FORCETOPROWMASK and RCPF_FORCELEFTCOLMASK which is used in the internal SetRowColParams method.

    Private Sub SetRowColParams(ByRef...
  35. Re: VBFlexGrid Control (Replacement of the MSFlexGrid control)

    This is a bug. I see in the screen that you have the .ScrollBars property set to 'Vertical'.
    In the normal MS(H)FlexGrid this will result that the LeftCol will not change upon mouse clicks and key...
  36. Replies
    2,992
    Views
    782,229

    Re: CommonControls (Replacement of the MS common controls)

    VBCCR17 is planned to be last major release. People also have a desire for a constant stable release.
    If any bugs appear they will be of course fixed.

    So feel free to make another fork..
  37. Replies
    2,992
    Views
    782,229

    Re: CommonControls (Replacement of the MS common controls)

    IMO any hooks should reside in an App and not in this package.

    So you can use the CommandButtonW.ToolTipText property and use this Code to enable Unicode and multi-line. (See bottom post by...
  38. Replies
    2,992
    Views
    782,229

    Re: CommonControls (Replacement of the MS common controls)

    The ToolTipText property of the main object itself (VBControlExtender, e.g. CommandButtonW1.ToolTipText etc.) are the intrinsic properties by VB6 and thus ANSI.

    Only ToolTipText properties in...
  39. Replies
    2,992
    Views
    782,229

    Re: CommonControls (Replacement of the MS common controls)

    If turning VisualStyles to False then you can define the BackColor property on the StatusBar control. No magic in this case.
  40. Replies
    2,992
    Views
    782,229

    Re: CommonControls (Replacement of the MS common controls)

    The ItemSelect event is intended. The V6 MS.ListView behaves the same.
    However, the V5 MS.ListView behaves different.

    You can make the AutoSelectFirstItem property set to False (mimic V5 MS...
Results 1 to 40 of 500
Page 1 of 13 1 2 3 4



Click Here to Expand Forum to Full Width