Good morning all,
Anybody knows how to control the scrolls in Navision 4 ?
I've a form, some of the controls can be enabled or disabled. When Navision disables some controls, it can resize the form to have the exact necessary size, but, it leaves the scrolls....
How can i supress them ?
The code to update the form size when a control is enabled or disabled is the next:
//Form Global sizes & positions
CurrForm."Comments Using".YPOS := LastPosition + 880;
CurrForm.CommentLabel.YPOS := LastPosition + 880;
CurrForm.HEIGHT := LastPosition + 2300;
CurrForm.Frame1.HEIGHT := LastPosition + 1300;
CurrForm.Functions.YPOS := LastPosition + 1700;
CurrForm.Detail.YPOS := LastPosition + 1700;
Thanks a lot for your help and have a nice Easter !
Comments
MVP - Dynamics NAV
My BLOG
NAVERTICA a.s.