View Single Post
  #11  
Old 30-06-2024, 12:24
hitman797's Avatar
hitman797 hitman797 is offline
Registered User
 
Join Date: Feb 2013
Location: Algeria
Posts: 168
Thanks: 486
Thanked 202 Times in 122 Posts
hitman797 is on a distinguished road
Quote:
Originally Posted by CrownRepack View Post
Hi, in the Steam Limitless installer, i noticed something that i like, that is the animation of the game info, when the button is clicked, the game info expands downwards pushing the other tabs down too, anyone can help me with identifying which code is responsible for that, i want to implement it into my installer.

I tried copying the code of one of the animations and changing it according to my installer, the animation works, but then it doesnt push anything in its way downwards like in Steam Limitless installer. I can't figure it out. Thanks in advanced!
Code:
    //About Game Button
    TObject(Button[2].GetObject): begin
      SectionContent[1].Visible(True);
      SectionContent[2].Visible(False);
      Button[3].Enabled(False);

      if GameInfoSection[1].GetHeight = 0 then begin
        AnimSection[1].SetValues(0, 150);
        TabAnim.SetValues(70, 230);
      end else if GameInfoSection[1].GetHeight = 150 then begin
        AnimSection[1].SetValues(150, 0);
        TabAnim.SetValues(230, 70);
        Button[3].Enabled(True);
      end;
      AnimSection[1].Enabled(True);
      TabAnim.Enabled(True);
    end;
Reply With Quote
The Following 4 Users Say Thank You to hitman797 For This Useful Post:
audiofeel (03-07-2024), Behnam2018 (04-07-2024), CrownRepack (03-07-2024), Fak Eid (01-07-2024)