How to Access Control Properties on Form

Bliss_Absolute
Member Posts: 9
Dear Friends,
I am working in Navision 4.0 SP1. Can any one please tell me how to access control properties and change them programmatically using C/AL Editor.
Actually my aim is to make a moving (Rotate 360) straight line on a form but I hardly find any way to change the properties of the control using C/AL.
Looking forward to your help and valuable suggestions
Thanks
I am working in Navision 4.0 SP1. Can any one please tell me how to access control properties and change them programmatically using C/AL Editor.
Actually my aim is to make a moving (Rotate 360) straight line on a form but I hardly find any way to change the properties of the control using C/AL.
Looking forward to your help and valuable suggestions
Thanks
0
Comments
-
Sorry, thats not possible. I belive u use a Shape control, correct?
You have only acces to the XPos, YPos and so on, but not to a rotation. All the Properties you see under the C/AL Symbal Menu u can use. The others u cant use from C/AL.
So, if you need a rotation line, like - | / \ u must create 4 shapes and set the visibility and xPos / yPos via C/AL source.
Don't forgett. NAV is an ERP not an development studio like Visiual Studio ;-)
RegardsDo you make it right, it works too!0 -
Yep, NAV is built on "Here's your data and here's your one way to display it." As an Info Vis / Interface guy, it's a little frustrating at times, but there is usually a way to do what you want. In this case Garak is correct.
You could also have 8 pictures or something if you wanted it to look a little fancier.0 -
Thanks Garak. Thanks a lot for your suggestions. But you know its not even possible create a shape like / or \ , I mean, I am not being able to do that. I tried whith a shape control of shape style rectangle then with a style Horz Line. Changing Xpos,Ypos, Width, and Height does not give me shapes like / or \...
.
Can you please throw some light on it ???0 -
click on the Shape Control -> Open The Properties -> select Property ShapeStyle -> click on the DropDown List -> Select NE-Line for / and NW-Line for \
RegardsDo you make it right, it works too!0 -
Thankx a lot matttrax for your comment. Actually you are right its a bit frustrating.0
-
That should show you the principle http://www.mibuso.com/dlinfo.asp?FileID=402Do you make it right, it works too!0
-
If you need only small lines (e.g. for showing user that the system is working on something), you can display character "-\|/" in a loop... ;-)
(just define string with them and go in loop by showing char on position 1, 2, 3, 4, 1, 2,... )0 -
Once Againg Thanks to you Garak. Thanks for your Support.
Thanks Kine, its a very good suggestion...unfortunatly they want more than just characters. Anywy I will use this trick to somewhere else
0 -
The trick with the chars you can use for example if you import somthing or update somthing and you doesn't whish a Dialog with an indicatior....Do you make it right, it works too!0
-
Bliss_Absolute wrote:Once Againg Thanks to you Garak. Thanks for your Support.
Thanks Kine, its a very good suggestion...unfortunatly they want more than just characters. Anywy I will use this trick to somewhere else
0 -
good tip MBerger ...... hehe .... looks nice :-D
Do you make it right, it works too!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