Update a line i Item List to font bold

Freekster
Member Posts: 5
Hi all!
Maybe this is a piece of cake but I'm stuck.
My client wants the line in the Item list (form 31) to be marked with font bold as he steps up and down. I've tried to many different options but without succes.
Do you guy's have any pointers?
Have a nice week end!
Maybe this is a piece of cake but I'm stuck.
My client wants the line in the Item list (form 31) to be marked with font bold as he steps up and down. I've tried to many different options but without succes.
Do you guy's have any pointers?
Have a nice week end!
0
Comments
-
I have done this a few month ago.
I have done it this way:Form - OnAfterGetCurrRecord() CurrentRecord := Rec; Form - OnTimer() IF CurrForm.ACTIVE THEN IF NOT IsEqual(CurrentRecord2,Rec) THEN BEGIN CurrForm.UPDATE(FALSE); CurrentRecord2 := Rec; END; Description - OnFormat(VAR Text : Text[1024];) CurrForm.Description.UPDATEFONTBOLD(IsEqual(CurrentRecord,Rec)); Procedure IsEqual(Rec : Record "Report Menu";Rec2 : Record "Report Menu") : Boolean EXIT( (Rec."User ID" = Rec2."User ID") AND (Rec."Source Type" = Rec2."Source Type") AND (Rec."Communication Type" = Rec2."Communication Type") AND (Rec."Line No." = Rec2."Line No."));
Note: You must set the property TimerInterval to a value which is fast enough for "real time update" and slow enough to save resources. In my case, if have set it to 100.
Be aware that I use Rec, CurrentRec and CurrentRec2.
If somebody knows a more performant solution, please tell it meTimo Lässer
Microsoft Dynamics NAV Developer since 1997
MSDynamics.de - German Microsoft Dynamics Community - member of [clip]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