My text of caption is very long. I want the caption of field can have break line or it can show long text.
I tried many ways but not succeeded:
It still showed a part of the text.
layout
{
addbefore(General)
{
group(Note)
{
Caption = 'Note';
// Visible = bAllowReleasePO;
ShowCaption = false;
grid(Grid1)
{
field(Notify; Rec.Notify)
{
ApplicationArea = all;
ToolTip = 'AAA - Only for showing message';
CaptionClass = Format(tNotification);
ColumnSpan = 3;
Editable = false;
}
}
}
}
}
actions
{
modify(Release)
{
Enabled = bAllowReleasePO;
}
modify(Reopen)
{
Enabled = bAllowReOpenPO;
}
}
trigger OnOpenPage()
var
lRec_UserSetup: Record "User Setup";
begin
// CurrPage.Editable(false);
tNotification := 'You can\ \n 11111111111111111111111111111111111111' + FORMAT(10) + FORMAT(13) + '11111111111111111111111 1111111111111111111 1111111111111111111 11111111111';
if lRec_UserSetup.get(UserId) then;
if lRec_UserSetup."AAA Allow Release PO" then begin
bAllowReleasePO := true;
tNotification := tNotification + ' Release';
end else begin
bAllowReleasePO := false;
tNotification := tNotification + ' NOT Release';
end;
if lRec_UserSetup."AAA Allow Reopen PO" then begin
bAllowReOpenPO := true;
tNotification := tNotification + '; can ReOpen';
end else begin
bAllowReOpenPO := false;
tNotification := tNotification + '; can NOT ReOpen';
end;
end;
var
bAllowReleasePO: Boolean;
bAllowReOpenPO: Boolean;
tNotification: Text;
ApprovalEntry: Record "Approval Entry";
ApproveTitle: Text[250];
Entryno: Integer;
Entrynostr: Text[250];
How to insert break line to caption or set the caption length to maximum of a group ?