FiveTech Support Forums

FiveWin / Harbour / xBase community
Board index FiveWin for Harbour/xHarbour show bitmap on window/dialog
Posts: 401
Joined: Tue Jan 05, 2010 02:33 PM
show bitmap on window/dialog
Posted: Wed May 05, 2010 06: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
Posts: 4043
Joined: Wed Dec 19, 2007 06:40 PM
Re: show bitmap on window/dialog
Posted: Wed May 05, 2010 09: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 )


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.


Best Regards
Uwe :-)
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.

Continue the discussion