Search found 4243 matches: obrw

Return to advanced search

Re: how to change the size of an xbrowse in runtime

For
@ 40,10 XBROWSE oBrw SIZE -10,390 PIXEL OF oDlg ;


you need:
oBrw:nRightMargin += 40

oBrw:nHeight += 40
by Otto
Thu May 02, 2024 9:38 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: how to change the size of an xbrowse in runtime
Replies: 17
Views: 290

Re: how to change the size of an xbrowse in runtime

Otto wrote:Static function changeBrw(oBrw,lmarried)
IF lmarried
oBrw:nBottomMargin -= 40
else
oBrw:nBottomMargin += 40
endif
oBrw:refresh()
return nil


use the test I published
by Silvio.Falconi
Thu May 02, 2024 9:32 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: how to change the size of an xbrowse in runtime
Replies: 17
Views: 290

Re: how to change the size of an xbrowse in runtime

Static function changeBrw(oBrw,lmarried)
IF lmarried
oBrw:nBottomMargin -= 40
else
oBrw:nBottomMargin += 40
endif
oBrw:refresh()
return nil
by Otto
Thu May 02, 2024 9:23 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: how to change the size of an xbrowse in runtime
Replies: 17
Views: 290

Re: how to change the size of an xbrowse in runtime

If you use negative values for size, you should use the following to change it:
oBrw:nBottomMargin -= 40
Regards,
Otto
by Otto
Thu May 02, 2024 8:33 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: how to change the size of an xbrowse in runtime
Replies: 17
Views: 290

Re: how to change the size of an xbrowse in runtime

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 ...
by Silvio.Falconi
Thu May 02, 2024 7:51 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: how to change the size of an xbrowse in runtime
Replies: 17
Views: 290

how to change the size of an xbrowse in runtime

I not Know How change the height of a xbrowse I tried with

Static function changeBrw(oBrw,lmarried)
IF lmarried
oBrw:nHeight -= 40
else
oBrw:nHeight += 40
endif
oBrw:refresh()
return nil

but not happen nothing
by Silvio.Falconi
Thu May 02, 2024 4:06 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: how to change the size of an xbrowse in runtime
Replies: 17
Views: 290

xbrowse report group

... 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 ...
by Silvio.Falconi
Mon Apr 29, 2024 4:44 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: xbrowse report group
Replies: 0
Views: 48

Re: New txbrowse

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 ...
by Silvio.Falconi
Mon Apr 22, 2024 9:13 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: New txbrowse
Replies: 6
Views: 451

Re: FWH 2006: XBrowse : Own built-in Buttonbar

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 ...
by nageswaragunupudi
Tue Apr 16, 2024 3:34 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: FWH 2006: XBrowse : Own built-in Buttonbar
Replies: 14
Views: 2334

SetMultiSelectCol() on line

... 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( ...
by Silvio.Falconi
Sat Apr 13, 2024 8:32 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: SetMultiSelectCol() on line
Replies: 5
Views: 228

Re: FWH 2006: XBrowse : Own built-in Buttonbar

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 ...
by nageswaragunupudi
Fri Apr 12, 2024 9:51 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: FWH 2006: XBrowse : Own built-in Buttonbar
Replies: 14
Views: 2334

Re: FWH 2006: XBrowse : Own built-in Buttonbar

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", ...
by TecniSoftware
Fri Apr 12, 2024 12:20 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: FWH 2006: XBrowse : Own built-in Buttonbar
Replies: 14
Views: 2334

Error Fwh 24.02 con XBROWSE

... FROM 0,0 TO nHeith,nWith PIXEL MDICHILD OF oWind ; TITLE "Mantenimiento de Valorizaciones" ICON oIco NOZOOM NOICONIZE @ 10,10 XBROWSE oBrw OF oWnd ; DATASOURCE oQry ; COLUMNS aCols ; LINES CELL AUTOSORT SIZE -10,-10 PIXEL FONT oFont WITH OBJECT oBrw :bClrRowFocus := oBrw:bClrSelFocus ...
by CARLOS ATUNCAR
Mon Apr 08, 2024 6:31 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Error Fwh 24.02 con XBROWSE
Replies: 0
Views: 109

Re: FWMARIA TOEXCEL ERROR FREEZEPANES

It appears you are using
Code: Select all  Expand view
oRowSet:ToExcel()

of FWMaria lib.
We will now include this code in TRY/CATCH block for future.

But we advise you to use oBrw:ToExcel() which is safer.
by nageswaragunupudi
Sat Apr 06, 2024 2:21 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: FWMARIA TOEXCEL ERROR FREEZEPANES
Replies: 3
Views: 3278

Re: xbrowse SelectRow method

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. ...
by Silvio.Falconi
Mon Apr 01, 2024 10:55 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: xbrowse SelectRow method
Replies: 3
Views: 712
Next

Return to advanced search