Group with image inside

Group with image inside

Postby marca » Tue Nov 14, 2017 1: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
marca
 
Posts: 117
Joined: Mon Aug 13, 2007 5:22 pm
Location: Brazil

Re: Group with image inside

Postby ukoenig » Tue Nov 14, 2017 1: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 :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.
User avatar
ukoenig
 
Posts: 4043
Joined: Wed Dec 19, 2007 6:40 pm
Location: Germany

Re: Group with image inside

Postby marca » Tue Nov 14, 2017 2:29 pm

thank you ukoenig
Marcelo Ferro da Silveira
Fwh14.04/xHarbour 1.2.3 Simplex / Bcc582 / Pelles 8
SqlLib /xMate/WS
marca
 
Posts: 117
Joined: Mon Aug 13, 2007 5:22 pm
Location: Brazil


Return to FiveWin for Harbour/xHarbour

Who is online

Users browsing this forum: Surasak and 38 guests