dialog style ws_child

dialog style ws_child

Postby Silvio » Fri Jan 06, 2006 4:43 pm

I have this source :





Code: Select all  Expand view
oBrush := TBrush():New("NULL",,,)

   oDlg := TDialog():New()
   oWnd:CoorsUpdate()
   aDlgCoor := DlgCoors(oWnd)
   oDlg:nTop     := aDlgCoor[4]
   oDlg:nLeft    := aDlgCoor[5]
   oDlg:nBottom  := aDlgCoor[6]
   oDlg:nRight   := aDlgCoor[7]
   oDlg:cCaption := "Anagrafica Reparti"
   oDlg:SetColor( GetSysColor(13), GetSysColor(1))


How I can set the dialog WS_child ?
Regards
User avatar
Silvio
 
Posts: 3107
Joined: Fri Oct 07, 2005 6:28 pm
Location: Teramo,Italy

Postby James Bott » Fri Jan 06, 2006 4:53 pm

Try:

oDlg:nStyle:= nor( WS_CHILD )

James
User avatar
James Bott
 
Posts: 4840
Joined: Fri Nov 18, 2005 4:52 pm
Location: San Diego, California, USA


Return to FiveWin for Harbour/xHarbour

Who is online

Users browsing this forum: Google [Bot] and 82 guests