Options

Changing Form's size in 4.0

IngEolRuinIngEolRuin Member Posts: 23
Hi,

in Navision (before 4.0) one could change the current form by issueing a simple:
CurrForm.WIDTH := 100;
CurrForm.HEIGHT := 100;

Now it seems this feature is gone :(

One can change the size with the "new" WIDTH() function ...

This works fine if one changes a variable like:
MyFormVar.WIDTH(100);

BUT ... using the good old "CurrForm" systemvariable to change the actual form just issues an error:
CurrForm.WIDTH(100);

WIDTH is not a function, and only functions can be called with '(...'

Any ideas how to get this working in Navision 4.0 ?

Best Regards,

Eol
=(there is no question that cannot be used if we use our brain)=

Comments

  • Options
    toennetoenne Member Posts: 38
    Hi Arno,

    i can't find any (new) misfunction in dynamically change size of a form.
    the compiler error you get may result from a control named "width" within then current form?!

    please check
  • Options
    IngEolRuinIngEolRuin Member Posts: 23
    toenne wrote:
    Hi Arno,

    i can't find any (new) misfunction in dynamically change size of a form.
    the compiler error you get may result from a control named "width" within then current form?!

    please check

    Yeah, Yeah ... the good old "width" field ;)

    Damn, I really forgot about this ...

    Thanks, Toenne
    =(there is no question that cannot be used if we use our brain)=
Sign In or Register to comment.