Now gtwvg have two way for create dialog box : WvgCrt AND Wvt_MakeDlgTemplate Is possible integrate in one class? Will Be available a method like Ocrt:AddDlgItem()? Wich Wvt_* function be painted and updated only setting a refresh array for getlist (WvtSetBlocks) Wich are immediately visible like real compoment?
This sample of different way for create a dialog BOX oCrt := WvgCrt():New( , , { 4,8 }, { 12,49 }, , .T. ) oCrt:title := 'Information!' oCom := WvgActiveXControl():New( oCrt, , { 0,0 }, { 200,200 }, , .t. ) oCrt:create() oCrt:show() oCrt:Destroy() aDlg := Wvt_MakeDlgTemplate( 1, 2, 15, 40, {0,0,0,0}, ; ltrim( str( nInfo,10,0 ) ) + " - Modeless Dialog", nStyle ) Wvt_AddDlgItem(..) Wvt_CreateDialog(..) Massimo Belgrano _______________________________________________ Harbour mailing list Harbour@harbour-project.org http://lists.harbour-project.org/mailman/listinfo/harbour