TsSkinManager.Options.ScaleMode: how to use?

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #37610
    AntonioBI
    Participant

    He, I'm try to resize my form using the component TsSkinManager.

    The property Options.ScaleMode gives the ability to vary the size (with and height) of the form, changing (at design time) the value from smOld to (for example) sm125: it works ok.

    How to change the design-time value during run-time phase?

    Tha values “sm…” is of type TacScaleMode, but the compiler don't accept “var Bm: TacScaleMode” or similar, nor assigning the new value sm100, sm125… to the property is accepted.

    Thanks

    #57108
    Support
    Keymaster

    Hello

    These parameters are declared in the sSkinManager.pas

    You should add this unit in the 'uses' clause, I think.

    #57112
    AntonioBI
    Participant
    'Support' wrote:

    You should add this units in the 'uses' clause…

    Oh, yes, very stupid!!

    In the uses is declared “SkinProvider” and I read “SkinManager”… very stupid!!

    Thanks very much.

    Antonio

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