On 7/14/06, Graeme Geldenhuys <[EMAIL PROTECTED]> wrote:
On 7/14/06, ik <[EMAIL PROTECTED]> wrote:
> You should have the ClinetWidth and ClientHeight, that will have
> different width and height then the canvas one... that's how it done
> on Delphi.

For now I use the self.ClientRect and work from there...  The Canvas
thing still puzzles me though - the reason behind such an odd design
choice.

Lets assume you are creating a game, and needs scrolling map... what is prefed:

1. draw what you display ?
2. Store the whole map and display what you need ?

Usually display what you need require a lot less resources then
loading things on demand.


Regards,
  Graeme.
Ido

_________________________________________________________________
    To unsubscribe: mail [EMAIL PROTECTED] with
               "unsubscribe" as the Subject
  archives at http://www.lazarus.freepascal.org/mailarchives

Reply via email to