Announcements
No record found.
Hi,
I have created a dialog box and Now i want the text field in the dialog box in red color and TextSize should be bold..
can you please suggest on how to do that..
please advice
*This post is locked for comments
Hi!
Try this:
Object dialog()
{
DialogRunbase dialog = super();
FormStringControl control;
;
dialog.caption("Caption");
dialog.addGroup("Vendor");
fieldVendAccount = dialog.addField(extendedTypeStr(vendAccount));
control = fieldVendAccount.control();
control.bold(7);
control.colorScheme(FormColorScheme::RGB);
control.foregroundColor(WinAPI::RGB2int(255,0,0));
control.backgroundColor(WinApi::RGB2int(255,255,255));
return dialog;
}
We have a similar questions in the DUG forum, it's just about Box::yesNo() and the text should be in italics.
If it's the same person, I wonder whether it shouldn't be about the same class in both cases.
If these are different people, I wonder how they're related...
Ohhh... yes))
Thanks Martin!
Under review
Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.
Congratulations to our 2026 Super Stars!
We are thrilled to have these Champions in our Community!
These are the community rock stars!
Stay up to date on forum activity by subscribing.
CP04-islander 16
GiacomoRovai 4
Douglas Noel 2