To resize it a bit automatically you can do the following commands to assign two keys (the Key_Add commands are single long lines!).
Unfortunately I didn't find out how to determine the scrollbar. If that would be possible, a single key would be enough.
So if there is a partly hidden character you have to press F11 if there is a scrollbar, or F12 if there is no scrollbar.
The commands will resize the window/application a bit smaller, so that the partly/hidden character is o.k.
//
// F11 if there is a vertical scrollbar visible
//
Key_Add("F11", "[VISUAL EXIT] if((Win_Width+16-FontW*Win_Cols)>1){ if(!Is_Zoomed){Win_Move(Win_Num,Win_X_Org,Win_Y_Org,FontW*(Win_Cols)+1+16,Win_Height)}else{Win_Move(App,App_X_Org,App_Y_Org,FontW*(Win_Cols)+1+16,App_Height)}}", OK)
//
// F12 if there is NO vertical scrollbar visible
//
Key_Add("F12", "[VISUAL EXIT] if((Win_Width-FontW*Win_Cols)>1){ if(!Is_Zoomed){Win_Move(Win_Num,Win_X_Org,Win_Y_Org,FontW*(Win_Cols)+1,Win_Height)}else{Win_Move(App,App_X_Org,App_Y_Org,FontW*(Win_Cols)+1,App_Height)}}", OK)
Christian
|
|