Login ProductsSalesSupportDownloadsAbout |
Home » Technical Support » Elevate Web Builder Technical Support » Support Forums » Elevate Web Builder General » View Thread |
Messages 1 to 5 of 5 total |
Using An "External" Font |
Mon, Apr 11 2016 5:33 AM | Permanent Link |
Mark Brooks Slikware | Hi All,
I have a customer using one of our EWB2 applications (which they generally love) who has a requirement to change the font throughout. They want everything to be presented in Soho Gothic Pro for "brand consistency". I've not come across this mechanism before, nor can I find much written about the best way to address in EWB2. Has anybody added an "external" font to their EWB2 app? If so, can you give me some guidance on the best approach in terms of: - How to include it - How to use it - How to convert existing font attributes Regards Mark |
Mon, Apr 11 2016 5:42 AM | Permanent Link |
Tim Young [Elevate Software] Elevate Software, Inc. timyoung@elevatesoft.com | Mark,
<< Has anybody added an "external" font to their EWB2 app? If so, can you give me some guidance on the best approach in terms of: - How to include it >> 1) In the Project Manager, right-click on the External Files node and select Add to Project. 2) Specify the local file or resource (http://....). 3) Select the font name (you should have the font installed in Windows so that you can use it at design-time, so it should be in the list). 4) Optionally, specify if the font is a bold or italic font. 5) Click on OK, and save your project. << - How to use it - How to convert existing font attributes >> Normally, you would just refer to the font name in your application for your various controls. However, if you want to use the new font *in place of* the existing control interface font, then just make a copy of all of the control interfaces in EWB and then do a search and replace on "Segoe UI" in all of the copied control interface files. See here for more information on making sure that your project picks up the modified control interface files: http://www.elevatesoft.com/manual?action=viewtopic&id=ewb2&topic=Control_Interfaces (under "Customizing Control Interfaces"). Tim Young Elevate Software www.elevatesoft.com |
Mon, Apr 11 2016 7:59 AM | Permanent Link |
Mark Brooks Slikware | Much appreciated Tim
|
Thu, May 5 2016 5:11 PM | Permanent Link |
Trinione | <<- How to convert existing font attributes
Normally, you would just refer to the font name in your application for your various controls. However, if you want to use the new font *in place of* the existing control interface font, then just make a copy of all of the control interfaces in EWB and then do a search and replace on "Segoe UI" in all of the copied control interface files. See here for more information on making sure that your project picks up the modified control interface files >> Tim: I am wondering... would it be easier to run a routine that checks for relevant component types on the form and change the Font details in the Form Create event? This way one won't have to customise all components on subsequent EWB releases. Just a thought. |
Mon, May 9 2016 3:07 PM | Permanent Link |
Tim Young [Elevate Software] Elevate Software, Inc. timyoung@elevatesoft.com | << I am wondering... would it be easier to run a routine that checks for relevant component types on the form and change the Font details in the Form Create event? >>
The problem is the interface states for the controls - they are not something that can be controlled via the forms/child controls. You *can* actually modify control interfaces at runtime, but I haven't surfaced that functionality in an accessible way yet. Tim Young Elevate Software www.elevatesoft.com |
This web page was last updated on Monday, October 14, 2024 at 05:15 PM | Privacy PolicySite Map © 2024 Elevate Software, Inc. All Rights Reserved Questions or comments ? E-mail us at info@elevatesoft.com |