Search:

Type: Posts; User: Krool

Page 1 of 13 1 2 3 4

Search: Search took 0.24 seconds.

  1. Replies
    3,753
    Views
    1,873,523

    Re: CommonControls (Replacement of the MS common controls)

    I guess the richtx32.ocx does not localize it .. or am I wrong ?

    2000 MENU
    LANGUAGE LANG_ENGLISH, SUBLANG_ENGLISH_US
    {
    POPUP "Context"
    {
    MENUITEM "&Undo\tCtrl+Z", 2104
    MENUITEM...
  2. Replies
    3,753
    Views
    1,873,523

    Re: CommonControls (Replacement of the MS common controls)

    Should we have this menu localized ? (Via GetUserDefaultUILanguage)
  3. Replies
    3,753
    Views
    1,873,523

    Re: CommonControls (Replacement of the MS common controls)

    Update released.

    Included the AutoVerbMenu in the RichTextBox control.

    191176
  4. Replies
    10
    Views
    483

    Re: Lightweight Windowed Control

    If using a UserControl ensure that DrawStyle = 5 - Transparent is set. This will safe you 1 GDI handle.
  5. Replies
    3,753
    Views
    1,873,523

    Re: CommonControls (Replacement of the MS common controls)

    You don't need to register it via regsvr32.
    Just reference it in vb6 via references -> browse file.
  6. 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.
  7. Re: VBFlexGrid Control (Replacement of the MSFlexGrid control)

    I just tried your code and no error. :confused:
  8. Replies
    3,753
    Views
    1,873,523

    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...
  9. 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...
  10. 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...
  11. 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.
  12. 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()...
  13. 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...
  14. 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.
  15. 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...
  16. Replies
    3,753
    Views
    1,873,523

    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.
  17. Replies
    3,753
    Views
    1,873,523

    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.
  18. 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...
  19. 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...
  20. 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...
  21. Replies
    3,753
    Views
    1,873,523

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

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

    On vertical scroll the col is -1.
    So just perform a horiz. Scroll. See demo.
  25. 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...
  26. 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...
  27. 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...
  28. 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...
  29. Replies
    3,753
    Views
    1,873,523

    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...
  30. Replies
    3,753
    Views
    1,873,523

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

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

    That's by design. Why it should be different?
  33. 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...
  34. 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.
  35. Replies
    3,753
    Views
    1,873,523

    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...
  36. Replies
    3,753
    Views
    1,873,523

    Re: CommonControls (Replacement of the MS common controls)

    Use CB_SETITEMHEIGHT with wParam set to 1 for the selection field.
  37. Replies
    3,753
    Views
    1,873,523

    Re: CommonControls (Replacement of the MS common controls)

    Can't repro.
  38. Replies
    3,753
    Views
    1,873,523

    Re: CommonControls (Replacement of the MS common controls)

    No, and it makes no sense..
    Just sort the underlying source and .Refresh.
  39. 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.
  40. 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
Results 1 to 40 of 500
Page 1 of 13 1 2 3 4



Click Here to Expand Forum to Full Width