Item List form with Picture
            
                
                    Arhontis                
                
                    Member Posts: 667                
            
                        
            
                    Hi all,
I have put a PictureBox on the Item List form (on the right) and placed a CALCFIELDS(Picture) on the OnAfterGetRecord trigger.
Everytime I try to leave an item with a its picture displayed I get a message like "item cannot be modified the on this form".
I can't understand why the form thinks I have changed the Item.
Any resolution on displaying the Picture on the Item List?
                I have put a PictureBox on the Item List form (on the right) and placed a CALCFIELDS(Picture) on the OnAfterGetRecord trigger.
Everytime I try to leave an item with a its picture displayed I get a message like "item cannot be modified the on this form".
I can't understand why the form thinks I have changed the Item.
Any resolution on displaying the Picture on the Item List?
0                
            Comments
- 
            Sorry, but if you made everything as you say it would work. I made the same to check it and it works without any problems.
1.) Put a picture box on the Item list form.
2.) CALCFIELDS(Picture); at OnAfterGetRecord Trigger.
Thats it.
I guess, you made another change, that generates this error. So tell us, what you did in addition.0 - 
            Hi Tim,
Thanks for the reply, no other changes on the form, I have put the picturebox either inside the grid or outside of it and added a CALCFIELDS on the aftergetrecord and the form thinks that I have changed the record when I browse thru some records with pictures...
:shock: :shock: Wow... After closer consideration, I have used for test a few pictures from the windows directory, when the image has resolution 95 dpi (like the Blue Lace 16.bmp or the Gone Fishing.bmp) the error occurs, If I use other pictures that have 71 dpi it works fine!!!!!! :shock: :shock:
Have you ever seen something like that before????
Please try and import those pictures and tell me what you think cause I can't believe it...0 - 
            Hi,
you're right. If I import these pictures, the error occures. And I've never seen this error before.
I guess, this is an error from the application so you can nothing do, but change the resolution of the pictures.0 - 
            Thanks alot for verifing the issue Tim, I thought I was going crazy!!!!!
I will post it to MBS...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
 - 323 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