Parte 1, o get genérico
Código: Selecionar todos
STATIC FUNCTION gui_TextCreate( xDlg, xParent, xControl, nRow, nCol, nWidth, nHeight, ;
xValue, cPicture, nMaxLength, bValid, bAction, cImage, ;
aItem, oFrmClass, lPassword )
@ nCol, nRow GET xControl ;
VAR xValue ;
OF xParent ;
SIZE nWidth, nHeight ;
STYLE WS_DISABLED + iif( ValType( xValue ) $ "N,N+", ES_RIGHT, ES_LEFT ) ;
; // MAXLENGTH nMaxLength ;
PICTURE iif( Empty( cPicture ), Nil, cPicture ) ;
VALID bValid
(nMaxLength);(bAction);(cImage);(aItem);(oFrmClass);(lPassword);(xDlg)
RETURN Nil
Código: Selecionar todos
GUI():TextCreate( ::xDlg, iif( ::lWithTab, xTabPage, ::xDlg ), ...


