stevew
June 26, 2018, 5:57am
1
I am looking at updating from V4 to V5 and would initially like there to be no obvious differences to the operator. In V4 we have a display of last sale in red implemented via the following action
In V5 I cannot see how to change the font colour or size although I believe this should be possible
Can somebody tell me how this is done and also what “Refresh asynch” is all about. (Note the 100 on height is where I have tried to change the font size but it has no obvious effect so i assume it is related to the height of the subtitle)
Try using inline HTML like code.
<size 18>title</size>
stevew
June 26, 2018, 7:09am
3
Unfortunately, that just prints the tag as well, with no effect on the text.
Can you show what you did?
stevew
June 26, 2018, 7:36am
5
I tried adding the tag as you wrote it
And i tried a different version <style=“color:red;”> … </>. In both cases the tag was printed
.
I also tried adding the tag in the constraint of the rule with no success
RickH
June 26, 2018, 8:01am
6
Try putting < L > at the start if I remember in this action it needs the justification tag at the start for the rest of the formatting to work
RickH
June 26, 2018, 8:19am
7
Yep here you go you need to start with <L> as shown below, this allows the formatting that you add to work
<L><bold><block 0,0,0,0 #FF7F7F7F center 600><size 35><color black>Open Bar Tabs: [=TN('{REPORT TICKET COUNT:(TS.Status=Bar Tab)}')] Held Tickets: [=TN('{REPORT TICKET COUNT:(TS.Status=Hold)}')]</color></size></block><br/><block 0,0,0,0 #FF7F7F7F center 600><size 70><color black>Total: £[=F(TN('{TICKET TOTAL}')-TN('{PAYMENT TOTAL}'),'0.00')]</color></size></block> <br/> <block 0,0,0,0 #FF7F7F7F center 600><size 35><color black>Number of Items: [=TN('{TICKET QUANTITY SUM}')]</color></size></block></bold>
stevew
June 26, 2018, 9:00am
8
Hard to see what I am doing differently from your example, but it isn’t working
stevew
June 26, 2018, 9:10am
9
Seems I must have typed something incorrectly earlier as it is now working correctly without the tag
Thanks for your assistance and sorry for any time wasted.
RickH
June 26, 2018, 1:46pm
11
No probs, it must have been updated in another release to be able to do it without that initial format tag