CaptionClass On Labels

Jonathan2708
Jonathan2708 Member Posts: 552
Hi,

I have successfully used the CaptionClass property for dynamic column header captions on tableboxes, and now I want to use the same technique for labels on forms. I set the CaptionClass property in the same way but nothing happens. Is this property supported on label controls? The help seems to suggest it should be.

If not I guess I resort to textboxes and updating global variables.

Thanks,

Jonathan

Comments

  • kriki
    kriki Member, Moderator Posts: 9,129
    Regards,Alain Krikilion
    No PM,please use the forum. || May the <SOLVED>-attribute be in your title!


  • Marije_Brummel
    Marije_Brummel Member, Moderators Design Patterns Posts: 4,262
    It should work, remind to restart the client after every change in CU1, because this is by default SingleInstance.

    If it does not work you can put a breakpoint in CU1 and debug why it is not working.
  • kriki
    kriki Member, Moderator Posts: 9,129
    It should work, remind to restart the client after every change in CU1, because this is by default SingleInstance.
    Not correct. Codeunit 1 calls singleinstance-codeunits in case of NAS, but is not singleinstance itself.
    It is possible that older versions of Navision had a singleinstance codeunit.
    Regards,Alain Krikilion
    No PM,please use the forum. || May the <SOLVED>-attribute be in your title!


  • Marije_Brummel
    Marije_Brummel Member, Moderators Design Patterns Posts: 4,262
    That is not what I meant. Sorry.

    CU1 does not have the property singleinstance activated but acts the same way. After every change you need to close the database to make the changes active.