jfaguiar Posted September 13, 2021 Report Share Posted September 13, 2021 Olá galera. Como faço para capturar o número da coluna em que estou focado em xbrowse? Em WBrowse é a funcionalidade nAtCol, exemplo: ****************************************************************************** STATIC FUNCTION EditListBox(oLbx, nRow, nCol, nKEY) IF nCol > 0 nCOL := oLbx:nAtCol( ncol ) IF nCol = 1 // campo Imprime n 1 IF STATUS = 2 IF !MsgNoYes("Cancela a seleção deste título ?",'Confirmação') RETURN Nil ENDIF REPLACE STATUS WITH 1 ELSE REPLACE STATUS WITH 2 ENDIF ENDIF oLbx:Refresh() ENDIF RETURN Nil ***************************************************************************** Obrigado Quote Link to comment Share on other sites More sharing options...
giovanyvecchi Posted September 13, 2021 Report Share Posted September 13, 2021 Se não me engano é oLbx:nColAct Quote Link to comment Share on other sites More sharing options...
Marca Posted September 13, 2021 Report Share Posted September 13, 2021 nColAtual := oBrw:ColAtPos( oBrw:nColSel ):nCreationOrder Quote Link to comment Share on other sites More sharing options...
jfaguiar Posted September 13, 2021 Author Report Share Posted September 13, 2021 Deu certo. Obrigado galera. 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.