Como faço para que o método INITIATE de TFOLDER seja executado no programa abaixo:
- Code: Select all Expand view RUN
// Dinamically building a folder ontop of a Dinamic DialogBox
#include "FiveWin.ch"
static oDlg, oFld
//----------------------------------------------------------------------------//
function Main()
DEFINE DIALOG oDlg TITLE "FiveWin Dynamic folders" ;
FROM 5, 5 TO 20, 50
ACTIVATE DIALOG oDlg CENTERED on init INICIO()
return nil
static function INICIO
@ 0.5, 1 FOLDER oFld PROMPT "&xBase", "&And OOP", "&Power" ;
OF oDlg SIZE 160, 90 && design
@ 1, 1 BUTTON "&Hello" OF oFld:aDialogs[ 1 ] ;
ACTION MsgInfo( "Hello world!" )
return nil
//----------------------------------------------------------------------------//
Gracias,
Rossine.