Icon/Bitmap background
Posted: Thu Jan 16, 2020 8:27 am
Roger.
A while back you gave me a method to have the clients icon as the background for our application..works great for them.
They all connect via remote access, same screen sizes,etc.
We have found in testing centering it is difficult for different work station set ups For example, for my work station 1920x1080 with 150% it is perfectly centered. Next work station in old win7 with 125% it is way left of center.
Users can have any display settings, although most would be close to the standard.
Any method to handle this? The centering is a var based on icon size,etc that is set in an ini file (ie, bitmap name, and two locations qqbitn1 and 2)
I doubt it but thought I would ask.
@ -5,50 DCSTATIC TYPE XBPSTATIC_TYPE_BITMAP SIZE qqbitn1,qqbitn2 OBJECT oStatic ;
RESIZE DCGUI_RESIZE_RESIZEONLY COLOR nil, GRA_CLR_WHITE ;
CAPTION qqbitmap2 ;
PREEVAL {|o|o:options := XBPSTATIC_BITMAP_SCALED}
Fred
Omni
A while back you gave me a method to have the clients icon as the background for our application..works great for them.
They all connect via remote access, same screen sizes,etc.
We have found in testing centering it is difficult for different work station set ups For example, for my work station 1920x1080 with 150% it is perfectly centered. Next work station in old win7 with 125% it is way left of center.
Users can have any display settings, although most would be close to the standard.
Any method to handle this? The centering is a var based on icon size,etc that is set in an ini file (ie, bitmap name, and two locations qqbitn1 and 2)
I doubt it but thought I would ask.
@ -5,50 DCSTATIC TYPE XBPSTATIC_TYPE_BITMAP SIZE qqbitn1,qqbitn2 OBJECT oStatic ;
RESIZE DCGUI_RESIZE_RESIZEONLY COLOR nil, GRA_CLR_WHITE ;
CAPTION qqbitmap2 ;
PREEVAL {|o|o:options := XBPSTATIC_BITMAP_SCALED}
Fred
Omni