Folder can't display in GroupBox even its TRANSPARENT.

Folder can't display in GroupBox even its TRANSPARENT.

Postby Horizon » Tue Jun 08, 2010 2:54 pm

As Subject.

Thanks.

Code: Select all  Expand view
#include "FiveWin.ch"

function Main()

   local oDlg, oFld, OGrp
   
   DEFINE DIALOG oDlg SIZE 400, 300 COLOR "W/B" TRANSPARENT

   @ 1, 1 GROUP oGrp TO 120, 180 PROMPT " General Group " OF oDlg PIXEL TRANSPARENT

   @ 2, 2 FOLDER oFld OF oDlg SIZE 188, 138 ;
      PROMPTS "One", "Two", "Three"
 
     
   ACTIVATE DIALOG oDlg CENTERED

return nil
 
Regards,

Hakan ONEMLI

Harbour & MSVC 2022 & FWH 23.04
Horizon
 
Posts: 1322
Joined: Fri May 23, 2008 1:33 pm

Re: Folder can't display in GroupBox even its TRANSPARENT.

Postby Horizon » Thu Jun 10, 2010 6:46 am

any idea?
Regards,

Hakan ONEMLI

Harbour & MSVC 2022 & FWH 23.04
Horizon
 
Posts: 1322
Joined: Fri May 23, 2008 1:33 pm

Re: Folder can't display in GroupBox even its TRANSPARENT.

Postby mmercado » Thu Jun 10, 2010 7:10 am

Hello Hakan:

Try by defining the GROUP box after the contained objects.

This way:
Code: Select all  Expand view
#include "FiveWin.ch"

function Main()

   local oDlg, oFld, OGrp

   DEFINE DIALOG oDlg SIZE 400, 300 COLOR "W/B"

   @ 1, 1 FOLDER oFld OF oDlg SIZE 160, 100 ;
      PROMPTS "One", "Two", "Three"

   @ 1, 1 GROUP oGrp TO 120, 180 PROMPT " General Group " OF oDlg PIXEL TRANSPARENT

   ACTIVATE DIALOG oDlg CENTERED

return nil
 

Best regards.

Manuel Mercado Gómez.
manuelmercado at prodigy dot net dot mx
User avatar
mmercado
 
Posts: 782
Joined: Wed Dec 19, 2007 7:50 am
Location: Salamanca, Gto., México

Re: Folder can't display in GroupBox even its TRANSPARENT.

Postby Horizon » Thu Jun 10, 2010 9:20 am

Thank you Master,

It works now.
Regards,

Hakan ONEMLI

Harbour & MSVC 2022 & FWH 23.04
Horizon
 
Posts: 1322
Joined: Fri May 23, 2008 1:33 pm


Return to FiveWin for Harbour/xHarbour

Who is online

Users browsing this forum: Google [Bot], Silvio.Falconi and 105 guests