Recent

Author Topic: TBGRABitmap - draw on a panel  (Read 1778 times)

emil

  • New Member
  • *
  • Posts: 16
TBGRABitmap - draw on a panel
« on: May 01, 2015, 09:34:31 pm »
how can i draw a TBGRABitmap on a panel ?

emil

  • New Member
  • *
  • Posts: 16
Re: TBGRABitmap - draw on a panel
« Reply #1 on: May 01, 2015, 09:58:37 pm »
ok thx to everybody (for help)
here's a solution:

1. create a TPaintBox on the panel
2. onPaint event from the paintbox write :  bmp.draw(PaintBox1.canvas,0,0,false);

circular

  • Hero Member
  • *****
  • Posts: 4220
    • Personal webpage
Re: TBGRABitmap - draw on a panel
« Reply #2 on: May 01, 2015, 10:05:37 pm »
Are you being sarcastic?
Conscience is the debugger of the mind

lainz

  • Hero Member
  • *****
  • Posts: 4468
    • https://lainz.github.io/
Re: TBGRABitmap - draw on a panel
« Reply #3 on: May 01, 2015, 10:38:38 pm »
Are you being sarcastic?

is not
it was about 20 minutes he solved it by himself
« Last Edit: May 01, 2015, 10:40:23 pm by 007 »

 

TinyPortal © 2005-2018