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,
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
Ohhh... yes))
Thanks Martin!
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...
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;
}
Stay up to date on forum activity by subscribing. You can also customize your in-app and email Notification settings across all subscriptions.
André Arnaud de Cal... 291,269 Super User 2024 Season 2
Martin Dráb 230,198 Most Valuable Professional
nmaenpaa 101,156