Disabling alphaskin

Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #36409
    Pierrotsc
    Participant

    When i try to scan from delphi, the epson twain pops up and it is skinned. The problem is that some of the buttons are not available.

    Is it possible to disable alphaskin when the epson twain module opens?

    Thanks.

    Pierre

    #52971
    Support
    Keymaster

    Hello

    You can disable a skinning of dialogs by this code: sSkinManager1.SkinningRules := sSkinManager1.SkinningRules – [srThirdParty]

    Enable: sSkinManager1.SkinningRules := sSkinManager1.SkinningRules + [srThirdParty]

    Write again if it doesn't helps.

    #52984
    Pierrotsc
    Participant
    'Support' wrote:

    Hello

    You can disable a skinning of dialogs by this code: sSkinManager1.SkinningRules := sSkinManager1.SkinningRules – [srThirdParty]

    Enable: sSkinManager1.SkinningRules := sSkinManager1.SkinningRules + [srThirdParty]

    Write again if it doesn't helps.

    The scanning form is not on the main form so i have to use mainform.skinmanager.skinningrules to point it to the right thing. Now i get a red line under srthirdparty. What code do i need to write to point it to the skinmanager on the mainform?

    Thanks.

    Peter

    #52985
    mol
    Participant
    'Pierrotsc' wrote:
    What code do i need to write to point it to the skinmanager on the mainform?

    uses

    sSkinManager;

    on your scanning form?

    -Uwe

    #52986
    Support
    Keymaster

    You can change this property in design-time in the object inspector.

    #52988
    Pierrotsc
    Participant
    'mol' wrote:

    uses

    sSkinManager;

    on your scanning form?

    -Uwe

    Thanks…That did it.

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