Page 106 of 106 FirstFirst ... 65696103104105106
Results 4,201 to 4,208 of 4208

Thread: CommonControls (Replacement of the MS common controls)

  1. #4201
    Addicted Member
    Join Date
    Oct 2014
    Posts
    131

    Re: CommonControls (Replacement of the MS common controls)

    Hello Krool !
    Hello! Thank you for providing the great VBCCR series controls. I have been using your controls for many years while developing software for clients. These controls are very convenient to use. I really appreciate your help, thank you so much!

    Here is some feedback: The 'StatusBar' control, 'Public Enum SbrPanelStyleConstants' and 'Public Enum SbrPanelDTFormatConstants' are inconsistent between 'ComCtlsDemo' and 'VBCCR18', with the specific situation as follows:
    Code:
    ComCtlsDemo.StatusBar
    
    Public Enum SbrPanelStyleConstants
    SbrPanelStyleText = 0
    SbrPanelStyleCaps = 1
    SbrPanelStyleNum = 2
    SbrPanelStyleIns = 3
    SbrPanelStyleScrl = 4
    SbrPanelStyleTime = 5
    SbrPanelStyleDate = 6
    SbrPanelStyleKana = 7
    SbrPanelStyleHangul = 8
    SbrPanelStyleJunja = 9
    SbrPanelStyleFinal = 10
    SbrPanelStyleKanji = 11
    SbrPanelStyleHanja = 12
    SbrPanelStyleDateTime = 13
    End Enum
    
    
    VBCCR18.StatusBar
    
    Public Enum SbrPanelStyleConstants
    SbrPanelStyleText = 0
    SbrPanelStyleCaps = 1
    SbrPanelStyleNum = 2
    SbrPanelStyleIns = 3
    SbrPanelStyleScrl = 4
    SbrPanelStyleTime = 5
    SbrPanelStyleDate = 6
    SbrPanelStyleKana = 7
    SbrPanelStyleHangul = 8
    SbrPanelStyleJunja = 9
    SbrPanelStyleFinal = 10
    SbrPanelStyleKanji = 11
    SbrPanelStyleHanja = 12
    End Enum
    
    
    ComCtlsDemo.StatusBar
    
    Public Enum SbrPanelDTFormatConstants
    SbrPanelDTFormatShort = 0
    SbrPanelDTFormatLong = 1
    SbrPanelDTFormatMedium = 2
    SbrPanelDTFormatGeneral = 3
    SbrPanelDTFormatCustom = 4
    End Enum
    
    
    
    
    VBCCR18.StatusBar
    
    Public Enum SbrPanelDTFormatConstants
    SbrPanelDTFormatShort = 0
    SbrPanelDTFormatLong = 1
    End Enum

  2. #4202

    Thread Starter
    PowerPoster
    Join Date
    Jun 2012
    Posts
    2,731

    Re: CommonControls (Replacement of the MS common controls)

    Quote Originally Posted by smileyoufu View Post
    Hello Krool !
    Hello! Thank you for providing the great VBCCR series controls. I have been using your controls for many years while developing software for clients. These controls are very convenient to use. I really appreciate your help, thank you so much!

    Here is some feedback: The 'StatusBar' control, 'Public Enum SbrPanelStyleConstants' and 'Public Enum SbrPanelDTFormatConstants' are inconsistent between 'ComCtlsDemo' and 'VBCCR18', with the specific situation as follows:
    Code:
    ComCtlsDemo.StatusBar
    
    Public Enum SbrPanelStyleConstants
    SbrPanelStyleText = 0
    SbrPanelStyleCaps = 1
    SbrPanelStyleNum = 2
    SbrPanelStyleIns = 3
    SbrPanelStyleScrl = 4
    SbrPanelStyleTime = 5
    SbrPanelStyleDate = 6
    SbrPanelStyleKana = 7
    SbrPanelStyleHangul = 8
    SbrPanelStyleJunja = 9
    SbrPanelStyleFinal = 10
    SbrPanelStyleKanji = 11
    SbrPanelStyleHanja = 12
    SbrPanelStyleDateTime = 13
    End Enum
    
    
    VBCCR18.StatusBar
    
    Public Enum SbrPanelStyleConstants
    SbrPanelStyleText = 0
    SbrPanelStyleCaps = 1
    SbrPanelStyleNum = 2
    SbrPanelStyleIns = 3
    SbrPanelStyleScrl = 4
    SbrPanelStyleTime = 5
    SbrPanelStyleDate = 6
    SbrPanelStyleKana = 7
    SbrPanelStyleHangul = 8
    SbrPanelStyleJunja = 9
    SbrPanelStyleFinal = 10
    SbrPanelStyleKanji = 11
    SbrPanelStyleHanja = 12
    End Enum
    
    
    ComCtlsDemo.StatusBar
    
    Public Enum SbrPanelDTFormatConstants
    SbrPanelDTFormatShort = 0
    SbrPanelDTFormatLong = 1
    SbrPanelDTFormatMedium = 2
    SbrPanelDTFormatGeneral = 3
    SbrPanelDTFormatCustom = 4
    End Enum
    
    
    
    
    VBCCR18.StatusBar
    
    Public Enum SbrPanelDTFormatConstants
    SbrPanelDTFormatShort = 0
    SbrPanelDTFormatLong = 1
    End Enum
    The ComCtlsDemo is the leading source. I can't make new features into the OCX immediatelly. So, they will be integrated into a future 1.9 OCX.

  3. #4203
    Addicted Member
    Join Date
    Oct 2014
    Posts
    131

    Re: CommonControls (Replacement of the MS common controls)

    Quote Originally Posted by Krool View Post
    The ComCtlsDemo is the leading source. I can't make new features into the OCX immediatelly. So, they will be integrated into a future 1.9 OCX.
    Hello Krool!
    Thanks for your quick reply, now I know how to handle this issue.

  4. #4204

    Thread Starter
    PowerPoster
    Join Date
    Jun 2012
    Posts
    2,731

    Re: CommonControls (Replacement of the MS common controls)

    Quote Originally Posted by smileyoufu View Post
    Hello Krool!
    Thanks for your quick reply, now I know how to handle this issue.
    I did a typelib edit for the VBCCR18.OCX and included those enums you mentioned. So, fixed so to say.

  5. #4205
    Addicted Member
    Join Date
    Oct 2014
    Posts
    131

    Re: CommonControls (Replacement of the MS common controls)

    Quote Originally Posted by Krool View Post
    I did a typelib edit for the VBCCR18.OCX and included those enums you mentioned. So, fixed so to say.
    Hello Krool!
    Your fix was super quick. I've applied the latest version you provided to the project.
    Thanks so much for your help!

  6. #4206
    Hyperactive Member
    Join Date
    Jan 2012
    Location
    Originally from Europe now in Panama
    Posts
    293

    Re: CommonControls (Replacement of the MS common controls)

    I have two questions about the listview control when being used in report view:

    1. Is it possible to "lock" columns on the left so that they remain visible when scrolling? If not directly, does anyone have a suggestion how to achieve such behavior (e.g. by hiding / unhiding columns when scrolling)

    2. Does anyone have an example of how to use the ColumnFilterBar? I can't find that in the demo.

    Thanks in advance,
    Erwin

  7. #4207
    PowerPoster Arnoutdv's Avatar
    Join Date
    Oct 2013
    Posts
    6,740

    Re: CommonControls (Replacement of the MS common controls)

    1. Use the vbFlexGrid control, also by Krool

  8. #4208

    Thread Starter
    PowerPoster
    Join Date
    Jun 2012
    Posts
    2,731

    Re: CommonControls (Replacement of the MS common controls)

    2. Check out the ColumnFilterChanged and ColumnFilterButtonClick event. Then a ColumnHeader has a EditFilter and ClearFilter method. Also a ColumnHeader has a FilterType and FilterValue property.
    So, obviously you react upon ColumnFilterChanged and use the FilterValue properties of the column to have the criteria to refresh and refeed the list according to that. That's your duty to handle that.

Page 106 of 106 FirstFirst ... 65696103104105106

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width