prevent a window from being changed by alphaskin

Viewing 14 posts - 1 through 14 (of 14 total)
  • Author
    Posts
  • #37137
    rodrigo-ogioni
    Participant

    good evening,

    reports have a component , the name is strong report , and I wish that when this report was opened, the AlphaControls not alter the title of the window and the other forms used by this component. Because at some times are getting transparent . Has as?

    #55549
    Support
    Keymaster

    Hello!

    You can try this code:

    Code:
    uses sThirdParty;

    ThirdPartySkipForms.Add('TYourFormClassName');

    Call this code once and use a name of your form class there.

    #55551
    rodrigo-ogioni
    Participant

    Good Morning,

    I tried that way inserting the component class

    ThirdPartySkipForms.Add('TRLReport');

    and I tried this otherwise placing the form name where the component is located :

    ThirdPartySkipForms.Add('TFRLClientes');

    In both situations the skin remains applied

    is there any other way?

    Grateful

    #55552
    Support
    Keymaster

    When you calls this code? Are you sure this code is executed?

    #55553
    rodrigo-ogioni
    Participant
    'Support' wrote:

    When you calls this code? Are you sure this code is executed?

    Good afternoon,

    I tried in various places, both in the form where is the skinmanager component , as in the form where is the report .

    I believe you are doing something wrong , but I'm not sure .

    Grateful

    #55554
    Support
    Keymaster

    I have checked it now, this code should work.

    Are you sure this code is executed?

    Try to insert it in the OnCreate event of the main form.

    #55555
    rodrigo-ogioni
    Participant

    [attachment=7890:imgthirdparyskipforms.png]

    'Support' wrote:

    I have checked it now, this code should work.

    Are you sure this code is executed?

    Try to insert it in the OnCreate event of the main form.

    I was in the main form and put this command in oncreate,

    ThirdPartySkipForms.Add('TRLReport');

    but still the skin being applied .

    Have I done right?

    Thanks

    #55556
    Support
    Keymaster

    Thanks for screenshots.

    I see “FQRClientes” in the caption of the form.

    Are you sure that correct class name used? TFRLClientes?

    Please, show a screenshot of the object inspector for this form.

    By the way, this procedure parameter is case-sensitive.

    #55563
    rodrigo-ogioni
    Participant
    'Support' wrote:

    Thanks for screenshots.

    I see “FQRClientes” in the caption of the form.

    Are you sure that correct class name used? TFRLClientes?

    Please, show a screenshot of the object inspector for this form.

    By the way, this procedure parameter is case-sensitive.

    Good afternoon,

    Please find attached the image requested !

    Tanks!

    #55562
    Support
    Keymaster

    So, you should use this code:

    Code:
    ThirdPartySkipForms.Add('TFQRClientes');

    Also, if this form may be changed – just change the Tag property to 256, form will not be skinned in this case.

    #55561
    rodrigo-ogioni
    Participant
    'Support' wrote:

    So, you should use this code:

    Code:
    ThirdPartySkipForms.Add('TFQRClientes');

    Also, if this form may be changed – just change the Tag property to 256, form will not be skinned in this case.

    would

    ThirdPartySkipForms.Add('TFQRClientes');

    FQRClientes.tag := 256;

    would that be right?

    Thanks

    #55560
    Support
    Keymaster

    This is two different solutions, you can use one from these two lines.

    Code:
    ThirdPartySkipForms.Add('TFQRClientes');

    or

    Code:
    FQRClientes.tag := 256;

    Is this your form? Be sure that TsSkinProvider component is not placed on this form.

    #55559
    rodrigo-ogioni
    Participant
    'Support' wrote:

    This is two different solutions, you can use one from these two lines.

    Code:
    ThirdPartySkipForms.Add('TFQRClientes');

    or

    Code:
    FQRClientes.tag := 256;

    Is this your form? Be sure that TsSkinProvider component is not placed on this form.

    Good mornig,

    must be why then. I have TsSkinProvider in all my forms 😮

    to maintain a standard behavior on all windows . I could keep a pattern without using TsSkinProvider ?

    Thanks

    #55558
    Support
    Keymaster

    TsSkinProvider component adds a skinning to the form, remove this component.

    All AlphaControls components will be skinned without TsSkinProvider.

    Standard controls and third-party controls requires TsSkinProvider component.

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