Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Rhinorhino on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

TThread and TImage

Status
Not open for further replies.

GnomeKing

Programmer
Joined
Jun 19, 2001
Messages
1
Location
GB
I need to use a TThread method to update the TImage control (the pixel property of it)
more specifically, I need...

void imageputpixel(int x, int y, void *colour) {
Form1->canvas->Canvas->Pixels[x][y] = (TColor) colour;
};

to be called from my TThread...
every time I try it, I get a write protection error

please help :)
thanks
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top