How to correct this distance error???

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.
  • You are using sub applications. This object won't zoom and change position relative to window size, you need to check on this in properties:
    Please login to see this picture.
    and set position&size manually.
    First you need to get the X and Y scale, you can calculate it by getting sizes from window control object, or you can use my extension (open source on github: Please login to see this link.), I made a expression to get X/Y Scale directly. When you go full screen, New X=Old X * XScale, New Y=Old Y * YScale, New Width=Old Width * XScale, New Height=Old Height* YScale, and divide the scale when you go windowed.

    我觉得你看英文可能比较费劲,但毕竟这里是英文论坛所以还是先用英文回答一遍,方便其他遇到类似问题的人搜索解决。
    你用的是子程序,这个对象不会根据窗口的大小进行缩放和调整相对位置,你需要先在属性里勾选
    Please login to see this picture.
    然后手动更新位置和大小。
    首先你需要拿到X和Y的缩放比例,你可以用Window Control对象返回当前窗口大小等等参数来手动计算,或者直接用我写的插件里面的表达式来获取(在Github上开源: Please login to see this link.)。切换到全屏时,X、Y坐标和长宽都需要乘以对应的系数,然后窗口化的时候要除以这个系数。
    兄弟你可以加个QQ群105119621,这些基础问题解决起来比在论坛上问要快得多,之前给你发私信你可能没看到。

  • 这个问题并不是只有子框架有这个问题,其它好多控件都有,如屏幕滚动轴扩展,列表查看扩展,edit 扩展在随意调整窗口大小时都会错位,你的这些扩展和例子我都有,而且似乎值入了木马,运行后自动退出,也并未解决我的问题,你做个例子发到这里看下

  • 这个问题并不是只有子框架有这个问题,其它好多控件都有,如屏幕滚动轴扩展,列表查看扩展,edit 扩展在随意调整窗口大小时都会错位,你的这些扩展和例子我都有,而且似乎值入了木马,运行后自动退出,也并未解决我的问题,你做个例子发到这里看下

    Here follows the example:
    Please login to see this attachment.

  • There is still virus injection. Open and exit

    well, it's not a virus actually.
    MMF use dlls as extensions (rename it to .mfx), some anti-virus software, expecially 360/Tencent will delete these files silently without user's permission, which is annoying. You need to add MMF path to trust list or remove .mfx files from quarantines and add them to trust list manually.

  • Quote

    In this instance, pressing the full screen button will eliminate the sub window


    Make sure you are using the newest version.

    Quote

    When resizing a window, the child windows do not follow the zoom and are not positioned correctly


    Gosh.....
    I can't do everything for you, you cannot make anything by just copy-pasting someone's code.
    It's quite easy to implement this: save the old frame rectangle size (IIRC I made a expression for this, in window->get rect), and re-check it in an always event. when it changes, then update the position/size of sub-application with the new frame scale.

Participate now!

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