Categories > Coding > C# >

[QUESTION] Animate tab switches

aeon

Owner of Voyager

vip

Posts: 316

Threads: 28

Joined: Sep, 2022

Reputation: 15

Posted

Ok, so I have a tab system using windows, right like execution, settings, etc. I want to animate between the tabs, so you click the execution button (for that tab) and it animates it out kinda like a slide. Thanks.

  • 0

Added

rip bro no help :skull:

  • 0

Murz

PixelPenguin

Posts: 240

Threads: 20

Joined: Jul, 2021

Reputation: 29

Replied

maybe have it make a new tab then the text box slides in, i dont really use tabs so i have no idea how they work ngl but gl

  • 0

 

Ty for rep: Swiney, Byoke, Lion, Locust, Waves, Weeb, Nickk, darkn, Atari, CubeFaces, Lux14, Rice, Delta, Syraxes, Aeon, Jordan, Pluto, and Hiroku!

P.S, I like cats better too!

aeon

Owner of Voyager

vip

Posts: 316

Threads: 28

Joined: Sep, 2022

Reputation: 15

Replied

@Murz thanks but i meant not like script tabs, i already got that figured out but like the "windows" persay, execute, settings, hub, etc.

  • 0

marcus__

S.K.I.D

vip

Posts: 444

Threads: 23

Joined: Nov, 2022

Reputation: 29

Replied

@aeon

i think this nuget package could help. you might be able to slide in all the controls.

example: 

            new Animator2D(new Path2D(new Float2D(label1.Location.X, label1.Location.Y), new Float2D(label1.Location.X, label1.Location.Y + 10), 500)).Play(label1, Animator2D.KnownProperties.Location);

//first float2d is the starting position, second one is ending position, 500 is the time in miliseconds for the animation to happen
  • 0

!!!!!marcus__!!!!!#8611

https://cdn.discordapp.com/attachments/1066053366758780978/1078052772567597127/image.png

aeon

Owner of Voyager

vip

Posts: 316

Threads: 28

Joined: Sep, 2022

Reputation: 15

Replied

@87922 thanks, ill try that. maybe just start an animation or something when button click. also might use marcs nuget package to edit so its easier than guna2transition or something

  • 0

marcus__

S.K.I.D

vip

Posts: 444

Threads: 23

Joined: Nov, 2022

Reputation: 29

Replied

@87922 it might also be good to change the position instead 

 

  • 0

!!!!!marcus__!!!!!#8611

https://cdn.discordapp.com/attachments/1066053366758780978/1078052772567597127/image.png

RiceUsesArchBtw

rice cracker

vip

Posts: 465

Threads: 19

Joined: Aug, 2021

Reputation: 39

Replied

maybe try wpf :skull:

  • 0

https://cdn.discordapp.com/attachments/1023423265160560745/1132948683747500092/Frame_12x.png

aeon

Owner of Voyager

vip

Posts: 316

Threads: 28

Joined: Sep, 2022

Reputation: 15

Replied

  • 0

Users viewing this thread:

( Members: 0, Guests: 1, Total: 1 )