Change control properties in Run-time in RTC

mordred
Member Posts: 14
I have a Page where I want only few users see information.
When write this CurrPage.Control Name.VISIBLE(FALSE) in classic is OK
But in tailored display an error. VISIBLE() is obsoleted.
Which command can help me to change the property visible in a control in run time?
When write this CurrPage.Control Name.VISIBLE(FALSE) in classic is OK
But in tailored display an error. VISIBLE() is obsoleted.
Which command can help me to change the property visible in a control in run time?
0
Comments
-
Hi mordred,
Below link may help you to resolve your Issue.
viewtopic.php?f=32&t=33236&hilit=visiblE+property+in+RTC
Thanks,
Mallikarjuna0 -
I have problems changing the visibility of a page control in NAV 2009 R2. The properties „Enabled“ and „Editable“ are working fine but „Visible“ not. I put in a global variable and update it in the OnAfterGetRecord-Trigger. Doesn’t it work anymore in R2?0
-
You have to change the globalvariable property to include it in dataset.1
-
Sure, I know, but I tried the same variable for "Enabled" and "Editable" and it worked fine. Only the "Visible"-Property is making problems (although filling in "True" or "False" works right). Has somebody used "Visible" with a variable in the new R2-Version?0
-
I have been looking into the code for R2 related to control visibility handled by global variables. It looks like only groups and part controls with pages inside can have visibility controlled. This means that individual controls cannot be controlled from AL code.
I will do further investigations when the devs in this area are back after vacation.Eric Beran
Software Design Engineer II
Dynamics NAV Office 365
Microsoft
This posting is provided "AS IS" with no warranties, and confers no rights.0 -
Great! Thanks a lot! :thumbsup:0
-
The same here on R2, dynamic change of visible property for fields in ListPlus page didn't worked, Enabled property works good.0
-
Thanks a lot !!!!!0
-
You may want to look into the HideValue property (new for pages).0
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