luan2013

Forum Replies Created

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • in reply to: Sskinmanager #50005
    luan2013
    Participant

      thank resolved

      in reply to: Sskinmanager #49921
      luan2013
      Participant

        I can suggest two other ways :

        1. Change TLabel.Tag to -98 and this control will not be changed by skin.

        2. In the TsSkinProvider.OnSkinItem event add this line : if Item is TLabel then CanBeAdded := False;

        1 ° It will only work if set in own project label.tag: = -98.

        at runtime if you try label.tag: = -98 will not work

        2 ° will only work in the main form.

        If the Form is

        in Available Forms.

        in son form will not work

        thanks anyway

      Viewing 2 posts - 1 through 2 (of 2 total)