Page Caption Issue

Lamba
Member Posts: 263
Hi Guys,
I have a customized Form having some bold captions.
I Have done this bold part by creating a function & variable and passing that variable to StyleExpr of the Page.
How can the same be done only for captions on Page (Only Captions, not the fields).
I have a customized Form having some bold captions.
I Have done this bold part by creating a function & variable and passing that variable to StyleExpr of the Page.
How can the same be done only for captions on Page (Only Captions, not the fields).
0
Comments
-
No, this is not possible without a custom plugin.
Any layout requests that go beyond styleexpr will be hard or impossible to implement.0 -
Any other suggestion..
I am stuck.
](*,)0 -
You may use the CaptionClassTranslate function in codeunit 1, like the dimension name function:
I created a function to get an show the day's name in a page like this:
In Codeunit 1:
CalcularCaptionDia(parResto : Text[30]) : Text[1024]
MatDias[1] := 'Lun';
MatDias[2] := 'Mar';
MatDias[3] := 'Mie';
MatDias[4] := 'Jue';
MatDias[5] := 'Vie';
MatDias[6] := 'Sab';
MatDias[7] := 'Dom';
txtResultado := '';
IF buffer.GET(USERID,9) THEN BEGIN
pos := STRPOS(parResto,',');
IF NOT EVALUATE(intCampo,COPYSTR(parResto,1,pos-1)) THEN
intCampo := 1;
IF intCampo > 1 THEN BEGIN
datTmp := DMY2DATE(1,buffer.Mes,buffer.Año);
txtCalc := COPYSTR(parResto,1,pos-1) + 'D - 1D';
datCaption := CALCDATE(txtCalc,datTmp);
END ELSE BEGIN
datCaption := DMY2DATE(1,buffer.Mes,buffer.Año);
END;
txtResultado := MatDias[DATE2DWY(datCaption,1)] + ' ' + UPPERCASE(FORMAT(datCaption,0,'<Day> <Month Text,3>'));
END;
EXIT(txtResultado);
In Page:
You fill the caption class property of each field with the value you need: '9,1,1'
You also can take a look on fields 29 ans 30 on Sales Header table (36) it's the same tip0 -
Kinch361 wrote:A nice example of how one can use datacaptions
For TS: without a custom plugin it still remains impossible.Stop waisting time on lay-out, and focus on business processes.0 -
Sorry; but it's not possible to control the style of the page caption - e.g. to set it bold
Troels Bent Hansen
Senior Program Manager
Microsoft Dynamics NAV
****** This posting is provided "AS IS" with no warranties, and confers no rights ******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