Form Controls properties
VE024
Member Posts: 17
Hi All,
Is it possible to dynamically change the form control properties like (Editable,visible).
Thanks & Regards,
Naidu. ](*,)
Is it possible to dynamically change the form control properties like (Editable,visible).
Thanks & Regards,
Naidu. ](*,)
0
Comments
-
Yes.
But in case your control is not table-bound (=a control that is a field of the table in the SourceTable of the form), you need to give them a name. Then you can use:
Currform."the control".VISIBLE(FALSE);
Currform."the control".EDITABLE(FALSE);Regards,Alain Krikilion
No PM,please use the forum. || May the <SOLVED>-attribute be in your title!0 -
Hi
You can use the following statement
CurrForm.VISIBLE := TRUE; or FALSE
CurrForm.EDITABLE := TRUE; or FALSE
CurrForm.ControlName.VISIBLE := TRUE; or FALSE
CurrForm.ControlName.EDITABLE := TRUE; or FALSE
Hope this helps
Albert0 -
Hi,
my control is table-bound. Is it possible to change the table-bound control properties in dynamic. Is there any alternative solution...
Thanks,
Naidu...0 -
Some properties can be changed at runtime, others not.
BUT if you want to change properties of a field, you need to program those.
There is no such truck as recordreference or fieldreference for the controls.Regards,Alain Krikilion
No PM,please use the forum. || May the <SOLVED>-attribute be in your title!0 -
Hi
some Properties are changed at runtime..
Ex...
If Editable Property is true then we can changed as yes or no.
If Editable Property is false then we can't changed as yes or no.
Because tables property are basics.
Hope this helps uDevendra Kr. Sharma
IBIZ Consulting Services,India0 -
Even if you set the visibility of a control on a form to FALSE, remember, any user can just press CTRL+F8 and see all the information. So, if it's confidential info, use 2 (or more) forms.0
Categories
- All Categories
- 75 General
- 75 Announcements
- 66.7K Microsoft Dynamics NAV
- 18.8K 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
- 611 NAV Courses, Exams & Certification
- 2K Microsoft Dynamics-Other
- 1.5K Dynamics AX
- 253 Dynamics CRM
- 103 Dynamics GP
- 6 Dynamics SL
- 1.5K Other
- 991 SQL General
- 383 SQL Performance
- 34 SQL Tips & Tricks
- 28 Design Patterns (General & Best Practices)
- Architectural Patterns
- 9 Design Patterns
- 4 Implementation Patterns
- 53 3rd Party Products, Services & Events
- 1.6K General
- 1K General Chat
- 1.6K Website
- 77 Testing
- 1.2K Download section
- 23 How Tos section
- 249 Feedback
- 12 NAV TechDays 2013 Sessions
- 13 NAV TechDays 2012 Sessions