FiveTech Support Forums

FiveWin / Harbour / xBase community
Board index FiveWin for Harbour/xHarbour Group with image inside
Posts: 117
Joined: Mon Aug 13, 2007 05:22 PM
Group with image inside
Posted: Tue Nov 14, 2017 01:20 PM

Good morning everyone

How do I make the image appear inside the group?

In the example below if you comment the group line the image appears and I need it to be exactly inside the group and I can not make it appear.

include "FiveWin.ch"

STATIC oWnd, oBmp

FUNCTION Main()
local oGrp

DEFINE WINDOW oWnd FROM 0,0 TO 200,200 TITLE "Test Class TBitmap" pixel

   @   0, 1 GROUP oGrp TO 300, 500 PROMPT "Test" OF oWnd pixel
   @ 50, 20 BITMAP oBmp FILENAME "..\bitmaps\Tutanka1.bmp" OF oWnd SIZE 300,200 PIXEL SCROLL

ACTIVATE WINDOW oWnd MAXIMIZED

RETURN ( nil )

Marcelo Ferro da Silveira

Fwh14.04/xHarbour 1.2.3 Simplex / Bcc582 / Pelles 8

SqlLib /xMate/WS
Posts: 4043
Joined: Wed Dec 19, 2007 06:40 PM
Re: Group with image inside
Posted: Tue Nov 14, 2017 01:55 PM
Marcelo,
Please change

@ 0, 1 GROUP oGrp TO 300, 500 PROMPT "Test" OF oWnd pixel
//@ 50, 20 BITMAP oBmp FILENAME "..\bitmaps\Tutanka1.bmp" OF oWnd SIZE 300,200 PIXEL SCROLL
@ 50, 20 BITMAP oBmp FILENAME "..\bitmaps\Tutanka1.bmp" OF oGrp SIZE 300,200 PIXEL SCROLL

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.
Posts: 117
Joined: Mon Aug 13, 2007 05:22 PM
Re: Group with image inside
Posted: Tue Nov 14, 2017 02:29 PM

thank you ukoenig

Marcelo Ferro da Silveira

Fwh14.04/xHarbour 1.2.3 Simplex / Bcc582 / Pelles 8

SqlLib /xMate/WS

Continue the discussion