Get form controls ?

MtamimiiMtamimii Member Posts: 7
Dear all

Please help me haw can i get the controls like buttons, Texts, labels..... etc of specific Form by code. :-k

My goal here that i want to create codeunit that read passed form controls and store there IDs into table.


thanks...

Comments

  • DaveTDaveT Member Posts: 1,039
    Hi Mtamimii,

    The only way I can think of is to export the object to text and process the text file :roll:

    If you can give a more detailed explaination we might be able to point you in the right direction.
    Dave Treanor

    Dynamics Nav Add-ons
    http://www.simplydynamics.ie/Addons.html
  • kinekine Member Posts: 12,562
    There is no runtime access to the controls through some dynamics variables. You can work with the controls just only through code defined during design time... sorry, but NAV is focused on Business logic, not the have dynamic UI. 8)
    Kamil Sacek
    MVP - Dynamics NAV
    My BLOG
    NAVERTICA a.s.
  • MtamimiiMtamimii Member Posts: 7
    I found that user can't get form controls at run time. :cry:

    Thanks all for yours help.
    Best Regards
Sign In or Register to comment.