Jump to content
Fivewin Brasil

@ L,C BROWSE - PARA VAGNER


evaldohc

Recommended Posts

citação:

Escrevi o comando conforme seu exemplo

mas não esta funcionando.

oLbx:aActions:={{||Ordem(1)},{||Ordem(2)}}

ele não esta executando a função Ordem()


id=quote>id=quote>

Onde vc colocou a Função Ordem, ela não pode ser STATIC, qual browse vc está usando e como ?

Abraços

Vagner Wirts

São Paulo-Brasil

Link to comment
Share on other sites

Segue abaixo parte do código

@ 01,01 BROWSE oLbx SIZE 300,170 OF oDlgBrow

oColuna:=TCColumn():New(VETOR3[K],bCampo,VETOR2[K],bCOR,"N/W",,,,lEdit,VETOR0[K],VETOR4[K],,,K)

oLbx:bLDblClick={| nRow,nCol|KeyChar( oLbx, 13 , nCol ) }

oLbx:bKeyChar ={|nKey,nFlags|KeyChar(oLbx, nKey, nFlags ) }

oLbx:AddColumn(oColuna)

oLbx:aActions = {{|| facao(3,oLbx)}}

function fAcao(n,oLbxx)

msgalert("TESTE")

OrdDescend(,,.t.)

oLbxx:UpStable()

oLbxx:Refresh()

return (NIL)

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...