the xbrowse is in a dialog the initial size is @ 40,10 XBROWSE oBrw SIZE -10,-110 PIXEL OF oDlg ; DATASOURCE oList COLUMNS aCols ; AUTOSORT FONT oFont; NOBORDER CELL LINES if I click on a checkbox the procedure must change the height to the xbrowse example ...
... to index on the selected group if an archive (odbf) is online I do it normally oDbf:setorder(nGroup) oDbf:gotop() oBrw:oDbf:SetOrder(nGroup) but if I have an array how can I sort? I assume that the oBrw is open in autosort and I create the agroup array ...
best solution @ 103,10 XBROWSE oBrw SIZE -10,-10 PIXEL OF oDlg ; DATASOURCE oDbf COLUMNS aCols ; AUTOSORT FONT oFont; NOBORDER CELL LINES CLASS TMyBrowse() CLASS TMyBrowse FROM TXBrowse CLASSDATA lRegistered AS LOGICAL DATA aCols2Hide AS ...
He armado este ejemplo con un rowset pero con la clausula AUTOSORT y no ordena las columnas, solo al colocar // XbrSetupBar( oBrw ) vueve a ordernar, podria verificar si es asi o estoy haciendo algo mal ? Please modify xbrowse and apply this fix. Please locate this line in the METHOD ...
... have an xbrowse created with an array without the :SetMultiSelectCol() and I have the ability to display a menupopup like this MENU oMenu POPUP if oBrw:IsSelectedRow() MENUITEM "Deselect the current row" action DeSelect_One_array(oBrw) MENUITEM "Deselect everything" action oBrw:SelectRow( ...
He armado este ejemplo con un rowset pero con la clausula AUTOSORT y no ordena las columnas, solo al colocar // XbrSetupBar( oBrw ) vueve a ordernar, podria verificar si es asi o estoy haciendo algo mal ? Yes. This is a bug. Thanks a lot for pointing out. We are going to look into it ...
Rao He armado este ejemplo con un rowset pero con la clausula AUTOSORT y no ordena las columnas, solo al colocar // XbrSetupBar( oBrw ) vueve a ordernar, podria verificar si es asi o estoy haciendo algo mal ? Muchas gracias. #include "fivewin.ch"static aStr := { "208.91.198.197:3306,fwhdemo,gnraofwh,Bharat@1950", ...
Or, if we want to deselect a specific row number, which is not the current row, we can do like this. if ( nAt := AScan( oBrw:aSelected, nRecNo ) ) > 0HB_ADel( oBrw:aSelected, nAt, .t. )endifoBrw:Refresh() We do not recommend this, but this is possible. ...
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 ...