Custom Component
Publicado: Jue Mar 12, 2009 10:55 pm
Hi Jose
I have created a little custom component called TThermometer.
Well not quite created, I have the basic bit working, ie I can drop it on a
form.
I'm want to create something similar to one of these
http://www.dncc.co.za/images/thermomitor.jpg
I have added basic properties etc, and it all works in the editor nicely.
The project is here
www.capsol.com.au/thermometer.zip
Problem is of course, I have no idea how to draw a circle and a box and fill
it.
Is this a hard thing to do, am I biting off more than I can chew maybe?
I was hoping you could maybe show me how to draw it roughly and then I can
tweak it. Obvoisly the group would then see all this as well and learn a
bit.
It's for a community project I'm working on.
Cheers
Nick
I have created a little custom component called TThermometer.
Well not quite created, I have the basic bit working, ie I can drop it on a
form.
I'm want to create something similar to one of these
http://www.dncc.co.za/images/thermomitor.jpg
I have added basic properties etc, and it all works in the editor nicely.
The project is here
www.capsol.com.au/thermometer.zip
Problem is of course, I have no idea how to draw a circle and a box and fill
it.
Is this a hard thing to do, am I biting off more than I can chew maybe?
I was hoping you could maybe show me how to draw it roughly and then I can
tweak it. Obvoisly the group would then see all this as well and learn a
bit.
It's for a community project I'm working on.
Cheers
Nick