Page 1 of 1

Group with image inside

PostPosted: Tue Nov 14, 2017 1:20 pm
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 )

Re: Group with image inside

PostPosted: Tue Nov 14, 2017 1:55 pm
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

Re: Group with image inside

PostPosted: Tue Nov 14, 2017 2:29 pm
by marca
thank you ukoenig