Resetting a control at runtime?

Ian_Bachus
Member Posts: 21
Hello,
I was wondering if anyone knows if it is possible to reset a control to it's defaulted values at runtime? For example, if you have a table box on a form and someone resizes the rows really small, can you click a button and the table box control goes back to it's compiled attribute settings? These values are saved in the ZUP so you would have to either manually fix the rows or delete the ZUP and close and reopen Navision. I can't think of a way to reset the control to it's compiled attributes during runtime but I thought maybe someone out there does.
Thanks!
I was wondering if anyone knows if it is possible to reset a control to it's defaulted values at runtime? For example, if you have a table box on a form and someone resizes the rows really small, can you click a button and the table box control goes back to it's compiled attribute settings? These values are saved in the ZUP so you would have to either manually fix the rows or delete the ZUP and close and reopen Navision. I can't think of a way to reset the control to it's compiled attributes during runtime but I thought maybe someone out there does.
Thanks!
0
Answers
-
There is one intersting thing in Nav:
1.Copy your table box and then past it
2.Set visible of the copy to NO
2 Lay the copy on the original table box
Now no one can resize rowsAnd no one can copy rows to a clipboard
Nav 4.0 sp30 -
Thanks for the reply! I almost lost hope! I couldn't get it to work however. I made a copy of my tablebox. I set the copys visible property to "No". I then laid the copy over top of the original and compiled. It still let me resize the rows. We running Navision 4.0 SP1. Any ideas? Many thanks!0
-
Ian Bachus wrote:Thanks for the reply! I almost lost hope! I couldn't get it to work however. I made a copy of my tablebox. I set the copys visible property to "No". I then laid the copy over top of the original and compiled. It still let me resize the rows. We running Navision 4.0 SP1. Any ideas? Many thanks!
Oh! Shame on me! :roll:
Visible must be "Yes". I just tested it on 3.6 and 4.0 sp3.Nav 4.0 sp30 -
Wow Fordewind!! You are the man! I would have never figured that out. I wonder if this is just a Navision bug that you somehow figured out how to use to your advantage. At any rate, it works great! Thanks a lot!!!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