Large Dynamic Caption problem

JNav
JNav Member Posts: 12
Hello everyone.

Got a problem here. I need to change caption of the form column on runtime. Everything goes smooth following the method described by kriki: '3,' + CaptionArray[], until i run into captions that have length bigger than 80 (some go up to 200). Is there any elegant solution to this without "invading" Codeunit 1 ?

Answers

  • einsTeIn.NET
    einsTeIn.NET Member Posts: 1,050
    Yes, there is. You could shorten your captions. :wink: I can't believe that there is no possibility for shorter captions.
    "Money is likewise the greatest chance and the greatest scourge of mankind."
  • JNav
    JNav Member Posts: 12
    Yes, I could. The client just does not want that.
  • kitik
    kitik Member Posts: 230
    I guess that you use caption, not as a "header" but for help purposes.
    You could use the ToolTip for that, and stay under 80 for captions.

    Salut!
    Laura Nicolàs
    Author of the book Implementing Dynamics NAV 2013
    Cursos Dynamics NAV (spanish) : http://clipdynamics.com/ - A new lesson released every day.
  • JNav
    JNav Member Posts: 12
    Thanks.
    I was thinking about doing it this way
  • kine
    kine Member Posts: 12,562
    Yes, definitely, if you "need" caption longer than 80 chars, there is something wrong... and should be done in another way...
    Kamil Sacek
    MVP - Dynamics NAV
    My BLOG
    NAVERTICA a.s.