![]() | |
![]() |
| | Thread Tools | Display Modes |
#1
| |||
| |||
|
#2
| |||
| |||
|
|
I have a form with a background image and a number of image controls superimposed over the background. The position of these images are defined by X,Y co-ordinates held in a table, so I presume they are regarded as twips.. All works perfectly on a computer with a screen resolution of 1600 * 900, though the effective size is 1600 * 860 allowing for the taskbar. If I view the form on another screen say resolution 1920 * 1032 or 1280 *1024, the images no longer overlay the background image in the correct relative position. Using VBA, I can read the screen resolution. How do I go about ensuring the form looks correct regardless of what monitor it is being vir=ewed on Thanks Phil |
#3
| |||
| |||
|
|
I have a form with a background image and a number of image controls superimposed over the background. The position of these images are defined by X,Y co-ordinates held in a table, so I presume they are regarded as twips.. All works perfectly on a computer with a screen resolution of 1600 * 900, though the effective size is 1600 * 860 allowing for the taskbar. If I view the form on another screen say resolution 1920 * 1032 or 1280 *1024, the images no longer overlay the background image in the correct relative position. Using VBA, I can read the screen resolution. How do I go about ensuring the form looks correct regardless of what monitor it is being vir=ewed on Thanks Phil |
#4
| |||
| |||
|
|
On Aug 29, 4:05*pm, "Phil" <p... (AT) stantonfamily (DOT) co.uk> wrote: I have a form with a background image and a number of image controls superimposed over the background. The position of these images are define d by X,Y co-ordinates held in a table, so I presume they are regarded as twips . All works perfectly on a computer with a screen resolution of 1600 * 900, though the effective size is 1600 * 860 allowing for the taskbar. If I vi ew the form on another screen say resolution 1920 * 1032 or 1280 *1024, the images no longer overlay the background image in the correct relative position. Using VBA, I can read the screen resolution. How do I go about ensuring the form looks correct regardless of what moni tor it is being vir=ewed on Thanks Phil Hi Phil, Just a guess. Calculate new X,Y coordinates in relation to the number of pixels horizontally and vertically. Imb. Hi Imb |
#5
| |||
| |||
|
|
On Aug 29, 10:05*am, "Phil" <p... (AT) stantonfamily (DOT) co.uk> wrote: I have a form with a background image and a number of image controls superimposed over the background. The position of these images are define d by X,Y co-ordinates held in a table, so I presume they are regarded as twips . All works perfectly on a computer with a screen resolution of 1600 * 900, though the effective size is 1600 * 860 allowing for the taskbar. If I vi ew the form on another screen say resolution 1920 * 1032 or 1280 *1024, the images no longer overlay the background image in the correct relative position. Using VBA, I can read the screen resolution. How do I go about ensuring the form looks correct regardless of what moni tor it is being vir=ewed on Thanks Phil If the users have Windows 7, try the suggestions at: http://msdn.microsoft.com/en-us/libr...71(VS.85).aspx James A. Fortune CDMAPoster (AT) FortuneJames (DOT) com |
#6
| |||
| |||
|
|
How do I go about ensuring the form looks correct regardless of what monitor it is being vir=ewed on Thanks Phil |
![]() |
| Thread Tools | |
| Display Modes | |
| |