Access band's controls from script
A task: iterate via all band's child controls (all of them are TfrxMemoView) in Pascal script (master band before print) and change control's color depending on the value of the linked db field.
Actually there are 2 questions:
- Is there a way of accessing band's controls by variable name as it can be done for db fields(get function in the script)?
- How to loop via band's controls to get controls by index?
Doing this by explicit coding for each control looks quite clumsy since for this case it will be about ~50 controls for the band