<div dir="ltr"><div class="gmail_default" style="font-family:arial,helvetica,sans-serif">Hi Graeme,<br></div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif">Sounds very interesting, however, I think it is a bit higher than my current coding knowledge. Also, your application looks amazing, what components are you using that aren't installed with the defaul Lazarus install?<br>
<br></div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif">Also, how long do you think it would take to set a new property onthe StringGrid to have "orinetaion: Horizontal or Vertical" to make things really easy?<br>
<br></div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif">Richard<br></div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On 6 December 2013 06:47, Graeme Geldenhuys <span dir="ltr"><<a href="mailto:graeme@geldenhuys.co.uk" target="_blank">graeme@geldenhuys.co.uk</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="im">On 2013-12-03 15:12, Richard Mace wrote:<br>
> Could you give me any hints or example code?<br>
<br>
</div>You can do whatever painting you want in the OnDrawCell. Combine that<br>
with hiding the column titles and grid lines, and pretty much have a<br>
blank canvas to paint anything. Google TStringGrid and OnDrawCell.<br>
<br>
Here are some results:<br>
<br>
<a href="http://forum.lazarus.freepascal.org/index.php?topic=7529.0" target="_blank">http://forum.lazarus.freepascal.org/index.php?topic=7529.0</a><br>
<br>
<a href="http://docwiki.embarcadero.com/CodeExamples/XE4/en/OnDrawCell_%28Delphi%29" target="_blank">http://docwiki.embarcadero.com/CodeExamples/XE4/en/OnDrawCell_%28Delphi%29</a><br>
<br>
<a href="http://stackoverflow.com/questions/3540570/delphi-how-to-make-cells-texts-in-tstringgrid-center-aligned" target="_blank">http://stackoverflow.com/questions/3540570/delphi-how-to-make-cells-texts-in-tstringgrid-center-aligned</a><br>
<br>
<br>
Here are some of my own results:<br>
<a href="http://geldenhuys.co.uk/~graemeg/stringgrid1.png" target="_blank">http://geldenhuys.co.uk/~graemeg/stringgrid1.png</a><br>
<a href="http://geldenhuys.co.uk/~graemeg/stringgrid2.png" target="_blank">http://geldenhuys.co.uk/~graemeg/stringgrid2.png</a><br>
<br>
<br>
Regards,<br>
Graeme<br>
<span class="HOEnZb"><font color="#888888"><br>
<br>
--<br>
fpGUI Toolkit - a cross-platform GUI toolkit using Free Pascal<br>
<a href="http://fpgui.sourceforge.net/" target="_blank">http://fpgui.sourceforge.net/</a><br>
</font></span><div class="HOEnZb"><div class="h5"><br>
--<br>
_______________________________________________<br>
Lazarus mailing list<br>
<a href="mailto:Lazarus@lists.lazarus.freepascal.org">Lazarus@lists.lazarus.freepascal.org</a><br>
<a href="http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus" target="_blank">http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus</a><br>
</div></div></blockquote></div><br></div>