Fit a form size

foronavisionforonavision Member Posts: 79
Hello, I need that a form size fits on the basis of the user's screen resolution.
How can i get it??

Thanks a lot!!

Comments

  • krikikriki Member, Moderator Posts: 9,110
    You need to fit the form for the smallest screen. In Navision, you cannot directly get the size of the screen. You would need to use some dll-call (but which?) to do it.
    The best you can do is to use the properties "HorzGlue" and "VertGlue" to make the controls automatically larger/smaller when the form changes size.
    Regards,Alain Krikilion
    No PM,please use the forum. || May the <SOLVED>-attribute be in your title!


  • foronavisionforonavision Member Posts: 79
    First, thanks for your reply.
    I'm working with the properties horzglue and vertglue, but we would need other solution. dll would be very well, but like you say me, which is the dll needed?
  • krikikriki Member, Moderator Posts: 9,110
    First, thanks for your reply.
    I'm working with the properties horzglue and vertglue, but we would need other solution. dll would be very well, but like you say me, which is the dll needed?
    Like I wrote: I don't know. I don't even know if something like this exists (probably it does). But I don't think it is useful, because even if your user has a monstrous screen, maybe he uses only a part of it for the Navision-window.
    Regards,Alain Krikilion
    No PM,please use the forum. || May the <SOLVED>-attribute be in your title!


  • Yaroslav_GaponovYaroslav_Gaponov Member Posts: 158
    edited 2008-04-23
    Hi

    I think form can resizing only in relative with main NAV form.
    May be in wizard forms in NAV you look for something.
  • foronavisionforonavision Member Posts: 79
    sorry, where can i see wazard forms?
  • Yaroslav_GaponovYaroslav_Gaponov Member Posts: 158
    sorry, where can i see wizard forms?

    for example form 5113
Sign In or Register to comment.