I tried to make a simulation zoom in and zoom out on my application
the problem is when I reduce the btnbmp are reduced ok but then I cannot see the numbers
to draw a number I use on bPainted ( for each btnbmp) a function
FW_SayText( hDC, ;
ltrim( str( ncella ) ), ;
{ 30, 2, 48, 25 },,oBold, CLR_WHITE, nARGB(255, colororange) , .f. )
I understood it show the number on these coordinates { 30, 2, 48, 25 }
but id the btnbmp is big the number is moved
if the btnbmp is smaller I not see the number
how I can make to calculate the coordinates of each btnbmp and recalculate the right position of number on the btnbmp ?