Is it possible to pull the X and Y values for the current computer's resolution you are using in app?
Example:
Set Counter(X ) to [Current Computer X Resolution]
Set Counter(Y ) to [Current Computer Y Resolution]
Printable View
Is it possible to pull the X and Y values for the current computer's resolution you are using in app?
Example:
Set Counter(X ) to [Current Computer X Resolution]
Set Counter(Y ) to [Current Computer Y Resolution]
You can get these expressions through the Windows Control Object or the Kernel Object
https://dl.dropboxusercontent.com/s/...4%20-%2047.pnghttps://dl.dropboxusercontent.com/s/...4%20-%2048.png
EDIT: Okay, I did some tinkering, and I can now get the window to open to the exact resolution as to what the computer is currently using. However, after adjusting the window and frame size accordingly and switching to full screen, it drops the full screen resolution back to the default 640x480 value. I'm uploading a copy of the MFA and am open to suggestions. What I want is the resolution to stay at whatever the current computer's is set to when going to full screen mode.
Attachment 13897
have you tried the ultimate full screen object? IMO these days changing the users resolution is bad practice.
That's the thing, I want the app to match the current user's resolution. That way their resolution stays constant and the app resizes itself accordingly
I got it working the way I wanted to. The display settings have to be set to the maximum allowed resolution (in this case, 1920x1080). I now have the effect I want, but there's one last problem.
The image within the following screenshot is an active object which will act as a border for the app. I want this image to scale down to the exact resolution of the computer screen. Basically, I'm taking the current resolution divided by the maximum allowed (In this case, the scale would be 1366/1920 which gives me a value of 0.71, seen in the screenshot) and setting that value as the scale for the image. However, this makes the image fall a tad short of the frame width/height (as referenced by the green color).
Yes, I know this isn't very friendly when it comes to performance. I'm just tinkering and getting some practice in.
Is it possible to scale the image to the exact resolution value?
Attachment 13907
Done that. That part works fine. Now comes the challenge of forcing the image to scale to the edges of the frame.
Basically what I'm doing to make it scale is:
The formula to get the scale value is as follows:Code:Start of Frame
Set Position ("BordImg") to 0, 0
Set X Scale to (value("X Scale Counter")) (Quality = 0)
Set Y Scale to (value("Y Scale Counter")) (Quality = 0)
(value("Resolution X Counter")+0.0)/(1920+0.0) The value returned is in the screenshot above. Same as the Y scale.
Like I said, this is just practice. Haha. Trying to develop my skill so that I can make some apps or games later down the road. Thanks for the help.
EDIT: Okay, this works for the X size of the image. But when applied to the Y size, the green areas appear again.
Attachment 13909Attachment 13910
Scroll back up. Lol. Another issue arose.
Wow. I completely forgot about that. Thanks again.