JoséQuintas Posted April 21 Report Share Posted April 21 Iniciante no fivewin. Tentando o browse de um DBF usando codeblock. FUNCTION gui_Browse( xDlg, xControl, nRow, nCol, nWidth, nHeight, oTbrowse, ; cField, xValue, workarea, aKeyCodeList, aDlgKeyCodeList ) LOCAL aItem, oCol @ nRow, nCol XBROWSE xControl ; DATASOURCE workarea ; SIZE nWidth, nHeight PIXEL ; OF xDlg ; LINES CELL FOR EACH aItem IN oTbrowse ADD COLUMN oCol TO xControl SHOWBLOCK aItem[2] HEADER aItem[1] NEXT RETURN Nil oTbrowse contém um array com { titulo, { || codeblock } } José M. C. Quintas Quote Link to comment Share on other sites More sharing options...
kapiaba Posted April 21 Report Share Posted April 21 https://fivetechsupport.com/forums/viewtopic.php?f=3&t=18053 Quote Link to comment Share on other sites More sharing options...
JoséQuintas Posted April 21 Author Report Share Posted April 21 Faltava isto xControl:nMoveType := 0 xControl:CreateFromCode() José M. C. Quintas Quote Link to comment Share on other sites More sharing options...
kapiaba Posted April 22 Report Share Posted April 22 https://forums.fivetechsupport.com/viewtopic.php?f=6&t=28638&p=160447&hilit=nmovetype&sid=4ed9e50423a674094bc92ed4a2bc9a2e#p160447 Regards, saludos. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.