Forms and scrolls menus

philippegirodphilippegirod Member Posts: 191
edited 2005-03-24 in Navision Attain
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 !
My candle burns by both ends, it will not last the night,
But oh my foes and oh my friends, it gives a lovely light

Comments

Sign In or Register to comment.