[fpc-pascal] gtk+ linux-windows

Graeme Geldenhuys graemeg at opensoft.homeip.net
Wed Jun 24 17:20:58 CEST 2009


kota kota wrote:
> ok here is an example,
> (look the red letters)
> 

As an alternative, I quickly converted the triangle painting into a
component, which produces an OnProgress event. I then added a
ProgressBar to the main form which indicates the progress of the
calculation before the next paint occurs.

Here is a screenshot, showing the previous paint and it's busy
calculating the new triangles.

http://opensoft.homeip.net/~graemeg/generate_triangles.png

I also attached the new code for you.


Regards,
  - Graeme -

_______________________________________________________
fpGUI - a cross-platform GUI toolkit using Free Pascal
http://opensoft.homeip.net/fpgui/

-------------- next part --------------
A non-text attachment was scrubbed...
Name: drawtest.pas
Type: text/x-pascal
Size: 5325 bytes
Desc: not available
URL: <http://lists.freepascal.org/pipermail/fpc-pascal/attachments/20090624/b1e7274d/attachment.pas>


More information about the fpc-pascal mailing list