Radicore Forum
Fast Uncompromising Discussions. FUDforum will get your users talking.

Home » RADICORE development » Transaction Patterns » Using fillcolour in an output3 pattern
Using fillcolour in an output3 pattern [message #7723] Wed, 11 May 2022 17:30 Go to next message
htManager is currently offline  htManager
Messages: 427
Registered: May 2014
Senior Member
Can I have a fillcolor on alternate rows in the multi sections? Or does this possibility only exists for the body in list view?
Re: Using fillcolour in an output3 pattern [message #7724 is a reply to message #7723] Thu, 12 May 2022 04:27 Go to previous messageGo to next message
AJM is currently offline  AJM
Messages: 2361
Registered: April 2006
Location: Surrey, UK
Senior Member
Currently this option only exists for the body part in a list view.

Re: Using fillcolour in an output3 pattern [message #7856 is a reply to message #7724] Sat, 27 July 2024 12:11 Go to previous messageGo to next message
AJM is currently offline  AJM
Messages: 2361
Registered: April 2006
Location: Surrey, UK
Senior Member
This option is available as of RADICORE version 2.29.0. Look for the 'fill_alternate' option. An example can be found in the online demo - go to the "List Task (process)" screen, search for tasks with the 'LIST1' pattern, then press the "Nav Buttons (PDF)" button. You will see that alternate rows are highlighted with the 'fill' colour.

Re: Using fillcolour in an output3 pattern [message #7857 is a reply to message #7856] Sun, 28 July 2024 06:49 Go to previous messageGo to next message
htManager is currently offline  htManager
Messages: 427
Registered: May 2014
Senior Member
How do I use it? If I insert the following line in the pdf.styles.inc nothing happens.

$style['foobar']['fill_alternate'] = array(100,100,100);      // colour for alternate colour
Re: Using fillcolour in an output3 pattern [message #7858 is a reply to message #7857] Mon, 29 July 2024 04:50 Go to previous messageGo to next message
AJM is currently offline  AJM
Messages: 2361
Registered: April 2006
Location: Surrey, UK
Senior Member
Take at look at this page. That will show you some sample output which I have built into the framework. Just run the "Nav Buttons (PDF)" task and you can see the output, then look at the code.

You need to ensure that the style you have added to the pdf.styles.inc file is actually mentioned in your report structure file.


Re: Using fillcolour in an output3 pattern [message #7859 is a reply to message #7858] Mon, 29 July 2024 08:50 Go to previous message
htManager is currently offline  htManager
Messages: 427
Registered: May 2014
Senior Member
Thank you, works fine now. After I understood that the alternate colour is white and the fillcolour is the colour, defined in the pdf.styles.inc.
Previous Topic: _cm_outputMulti() - "parent-child-grandchild"
Next Topic: Introduction to Transaction Patterns within Radicore
Goto Forum:
  


Current Time: Thu Sep 19 00:48:23 EDT 2024

Total time taken to generate the page: 0.01194 seconds