Search:

Type: Posts; User: Krool

Page 1 of 13 1 2 3 4

Search: Search took 0.05 seconds.

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

    We need tB (twinBASIC) for that.
    The 1.7 project is already ported to tB and works in x64.
    Though it's experimental as tB is still BETA.
  2. Re: VBFlexGrid Control (Replacement of the MSFlexGrid control)

    I just tried your code and no error. :confused:
  3. Replies
    3,742
    Views
    1,870,286

    Re: CommonControls (Replacement of the MS common controls)

    Update released.

    Included the Resize event in the FrameW control. (like the VB.Picture control)
    A control container should have such event to re-arrange it's contained controls.
    However, the...
  4. Re: VBFlexGrid Control (Replacement of the MSFlexGrid control)

    Shift-Return will cause a WM_CHAR of 13 (Carriage return) while a Ctrl-Return will cause a WM_CHAR of 10 (Linefeed)
    Of course the Alt-Return will work also (13) in the editing box. (But not in a...
  5. Re: VBFlexGrid Control (Replacement of the MSFlexGrid control)

    Update released.

    Return key will be forwarded according to DirectionAfterReturn property after editing. (like as the TabBehavior property)

    Thanks again for the good point which I missed...
  6. Re: VBFlexGrid Control (Replacement of the MSFlexGrid control)

    Good point. Need to think about.
    IMO it should be like Excel. When pressing return finish editing and move to the direction.
  7. Re: VBFlexGrid Control (Replacement of the MSFlexGrid control)

    The EditEnterAction there is something similar, see the DirectionAfterReturn property.

    For EditModePermanent. Did you try just as below ?

    Private Sub VBFlexGrid1_RowColChange()...
  8. Re: VBFlexGrid Control (Replacement of the MSFlexGrid control)

    Thanks for bringing this up.
    But, it's not a bug but a feature. :)
    The behavior is the same as in MSHFlexGrid.

    You can easily solve this "issue" by doing as following:

    With VBFlexGrid1...
  9. Re: VBFlexGrid Control (Replacement of the MSFlexGrid control)

    Instead of using the ColComboMode just set the ComboMode/ComboItems upon the BeforeEdit event. There you can control exactly which row/col have what setting.
  10. Re: [VB6/VBA/twinBASIC] The quickest way to the real Windows version: KUSER_SHARED_DA

    IsWin11OrGreater = (lngMajor >= 10& And (lngMajor = 10& And lngBuild >= 22000&))

    Should be as:

    IsWin11OrGreater = (lngMajor > 10& Or (lngMajor = 10& And lngBuild >= 22000&))

    And changed to...
  11. Replies
    3,742
    Views
    1,870,286

    Re: CommonControls (Replacement of the MS common controls)

    I accumulate a certain set of new features until I release VBCCR18.
    I can't update VBCCR17 as I did some breaking changes, RichTextBox and OLE props/events.
  12. Replies
    3,742
    Views
    1,870,286

    Re: CommonControls (Replacement of the MS common controls)

    I don't understand.
    The LabelW is windowless, no hWnd property.
    What I added a while back was a new control called WindowedLabel.
  13. Re: VBFlexGrid Control (Replacement of the MSFlexGrid control)

    Update released.

    Included the MimicTextBox and ColMimicTextBox/ColMimicTextBoxFixed property. (Defaults to False)
    DT_EDITCONTROL will mimic the text-displaying characteristics of a multiline text...
  14. Re: VBFlexGrid Control (Replacement of the MSFlexGrid control)

    You changed the grid line compared to previous screenshot. If you have FixGridLineOffsets to False (default) it's offsets are the same as in MSFlexGrid.

    Yes, 1 px nearby is non-client as well. I...
  15. Re: VBFlexGrid Control (Replacement of the MSFlexGrid control)

    1.
    Top 0 is correct. A cell has 2 grid border lines. It appears as a square border as the neighbor cell draws the other 2.

    2.
    6px is correct. 3 left and 3 right. It's non-client.

    3.
    If you...
  16. Replies
    3,742
    Views
    1,870,286

    Re: CommonControls (Replacement of the MS common controls)

    Update released.

    Accelerator keys support in a VBA environment.
    The same technique as in the VBFlexGrid control (which supports it already a while ago) is now implemented on each control where...
  17. Re: [VB6/VBA/twinBASIC] The quickest way to the real Windows version: KUSER_SHARED_DA

    That code is dangerous
    If (dwMajor >= 10) And (dwBuild >= 17763) Then
    Because what happens if dwMajor is 12 and dwBuild is below 17763 ?
  18. Re: VBFlexGrid Control (Replacement of the MSFlexGrid control)

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

    On vertical scroll the col is -1.
    So just perform a horiz. Scroll. See demo.
  20. 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...
  21. 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...
  22. 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...
  23. 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...
  24. Replies
    3,742
    Views
    1,870,286

    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...
  25. Replies
    3,742
    Views
    1,870,286

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

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

    That's by design. Why it should be different?
  28. 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...
  29. 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.
  30. Replies
    3,742
    Views
    1,870,286

    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...
  31. Replies
    3,742
    Views
    1,870,286

    Re: CommonControls (Replacement of the MS common controls)

    Use CB_SETITEMHEIGHT with wParam set to 1 for the selection field.
  32. Replies
    3,742
    Views
    1,870,286

    Re: CommonControls (Replacement of the MS common controls)

    Can't repro.
  33. Replies
    3,742
    Views
    1,870,286

    Re: CommonControls (Replacement of the MS common controls)

    No, and it makes no sense..
    Just sort the underlying source and .Refresh.
  34. 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.
  35. 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
  36. 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...
  37. 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...
  38. Replies
    3,742
    Views
    1,870,286

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

    That's already implemented.
Results 1 to 40 of 500
Page 1 of 13 1 2 3 4



Click Here to Expand Forum to Full Width