Search:

Type: Posts; User: Krool

Page 1 of 13 1 2 3 4

Search: Search took 0.55 seconds.

  1. Re: [VB6] ActiveX VBFlexGrid (Replacement of the MSFlexGrid control)

    It is intended that a Cancel = True on ValidateEdit event will only keep your cursor or mouse in the cell, giving the user a chance to amend current input.
    It's your choice to call .CancelEdit or...
  2. Re: VBFlexGrid Control (Replacement of the MSFlexGrid control)

    Major update released.

    FrozenRows/FrozenCols property now included. (editable but non-scrollable cells)

    I investigated quite a time for that new feature. However, it may be possible that it may...
  3. Re: [VB6] ActiveX VBFlexGrid (Replacement of the MSFlexGrid control)

    7edm, I did a bugfix in the ValidateEdit event. Can you re-try after updating to new version ?
  4. Re: [VB6] ActiveX VBFlexGrid (Replacement of the MSFlexGrid control)

    @7edm, add the normal Validate handler too, like below.


    Private Sub VBFlexGrid1_Validate(Cancel As Boolean)
    ' This must be handled when validation of the edit control should be for the whole...
  5. Replies
    3,041
    Views
    808,708

    Re: CommonControls (Replacement of the MS common controls)

    1.
    I think it is tied to the regional settings.

    2.
    Be sure that .HookEvents is False. Otherwise you get the Win 3.1 style open dialog.
    Or what do you mean with small old looking ? Maybe post a...
  6. Re: VBFlexGrid Control (Replacement of the MSFlexGrid control)

    If the Frozen rows/cols are implemented such a filter bar could be done "manually". (In conjunction with AllowUserEditing)
  7. Re: VBFlexGrid Control (Replacement of the MSFlexGrid control)

    Yes, word wrapping is not "considered" in the grid's TextWidth/TextHeight functions. (Which the AutoSize function uses)

    But there are reasons that it is good like that, e.g. to auto size a column...
  8. Replies
    3,041
    Views
    808,708

    Re: CommonControls (Replacement of the MS common controls)

    Update released.

    Harmonization in the ContextMenu events. The X and Y parameters are now always originated to the control's hWnd.
  9. Re: VBFlexGrid Control (Replacement of the MSFlexGrid control)

    Update released.

    There will be a next 1.5 OCX of the VBFlexGrid in future. Some features in mind are planned to be added, e.g. FrozenRows/Cols, ListBox style SelectionMode etc...
    As first step...
  10. Re: VBFlexGrid Control (Replacement of the MSFlexGrid control)

    Obviously the vsFlexGrid handles it the same way.




    [form!]VSFlexGrid.AutoSize Col1 As Long, [ Col2 As Long ], [ Equal As Boolean ], [ ExtraSpace As Single ]
    ...
  11. Re: VBFlexGrid Control (Replacement of the MSFlexGrid control)

    Update released.

    The AutoSize method now works when using a custom data source. (IVBFlexDataSource)

    In addition I allowed the FindItem function when using a custom data source.
    So, of course...
  12. Re: VBFlexGrid Control (Replacement of the MSFlexGrid control)

    Thanks for your comments.

    It is indeed a bug. The AutoSize should fetch the data via IVBFlexDataSource_GetData, if applicable.
    I will fix it soon.

    Concerning the second optional param.
    Well,...
  13. Re: VBFlexGrid Control (Replacement of the MSFlexGrid control)

    I love it when somebody wants to be spoon-feeded.

    I don't know what you exactly need. So below some possible scenarios.

    1. Only single row auto-size. In this example row #5
    ...
  14. Re: VBFlexGrid Control (Replacement of the MSFlexGrid control)

    Yes, use the .AutoSize method.
  15. Replies
    3,041
    Views
    808,708

    Re: CommonControls (Replacement of the MS common controls)

    This feature is not in-built included as it requires complete owner-drawing of the header items.
    So, you can implement it but it requires some homework.

    I can give you the starting point.
    ...
  16. Replies
    3,041
    Views
    808,708

    Re: CommonControls (Replacement of the MS common controls)

    How is the SingleSel property set?
  17. Replies
    3,041
    Views
    808,708

    Re: CommonControls (Replacement of the MS common controls)

    The process is this:

    The Std-EXE version is the leading source. So the list of revision contains everything for it.
    From time to time (in the past maybe every year or so) the latest state was...
  18. Re: VBFlexGrid Control (Replacement of the MSFlexGrid control)

    RowHeightMin property.
    Or "manually" each row via RowHeight property.
  19. Replies
    4
    Views
    293

    Re: FILL COMBOBOX in one shot only

    Only with a virtual combo box.
  20. Replies
    44
    Views
    3,323

    Re: Any technical reason not to use Call in VB6?

    Since this thread is back..

    My personal preference is to use the keyword "Call" when invoking a "Sub" method.
    So I know while reading code if a function can return something or not. (We ignore...
  21. Replies
    3,041
    Views
    808,708

    Re: CommonControls (Replacement of the MS common controls)

    I can't replicate this. Please provide a demo.
  22. Replies
    3,041
    Views
    808,708

    Re: CommonControls (Replacement of the MS common controls)

    Update released for the TreeView control.



    True. Strange that nobody noticed so far. :)
    The NodeClick/NodeDblClick fired whenever TVM_HITTEST returned an hItem <> 0.
    However, now it requires...
  23. Replies
    3,041
    Views
    808,708

    Re: CommonControls (Replacement of the MS common controls)

    Update released for the StatusBar control.



    You could have defined panels 2 and 3 as autosize spring to solve the issue. However, I did not give the tip to you as it should also work as you...
  24. Replies
    3,041
    Views
    808,708

    Re: CommonControls (Replacement of the MS common controls)

    Can you describe more what you mean?
    If you mean to fit the longest text?

    If yes, you can try .HorizontalExtent = .GetIdealHorizontalExtent()

    Or .DropDownWidth = .GetIdealHorizontalExtent() +...
  25. Replies
    18
    Views
    637

    Re: Making an exe that wo'nt requiere vb6FR.dll

    You don't need any code in your project. It's outside of your project.

    Make exe as usual, then crack it before sending to the client.

    I won't give anything of a beep from Avira. It's typical to...
  26. Replies
    3,041
    Views
    808,708

    Re: CommonControls (Replacement of the MS common controls)

    Update released for TextBoxW control.



    I did find a compromise now.. I really did not want to have a new overhead with some quirks...
    So ES_LEFT/ES_CENTER/ES_RIGHT works now in Windows XP as...
  27. Replies
    18
    Views
    637

    Re: Making an exe that wo'nt requiere vb6FR.dll

    You can "crack" the exe to replace VB6FR.DLL to msvbvm60.dll.

    https://codes-sources.commentcamarche.net/source/4917-se-passer-de-vb6fr-dll-facilement

    Private Sub Command1_Click()
    FileCont = ""...
  28. Replies
    3,041
    Views
    808,708

    Re: CommonControls (Replacement of the MS common controls)

    It's really a pain in the ...
    This here again good example.

    I am considering a small overhead (e.g. like done in the ComCtlsW2KCompatibility function)
    The overhead is only once per process...
  29. Replies
    4
    Views
    328

    Re: VBFlexGrid Questions (Kroll)

    Do you move the mouse between press down and release up?
    If you are on row 5 on down and off beyond on up you get no CellClick event and a MouseRow of 6. (Like the MSFlexGrid would do also)

    EDIT:...
  30. Replies
    4
    Views
    328

    Re: VBFlexGrid Questions (Kroll)

    1. You have used the "CellClick" event. Try switching to the "Click" event.

    2. The SelectionMode 1 - ByRow will fix the col at the first non-fixed col. Try using SelectionMode 3 - FreeByRow to...
  31. Replies
    3,041
    Views
    808,708

    Re: CommonControls (Replacement of the MS common controls)

    Update released.

    Bugfix for the FrameW control related to yesterday update. (there is always something when changing something...)

    @ Erwin69, OCX got updated. (1.7.4)



    Will check out soon.
  32. Replies
    3,041
    Views
    808,708

    Re: CommonControls (Replacement of the MS common controls)

    Update released.

    Critical bugfix in the FrameW control.
    Mouse events were scaled to pixels instead of twips.



    The ScaleMode of the UserControl was set to pixels instead of twips.
    This has...
  33. Replies
    3,041
    Views
    808,708

    Re: CommonControls (Replacement of the MS common controls)

    I tested a shape in a FrameW control and the X and Y coordinates correspond correctly. It's origin is of course the FrameW. Like for the VB.Frame.
    Please provide demo showing otherwise.



    What...
  34. Re: [VB6] ActiveX CommonControls (Replacement of the MS common controls)

    You can download it from Github also. (Without it being archived)
  35. Re: [VB6] VBCDeclFix - The Add-in allows you to use Cdecl functions in VB6 IDE.

    Thats very comfortable. :-) nice
  36. 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 ?
    ...
  37. 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...
  38. 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...
  39. 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,...
  40. 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
Results 1 to 40 of 500
Page 1 of 13 1 2 3 4



Click Here to Expand Forum to Full Width