show bitmap on window/dialog

show bitmap on window/dialog

Postby MdaSolution » Wed May 05, 2010 6:19 pm

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 ?
FWH .. BC582.. xharbour
User avatar
MdaSolution
 
Posts: 401
Joined: Tue Jan 05, 2010 2:33 pm

Re: show bitmap on window/dialog

Postby ukoenig » Wed May 05, 2010 9:06 pm

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:
Since 1995 ( the first release of FW 1.9 )
i work with FW.
If you have any questions about special functions, maybe i can help.
User avatar
ukoenig
 
Posts: 4043
Joined: Wed Dec 19, 2007 6:40 pm
Location: Germany


Return to FiveWin for Harbour/xHarbour

Who is online

Users browsing this forum: jmartial and 112 guests