i have a xbrowse with :SetMultiSelectCol() with bRClicked I associated a menupopup with :bLClicked I click on a row and select it I made the same with :bKeyChar ( space button) :bLClicked := { |r,c,f,oBrw| if( oBrw:Mousecolpos( ...
Nages, I have one popup on this codeblock oBrw:bRClicked := {|nRow,nCol| Disp_Menu_Comuni(oParent,nRow,nCol,oDbf,oBrw,cSection,oCont) .....} Function Disp_Menu_Comuni(oParent,nRow,nCol,oDbf,oBrw,cSection,oCont) .... ENDMENU ACTIVATE POPUP oMenu ...
Thanks for the clarification !! I tried to add a col to the function oBrw:bRClicked := { |r,c,f,oBrw| aResult := XbrToArray( oBrw, [ aCols ] ) How does the passing aCols look like ? {1,2} {"ColName1","Colname2"} these don't work. When I look ...
... "data" ] ) COLUMNS "productid", "model" setup ( oBrw:cHeaders := {"productid","model"}, oBrw:bRClicked := { |r,c,f,o| o:ToDbf( "download.dbf" ) } ) This xbrowse (from a jSon Hash) will create a dbf with the data that I need. I want ...
... aParams ) } btw. it work with "FROM TActiveX" / ::SUPER or as show Question : what is the right Way :?: i also add Slot for ::bRClicked // ActiveX have no Property bRClicked so ADD it ::bRClicked = { |nRow, nCol| VLCMenu( oWnd, nRow, nCol,::oControl,::nIndex ...
... would be confusion between navigation and which cell to act upon. Still if you want to assign action to single click, assign the action to oBrw:bRClicked and you can ascertain the active column with oBrw:SelectedCol()
... would be confusion between navigation and which cell to act upon. Still if you want to assign action to single click, assign the action to oBrw:bRClicked and you can ascertain the active column with oBrw:SelectedCol()
... 304 ) Called from: James.prg => TESTTDATABASE( 202 ) I explain you I have on line 128 of my procedure this line oBrw:bRClicked := {|nRow,nCol| CLDisp_Men(nRow,nCol,oBrw,cPrefixState+"Aux",oDbf,oDlg)} CLDisp_Men function open a menu Function CLDisp_Men(nRow,nCol,oBrw,cIniEntry,oDbf,oDlg) ...
... cNewSQL ) hacía que el conjunto de filas fuera de sólo lectura. Ahora se ha corregido. * Mejoras en TMSGITEM: - Los bloques de código bAction y bRClicked estaban siendo evaluados con sólo dos parámetros nRow y nCol. Ahora son evaluados con tres parámetros: nRow,nCol y nSelf. - Nuevo método ShowPopUp( ...