Form not scaling Root › Technical support › Troubleshooting This topic has 6 replies, 3 voices, and was last updated 5 years, 4 months ago by Support. Viewing 7 posts - 1 through 7 (of 7 total) Author Posts July 5, 2019 at 6:32 pm #38313 Stephane SenecalParticipant I'm trying to figure out why a form in my app does not scale. Can you tell my where the scaling occurs in AlphaSkins libraries? Stephane Senecal CIS Group Delphi programmer since 2001 July 6, 2019 at 4:43 am #59731 SupportKeymaster Hi Please, look this article: http://www.alphaskins.com/showdoc.php?l=en&n=21 You can find some useful information about scaling in the package and maybe, your questions are answered there. If you have questions still, I'm ready to answer them here. July 6, 2019 at 1:23 pm #59732 SzakiLaciParticipant 'Stephane wrote: I'm trying to figure out why a form in my app does not scale. Can you tell my where the scaling occurs in AlphaSkins libraries? Are you using it the default delphi-way? (OnShow event) For me, this works: Code: type Form1 = class(TForm) … private already_scaled_once: Boolean; end; … procedure TForm1.create(Sender: TObject); begin already_scaled_once := False; end; procedure TForm1.FormShow(Sender: TObject); if not already_scaled_once then begin already_scaled_once := True; ScaleBy(200,100); end; end; (In this case it works even if the Skin turned OFF.) July 8, 2019 at 2:39 pm #59745 Stephane SenecalParticipant It didn't help. I wanted to know in what Unit-Function forms were scaled so I can debug it. Stephane Senecal CIS Group Delphi programmer since 2001 July 11, 2019 at 6:22 am #59749 SupportKeymaster Hello, Stephane Do you need a one-time scaling for support of system DPI when program is loading? Or, do you need a changing of DPI by user in real-time? July 11, 2019 at 12:13 pm #59751 Stephane SenecalParticipant One time loading at form creation. Delphi 7 does not support real time dpi changing unfortunately. Stephane Senecal CIS Group Delphi programmer since 2001 July 11, 2019 at 1:59 pm #59752 SupportKeymaster But AlphaControls can do it under Delphi 7 You saw an official demo? You tried to use the TsSkinManager.Options.ScaleMode property? Author Posts Viewing 7 posts - 1 through 7 (of 7 total) You must be logged in to reply to this topic. Log In Username: Password: Keep me signed in Log In Root › Technical support › Troubleshooting