Accessing form-controls by index in repetitive statements

buffbuff Member Posts: 8
edited 2005-04-01 in Navision Attain
Hello Forum,

is there a way to access controls on a form in a repetitive statement?
The controls could be numered like tb_01, tb_02, ..., tb_n and shall then be addressed in a FOR-Statement like

FOR idx := 0 TO n DO
IF X=Y THEN
tb_+"idx".VISIBLE := FALSE
ELSE
tb_+"idx".VISIBLE := TRUE

Thanks for your help...

Buff

Comments

  • SbhatSbhat Member Posts: 301
    No, you cannot make a change to controls dynamically.

    SB.
  • fbfb Member Posts: 246
    We may not be able to do it, but we can still hope, can't we...

    With v3.x, the C/SIDE angels gave us recordref, fieldref and keyref.

    Maybe with v5.x they will bless us with formref and controlref...

    Maybe? Huh? Please?...
  • kinekine Member Posts: 12,562
    If you can, send it to MS... Suggestion tools.... (if you are from NSC)
    Kamil Sacek
    MVP - Dynamics NAV
    My BLOG
    NAVERTICA a.s.
  • buffbuff Member Posts: 8
    Hi there,

    thank you for your answers - if i find any kind of solution for this :-k i'll let you know...

    buff
Sign In or Register to comment.