[ testxbrw.prg ]
STATIC FUNCTION NewDialog( oWnd )
local oDlg, oBrw
DEFINE DIALOG oDlg RESOURCE "TEST" OF oWnd
oBrw := TXBrowse():New( oWnd ) // <<---- porque oWnd ?
// o certo deveria ser oDlg ?
oBrw:CreateFromResource( 101 )
ACTIVATE DIALOG oDlg
RETURN NIL
TXBrowse from resources
Re: TXBrowse from resources
Ari wrote:[ testxbrw.prg ]
STATIC FUNCTION NewDialog( oWnd )
local oDlg, oBrw
DEFINE DIALOG oDlg RESOURCE "TEST" OF oWnd
oBrw := TXBrowse():New( oWnd ) // <<---- porque oWnd ?
// o certo deveria ser oDlg ?
oBrw:CreateFromResource( 101 )
ACTIVATE DIALOG oDlg
RETURN NIL
Code: Select all
STATIC FUNCTION NewDialog( oWnd )
local oDlg, oBrw
DEFINE DIALOG oDlg RESOURCE "TEST" OF oWnd
oBrw := TXBrowse():New( oDlg )
oBrw:CreateFromResource( 101 )
ACTIVATE DIALOG oDlg
RETURN NIL
William, Morales
Saludos
méxico.sureste
Saludos
méxico.sureste