Group with image inside

Post Reply
marca
Posts: 104
Joined: Mon Aug 13, 2007 5:22 pm
Location: Brazil
Contact:

Group with image inside

Post by marca »

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
User avatar
ukoenig
Posts: 3981
Joined: Wed Dec 19, 2007 6:40 pm
Location: Germany
Contact:

Re: Group with image inside

Post by ukoenig »

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 :D
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.
marca
Posts: 104
Joined: Mon Aug 13, 2007 5:22 pm
Location: Brazil
Contact:

Re: Group with image inside

Post by marca »

thank you ukoenig
Marcelo Ferro da Silveira
Fwh14.04/xHarbour 1.2.3 Simplex / Bcc582 / Pelles 8
SqlLib /xMate/WS
Post Reply