# FXRuby - change state of the window

**URL:** <https://www.ruby-forum.com/t/fxruby-change-state-of-the-window/252180>\
**Category:** FXRuby\
**Created:** [March 31, 2019, 2:02pm UTC](https://www.ruby-forum.com/t/fxruby-change-state-of-the-window/252180 "2019-03-31T14:02:11Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![stuckey96](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/s/da6949/32.png) [@stuckey96](https://www.ruby-forum.com/u/stuckey96)\
**Post date:** [March 31, 2019, 2:02pm UTC](https://www.ruby-forum.com/t/fxruby-change-state-of-the-window/252180/1 "2019-03-31T14:02:11Z")

</div>

Hi, guys, i am new to FXRuby.  
I have a problem, like this, in the MainWindow i have some frames, buttons, etc, when i click on the one of the buttons, i want to change state of the MainWindow, to have different labels, buttons, frames. Something like when you install something, on the button next, you go to next slide. How could i do that.  
Sorry for my bad English
