Change Frame width at runtime.

Welcome to our brand new Clickteam Community Hub! We hope you will enjoy using the new features, which we will be further expanding in the coming months.

A few features including Passport are unavailable initially whilst we monitor stability of the new platform, we hope to bring these online very soon. Small issues will crop up following the import from our old system, including some message formatting, translation accuracy and other things.

Thank you for your patience whilst we've worked on this and we look forward to more exciting community developments soon!

Clickteam.
  • Is this a bug in MMF2? I mean if you say in the code to set frame width to x it should do it.

    Your solution worked by the way. Thanks. I did notice that with MMF, after changing the setting in my code, I had to run the application twice to see the frame really change size. This appears to be a small bug in MMF.

  • Huh? Window control is only needed if you want to change the seize of the frame window the space the frame is displayed in. You can change the frame width from the Storyboard object.

    Working as fast as I can on Fusion 3

  • The "Set Frame Width/Height" actions in the Storyboard Object don't really change the frame size.
    You can set a counter to the frame dimensions - the counter is changed, but the frame size visible in the window is not updated.
    You need the Window Control Object and the "Set Width/Height of frame, adjust frame size = 1" action to get it to work.

  • Hi Quinto,
    Just to give a trivial example: assume a small game with scrolling. The frame could be 2000x2000 and the visible part only 640x480 (frame's window). But the application window may fill the entire screen, let's say with 1024x768 resolution. In these case you will have a colored border around the frame window and the final dimensions will be:
    - Main window 1024x768
    - Frame window 640x480
    - Frame 2000x2000

    Now, assume a software having a large interface, in this case you may have the frame window and the main window at the same size, but the frame having a larger dimension (with scrollbars probably).

    ouly

    Please login to see this link.

Participate now!

Don’t have an account yet? Register yourself now and be a part of our community!