Jump to content
Fivewin Brasil

xbrowse com DBF e codeblock


Recommended Posts

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

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...