Accessing form-controls by index in repetitive statements

buff
Member Posts: 8
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
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
0
Comments
-
No, you cannot make a change to controls dynamically.
SB.0 -
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?...0 -
If you can, send it to MS... Suggestion tools.... (if you are from NSC)0
-
Hi there,
thank you for your answers - if i find any kind of solution for this :-k i'll let you know...
buff0
Categories
- All Categories
- 73 General
- 73 Announcements
- 66.6K Microsoft Dynamics NAV
- 18.7K NAV Three Tier
- 38.4K NAV/Navision Classic Client
- 3.6K Navision Attain
- 2.4K Navision Financials
- 116 Navision DOS
- 851 Navision e-Commerce
- 1K NAV Tips & Tricks
- 772 NAV Dutch speaking only
- 617 NAV Courses, Exams & Certification
- 2K Microsoft Dynamics-Other
- 1.5K Dynamics AX
- 320 Dynamics CRM
- 111 Dynamics GP
- 10 Dynamics SL
- 1.5K Other
- 990 SQL General
- 383 SQL Performance
- 34 SQL Tips & Tricks
- 35 Design Patterns (General & Best Practices)
- 1 Architectural Patterns
- 10 Design Patterns
- 5 Implementation Patterns
- 53 3rd Party Products, Services & Events
- 1.6K General
- 1.1K General Chat
- 1.6K Website
- 83 Testing
- 1.2K Download section
- 23 How Tos section
- 252 Feedback
- 12 NAV TechDays 2013 Sessions
- 13 NAV TechDays 2012 Sessions