Results 1 to 40 of 4199

Thread: CommonControls (Replacement of the MS common controls)

Hybrid View

  1. #1
    Addicted Member
    Join Date
    Jul 2017
    Posts
    233

    Re: CommonControls (Replacement of the MS common controls)

    Quote Originally Posted by Krool View Post
    Doesnt' matter. InitVisualStyles and SetupVisualStyles also need to be applied when using OCX.
    For me it's not possible to integrate into OCX.
    Its responsibility of the application who use the OCX.
    this is the first time to know this point . I was using all the previous versions without these functions and it worked a bit fine except some casual crashes in IDE . This maybe the reason for these crashes , I will give it a try and report here .

    Before this reply , I was suspicious about the way I upgraded the ocx from 15 to 16 and I was intending to ask about it also .
    I have opened all the forms and modules and replaced VBCCR15 with VBCCR16 . Is this the proper way for upgrading from one version to another ?

  2. #2
    Fanatic Member
    Join Date
    Apr 2015
    Posts
    536

    Re: CommonControls (Replacement of the MS common controls)

    LABELW REFRESH PROBLEM

    A LabelW gets a new caption in a loop.

    To let it display, I let it .Refresh.
    This has no effect.
    The new caption is not displayed.

    I tried with an intrinsic label, and that works ok.

    And surprise, if an intrinsic label gets the .Refresh, then the LabelW updates as well.
    A miracle...

    Try in the attached sample.
    To see LabelW becoming lazy, it is sufficient to set the standard label .Visible = false.

    Thank you


    Label Refresh.zip

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