How to hide a label from

Leroy
Member Posts: 199
Hello, I'd like to know how I can hide a a flange or label from a card.
Thanks.
Thanks.
0
Comments
-
Use following C/AL Code in the OnOpenForm or OnAfterGetRecord trigger:
CurrForm.myControl.VISIBLE := FALSE;
No support using PM or e-mail - Please use this forum. BC TechDays 2024: 13 & 14 June 2024, Antwerp (Belgium)0 -
Thank you for answerd. One question, on "myControl", you mean the name of the label?, I put it but don't recongnise it.0
-
Give the label a name using the Name-propertyNo support using PM or e-mail - Please use this forum. BC TechDays 2024: 13 & 14 June 2024, Antwerp (Belgium)0
-
Do place the code in the proper place so that the code gets triggered..that's the final step that you need to doDiptish Naskar
For any queries you can also visit my blog site: http://msnavarena.blogspot.com/0 -
Thanks both for help but I can't do it; It hides me all the card, not the label I want. I've put a name in the properties but it doesn't works. Any idea else please?.
Thanks.0 -
That's the problem, I can't select only the label that I want to select the properties, it selects all the form and, of course, it hides everything. Any solution?.0
-
I put the code CurrForm.Warehouse.VISIBLE := FALSE; in the OnOpenForm or OnAfterGetRecord trigger. (Warehouse is the name of the label).0
-
Sorry, I've get it. I've erased all the fields from de label and after that I've deleted the name of the label from the PageName control.
Thanks fot the help.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