evaldohc Posted March 12, 2004 Report Share Posted March 12, 2004 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() Quote Link to comment Share on other sites More sharing options...
vagner Posted March 12, 2004 Report Share Posted March 12, 2004 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 Quote Link to comment Share on other sites More sharing options...
evaldohc Posted March 12, 2004 Author Report Share Posted March 12, 2004 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) 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.