Page 1 of 1

show bitmap on window/dialog

Posted: Wed May 05, 2010 6:19 pm
by MdaSolution
I must show many tables for a restaurant

1. I need each bitmaps transparent

2. each bitmap must be move on the winow from user ( design) to create a configuration of rooms with all tables

3. each bitmap must change image if the user change sample green = free red = no free .... as tsbutton made

I try to use sbutton but I have some problem with tsbutton 7.0 ( when I use design clausole it create a box arround the bmp making smaller the bitmap )

If i use fwh native classes wich class I can use to create it and I can have a test sample how make it ?

Re: show bitmap on window/dialog

Posted: Wed May 05, 2010 9:06 pm
by ukoenig
A possible Solution :

1. You start with a defined Archive on the right hand side.
2. Define the Area for Painting ( use Gradient-Fill for Borders )
Image

3. You move as many Objects You like from the Archive to a defined Position
4. Activate / Deactivate with Right Mouseclick
5. Save the Positions to a DBF ( can be done on Button-Action )
6. Reset restores Objects to the Archive on Basic-Positions.
Image

Best Regards
Uwe :lol: