Keeping title/data memo view components aligned
Hi guys, I'm having issues on a report I'm building with keeping title and data fields (both TfrxMemoView controls) aligned when one of the fields is too long and expands downwards (see attached picture). I've tried various methods of trying to change the Top property of the corresponding field when it needs to move but nothing seems to work, I've also tried a cross-tab object but couldn't get that to display properly. I could just make title and data one field but then I would lose the background colour for the title.
Any ideas as to how I can get this to display properly? I've tried adding code to align the Top properties for the title and data fields on various events from the TfrxReport object (although I don't know the order things happen so it's just guessing at this point) and I also tried adding similar code to the OnAfterData event on the TfrxMemoView controls themselves.
Many thanks,
Tim
Any ideas as to how I can get this to display properly? I've tried adding code to align the Top properties for the title and data fields on various events from the TfrxReport object (although I don't know the order things happen so it's just guessing at this point) and I also tried adding similar code to the OnAfterData event on the TfrxMemoView controls themselves.
Many thanks,
Tim
Comments