Sorry for bothering you during holidays,
We are using delphi custom controls and need to make further adjustment to the vertical position relative to the surrounding text.
The AddControlEx method's parameter option rvvaBaseline is too high and rvvaMiddle is too low (we are using a TGraphicControl with text on it).
Which would be the best way (e.g. override one of TRichView's methods) to achieve this?
We are subclassing TCustomRichView where we tried to change a custom control's vertical position (e.g. TControl.Top), but these changes are overwritten by TRichView's own positioning mechanism.
Thank you for your help,
and a happy new year,
-- Lutz
Custom control vertical adjust beyond rvvaBaseline etc
-
- Site Admin
- Posts: 17566
- Joined: Sat Aug 27, 2005 10:28 am
- Contact: