How to disable any AC actions on a form

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #37485
    HeDiBo
    Participant

    As much as I like AC, I would like to have among my forms, a form which does not use any AC interference.

    The form uses only standard controls and is used as form to print from using the DevExpress Printing system.

    I added a SkinManager to the form and made SkinManager.Active := False. Then I added a SkinProvider, that refers to the local (inactive) SkinManager.

    Although the form's background is now unskinned, a TLabel placed on the form is still skinned.

    How can I disable all AC actions on a form and on the Print Preview form?

    #56700
    Support
    Keymaster

    Hello

    If you can change this form, then you can change the Tag property to 256. The form will not be skinned in this case (if TsSkinProvider is not placed there).

    If you haven't an access to the form, but you know a name of form class, then you can add this class name to the special ThirdPartySkipForms list.

    This list is declared in the sThirdParty.pas file and you can see an example of this list using there.

    Also, if TsSkinManager.SkinningRules.srStdForms is not enabled, then all forms will not be skinned if TsSkinProvider component is not placed there.

    #56709
    HeDiBo
    Participant
    'Support' wrote:

    Hello

    If you can change this form, then you can change the Tag property to 256. The form will not be skinned in this case (if TsSkinProvider is not placed there).

    If you haven't an access to the form, but you know a name of form class, then you can add this class name to the special ThirdPartySkipForms list.

    This list is declared in the sThirdParty.pas file and you can see an example of this list using there.

    Also, if TsSkinManager.SkinningRules.srStdForms is not enabled, then all forms will not be skinned if TsSkinProvider component is not placed there.

    Thanks a3.gif

Viewing 3 posts - 1 through 3 (of 3 total)
  • You must be logged in to reply to this topic.