I have been working on an app that will be run on resolutions of: 800, 1024 and 1280.
I have been testing out the anchor feature and form what I can see, that works well for forms where all objects are aligned to one side of the screen. for example, there are 2 images attached: main and transaction, on the main form, all objects align to one side or another and i manage to get that looking identical on both 1024 and 1280, from the looks of it, it would defiantly work well on 800 also.
However, have a look at the transaction form, there's nothing that the anchor toolbar can do to make that resize correct.
I have come to the realization that it�s because there are so many objects that aren�t against any side of the screen.
I tried duplicating the forms, 3 of each form , one for each resolution then have the app check for the screen size to see which form to load, but that got tedious to maintain because I have to maintain 3 different set of very identical codes (on each form), and it was opening me up to errors with the form names (main_800, main_1024, main_1280), I religiously kept calling the wrong form for mistake and since there are a lot of dialogues forms that perform various calculations and then enter the data back to the main form, it wasn�t working out.
My latest thought on it is to create 3 sets of code under the code tab, and have the form check the screen size to see which of these codes to call; each one would resize the objects to preset values using the "Object Properties" action. That also is very tedious.
What i think would give a nice start to accomplishing this task on a form like the transaction attached is; if I could group all the abject and then set the anchors to all four sides: left, right. Top and bottom.
What I would like to know is, has anyone figured how a better way to manage multiple resolutions that the anchor toolbar? a method that doesnt just blindly resize or move objects, but can perform some kind of analizing on the objects.
I have been testing out the anchor feature and form what I can see, that works well for forms where all objects are aligned to one side of the screen. for example, there are 2 images attached: main and transaction, on the main form, all objects align to one side or another and i manage to get that looking identical on both 1024 and 1280, from the looks of it, it would defiantly work well on 800 also.
However, have a look at the transaction form, there's nothing that the anchor toolbar can do to make that resize correct.
I have come to the realization that it�s because there are so many objects that aren�t against any side of the screen.
I tried duplicating the forms, 3 of each form , one for each resolution then have the app check for the screen size to see which form to load, but that got tedious to maintain because I have to maintain 3 different set of very identical codes (on each form), and it was opening me up to errors with the form names (main_800, main_1024, main_1280), I religiously kept calling the wrong form for mistake and since there are a lot of dialogues forms that perform various calculations and then enter the data back to the main form, it wasn�t working out.
My latest thought on it is to create 3 sets of code under the code tab, and have the form check the screen size to see which of these codes to call; each one would resize the objects to preset values using the "Object Properties" action. That also is very tedious.
What i think would give a nice start to accomplishing this task on a form like the transaction attached is; if I could group all the abject and then set the anchors to all four sides: left, right. Top and bottom.
What I would like to know is, has anyone figured how a better way to manage multiple resolutions that the anchor toolbar? a method that doesnt just blindly resize or move objects, but can perform some kind of analizing on the objects.