Results 1 to 40 of 4199

Thread: CommonControls (Replacement of the MS common controls)

Threaded View

  1. #11
    Lively Member
    Join Date
    Oct 2016
    Posts
    115

    Re: CommonControls (Replacement of the MS common controls)

    Quote Originally Posted by OldClock View Post
    Kr00l I'm having an issue with the CommonDialog. I placed one on MDIForm1, then I need to use it from some module:
    Code:
        Dim cDlg As VBCCR16.CommonDialog
        Set cDlg = MDIForm1.ComDlg
    This results in:


    Same if I do:
    Code:
        Dim cDlg As CommonDialog
        Set cDlg = MDIForm1.ComDlg
    I now looked inside MDIForm1.frm and see this:
    Code:
       Begin MSComDlg.CommonDialog ComDlg
    How do I place a VBCCR16 CommonDialog instead of a MSComDlg? I only have one CommonDialog button in the Toolbox...
    Name:  screenshot_20200515_115202.png
Views: 2529
Size:  15.9 KB
    in mdiForm
    Code:
    Public cDlogM As VBCCR16.CommonDialog
    in user Form/Module
    Code:
    Dim cDlogF As VBCCR16.CommonDialog
    
    Set  MDIForm1.cDlogM  = New VBCCR16.CommonDialog
    set cDlogF = MDIForm1.cDlogM
    Last edited by Semke; May 15th, 2020 at 05:31 AM.

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