Question Regarding Colour & Font files.


Graham White
 

Hi,

 

I am looking for a bit of advice.  I am upgrading an application I have to XPA and I have a colour and font file that contains many redundant entries that are no longer required.  What I would like to do is remove these redundant ones and then use those files in XPA.  My problem is that the ones I want to keep are mixed up with the ones I want to lose so if I delete one the number of the keepers will change.  Is there an easy way to change the colour and font numbers in my application to reflect this?

 

Your suggestions will be gratefully accepted.

 

Graham White | Software Developer | Graham.White@... |
EC Credit Control | www.eccreditcontrol.com |
This e-mail message and any attachments are confidential to EC Credit Control and subject to legal privilege. If you have received this e-mail in error, please advise the sender immediately and destroy the message and any attachments.  If you are not the intended recipient you are notified that any use, distribution, amendment, copying or any action taken or omitted to be taken in reliance of this message or attachments is prohibited.

 


Arch <Arch.Lineberger@...>
 

Graham,

I have done this using a text editor with a "replace in files" function. You find one of the color expressions in the source xml and replace the number with you desired one. UltraEdit does this nicely. It will search the Source directory and offer to replace or skip each matching phrase it finds. Once you have checked that it does what you want, you can turn it loose to replace all without stopping.

Best regards,

Arch

On Wed, Apr 26, 2017 at 8:54 PM, Graham White <graham.white@...> wrote:

Hi,

 

I am looking for a bit of advice.  I am upgrading an application I have to XPA and I have a colour and font file that contains many redundant entries that are no longer required.  What I would like to do is remove these redundant ones and then use those files in XPA.  My problem is that the ones I want to keep are mixed up with the ones I want to lose so if I delete one the number of the keepers will change.  Is there an easy way to change the colour and font numbers in my application to reflect this?

 

Your suggestions will be gratefully accepted.

 

Graham White | Software Developer | Graham.White@eccreditcontrol.com |
EC Credit Control | www.eccreditcontrol.com |
This e-mail message and any attachments are confidential to EC Credit Control and subject to legal privilege. If you have received this e-mail in error, please advise the sender immediately and destroy the message and any attachments.  If you are not the intended recipient you are notified that any use, distribution, amendment, copying or any action taken or omitted to be taken in reliance of this message or attachments is prohibited.

 



Avgerinos
 

..only be careful if you have used color-expressions instead of absolute color-values
Avgerinos

On 27/4/2017 4:55 μμ, Arch wrote:

Graham,

I have done this using a text editor with a "replace in files" function. You find one of the color expressions in the source xml and replace the number with you desired one. UltraEdit does this nicely. It will search the Source directory and offer to replace or skip each matching phrase it finds. Once you have checked that it does what you want, you can turn it loose to replace all without stopping.

Best regards,

Arch

On Wed, Apr 26, 2017 at 8:54 PM, Graham White <graham.white@...> wrote:

Hi,

 

I am looking for a bit of advice.  I am upgrading an application I have to XPA and I have a colour and font file that contains many redundant entries that are no longer required.  What I would like to do is remove these redundant ones and then use those files in XPA.  My problem is that the ones I want to keep are mixed up with the ones I want to lose so if I delete one the number of the keepers will change.  Is there an easy way to change the colour and font numbers in my application to reflect this?

 

Your suggestions will be gratefully accepted.

 

Graham White | Software Developer | Graham.White@eccreditcontrol.com |
EC Credit Control | www.eccreditcontrol.com |
This e-mail message and any attachments are confidential to EC Credit Control and subject to legal privilege. If you have received this e-mail in error, please advise the sender immediately and destroy the message and any attachments.  If you are not the intended recipient you are notified that any use, distribution, amendment, copying or any action taken or omitted to be taken in reliance of this message or attachments is prohibited.