Dear CSPro Developer Team,
I would like to customize font for some heading message using for displaying accept, showarray, list.show etc.
I'm thinking about:
a) SetFont
but it's not for heading message and also, Calls to this function are ignored when executed on mobile devices.
b) The new Function named argument, textColor :=, but there's no indication that we can use it for heading font.
Please any help.
Thanks in advance,
Font for heading message
Font for heading message
G.VOLNY, a CSProuser from Haiti, since 2004
Re: Font for heading message
Technically, yes, but you'll need to modify the standard HTML dialogs for accept/showarray/etc. The files you need to modify are located in "%CSPro install folder%\html\dialogs\"
HOWEVER, this will not work on Android devices, and it will only work on Windows devices that you have applied the same change(s).
Is this type of functionality (font/display control) something you think you'd use on a regular basis? If so, it could probably be added in the next release.
Sherrell
HOWEVER, this will not work on Android devices, and it will only work on Windows devices that you have applied the same change(s).
Is this type of functionality (font/display control) something you think you'd use on a regular basis? If so, it could probably be added in the next release.
Sherrell
Re: Font for heading message
Dear Sherell,
Thanks for you support. It's more important to have it on Android.
I would like to know if there's a way to add theses files located in "%CSPro install folder%\html\dialogs\" as a ressources files and replace Android one's during runtime?
We would like have different heading font in theses dialogs, mainly on Android, i think it's important since this will easily differentiate heading text from modalities text.
Best,
Thanks for you support. It's more important to have it on Android.
I would like to know if there's a way to add theses files located in "%CSPro install folder%\html\dialogs\" as a ressources files and replace Android one's during runtime?
We would like have different heading font in theses dialogs, mainly on Android, i think it's important since this will easily differentiate heading text from modalities text.
Best,
G.VOLNY, a CSProuser from Haiti, since 2004
Re: Font for heading message
Unfortunately you won't have the rights.
Greg said it could be solved by adding an HtmlDialogs=.\my-dir in the PFF. Greg said he'll add this as an option for 7.7.1
Sherrell
Greg said it could be solved by adding an HtmlDialogs=.\my-dir in the PFF. Greg said he'll add this as an option for 7.7.1
Sherrell
-
- Posts: 1792
- Joined: December 5th, 2011, 11:27 pm
- Location: Washington, DC
Re: Font for heading message
I've added this, so when 7.7.1 comes out, you can use this functionality on Windows/Android. If you specify a directory in the PFF using the attribute HtmlDialogs, the HTML dialogs will be evaluated as follows:
CSPro dialogs:
1. In the HtmlDialogs directory, if it is defined.
2. In the CSPro installation's html/dialogs directory.
Custom dialogs (created using htmldialog):
1. In the application directory.
2. In the HtmlDialogs directory, if it is defined.
3. In the CSPro installation's html/dialogs directory.
CSPro dialogs:
1. In the HtmlDialogs directory, if it is defined.
2. In the CSPro installation's html/dialogs directory.
Custom dialogs (created using htmldialog):
1. In the application directory.
2. In the HtmlDialogs directory, if it is defined.
3. In the CSPro installation's html/dialogs directory.
Re: Font for heading message
Thanks Sherrell and Greg. It will be a good solution for having the same heading font on Android and on Windows.
Best,
Best,
G.VOLNY, a CSProuser from Haiti, since 2004
-
- Posts: 1792
- Joined: December 5th, 2011, 11:27 pm
- Location: Washington, DC
Re: Font for heading message
CSPro 7.7.1 (out today) introduces the HtmlDialogs PFF attribute:
https://www.csprousers.org/help/CSPro/r ... entry.html
https://www.csprousers.org/help/CSPro/h ... og_ui.html
https://www.csprousers.org/help/CSPro/r ... entry.html
https://www.csprousers.org/help/CSPro/h ... og_ui.html
Re: Font for heading message
Thanks a lot Greg. This will help a lot in having more control in CSEntry UI.
Best,
Best,
G.VOLNY, a CSProuser from Haiti, since 2004