Search found 47 matches: nheadbmpno

Return to advanced search

sort up/down xbrowse error function sort

... to sort the dbf https://i.postimg.cc/28W1PtJb/j.png initial run ok , them when I click on header it refresh the oBrw but not the nHeadBmpNo why ? look this sample #include "fivewin.ch"REQUEST DBFCDXfunction Main()   local oDlg, oBrw   local ...
by Silvio.Falconi
Tue Feb 28, 2023 11:18 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: sort up/down xbrowse error function sort
Replies: 0
Views: 402

Re: xbrowse column nHeadBmpNo called too late

Recommendations: Please avoid using ADD COLUMN TO oBrw. This syntax was created long time back only to help easy migration of already existing code from TCBrowse. Also we better inform the xbrowse that the datasource is the array while creating the browse. Recommended syntax: aData := {;  ...
by nageswaragunupudi
Wed May 05, 2021 10:08 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: xbrowse column nHeadBmpNo called too late
Replies: 2
Views: 549

Re: xbrowse column nHeadBmpNo called too late

Please add this
Code: Select all  Expand view
oBrwTipiDoc:aCols[1]:bOnChange := {|o|o:oBrw:RefreshHeaders()}
 
by nageswaragunupudi
Wed May 05, 2021 10:00 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: xbrowse column nHeadBmpNo called too late
Replies: 2
Views: 549

xbrowse column nHeadBmpNo called too late

... }         //:bEditValue := {|r,c,o,k| oBrwTipiDoc:aArrayData[oBrwTipiDoc:nRowSel,1] := !oBrwTipiDoc:aArrayData[oBrwTipiDoc:nRowSel,1] }         :nHeadBmpNo    := { || GetHeadBmpId(oBrwTipiDoc:aArrayData) }      end      oBrwTipiDoc:SetArray( {;         {.T.,"OF","Ordine ...
by AntoninoP
Wed May 05, 2021 6:07 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: xbrowse column nHeadBmpNo called too late
Replies: 2
Views: 549

Re: Xbrowse Problem Bitmap autosort

... run ok I have WITH OBJECT oApp():oGrid WITH OBJECT oApp():oGrid:aCols[1] :AddResource("SORT_1_16") :AddResource("SORT_2_16") :nHeadBmpNo := 1 :nHeadBmpAlign := AL_RIGHT :bLClickHeader :={ ||(CuSel_Index(1,"CU"), CU->(DbSetOrder(1),nOrder:=1) ) } END END IF I insert ...
by Silvio.Falconi
Fri Nov 09, 2018 8:59 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Xbrowse Problem Bitmap autosort
Replies: 3
Views: 755

Re: Change the size of icons in FWH18.03

Icons 16x16 in the xBrowse column headers ..FWH\icons\blue.ico oBrw:aCols[nn]:AddResource( "blue" ) oBrw:aCols[nn]:nHeadBmpNo:= 1 oBrw:aCols[nn]:nHeadBmpAlign:= AL_RIGHT ------------------------------------- To show in xImage icons 64x64 additionally added oImg:FitWidth() oImg:FitHeight ...
by Natter
Tue May 15, 2018 6:01 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Change the size of icons in FWH18.03
Replies: 4
Views: 800

Re: agregar combobox a xbrowse en los header

... la clase de xbrowse, tuve que improvisar: En Botón en los Header puse una imagen: oLbx:aCols[ 3 ]:AddResource("flecha"); oLbx:aCols[ 3 ]:nHeadBmpNo := 1;oLbx:aCols[ 3 ]:nHeadBmpAlign := AL_RIGHT oLbx:aCols[ 4 ]:AddResource("flecha"); oLbx:aCols[ 4 ]:nHeadBmpNo := 1;oLbx:aCols[ ...
by jbrita
Sat Aug 19, 2017 10:04 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: agregar combobox a xbrowse en los header
Replies: 5
Views: 1554

Re: A problem xBrowse seek on DATE and NUMERIC ?

... Alpha /* SetCheck() adds to 2 bitmaps to the column. After that the bitmap ("sort.bmp") you added is the 3rd bitmap. So you should use :nHeadBmpNo := 3 Method AddBitmap( <bmpfile/resource/array> ) superceded obsolete methods AddBmpFile() and AddResource() from FWH 10.01 :nHeadBmpNo ...
by ukoenig
Sun Jan 29, 2017 10:16 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: A problem xBrowse seek on DATE and NUMERIC ?
Replies: 6
Views: 2473

Re: A problem xBrowse seek on DATE and NUMERIC ?

SetCheck() adds to 2 bitmaps the the column. After that the bitmap ("sort.bmp") you added is the 3rd bitmap. So you should use :nHeadBmpNo := 3 Method AddBitmap( <bmpfile/resource/array> ) superceded obsolete methods AddBmpFile() and AddResource() from FWH 10.01 :nHeadBmpNo ...
by nageswaragunupudi
Sun Jan 29, 2017 2:32 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: A problem xBrowse seek on DATE and NUMERIC ?
Replies: 6
Views: 2473

Re: A problem xBrowse seek on DATE and NUMERIC ?

... http://www.pflegeplus.com/IMAGES/xbrwedit5.jpg WITH OBJECT oBrw1:Married :AddBmpFile( "Sort.bmp" ) // Index-image :nHeadBmpNo := 1 END regards Uwe :D
by ukoenig
Sat Jan 28, 2017 8:34 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: A problem xBrowse seek on DATE and NUMERIC ?
Replies: 6
Views: 2473

New FTDN April/Abril 2016 (FWH 16.04)

... of showing text in the header, it is also possible to display an icon/bitmap/any image, using oBrw:nRecSelHeadBmpNo same way as we use oCol:nHeadBmpNo. However to simplify programming, it is also possible to specify the image name Eg: oBrw:nRecSelHeadBmpNo := "c:\fwh\icons\hires\ie.ico" ...
by Antonio Linares
Thu May 12, 2016 6:51 pm
 
Forum: WhatsNew / Novedades
Topic: New FTDN April/Abril 2016 (FWH 16.04)
Replies: 8
Views: 8380

Re: A xBrowse-problem using public defined fonts ?

... ) :oHeaderFont := oVFont // defined font of a selected column :cHeader := "Age Of Employee" :AddBmpFile( '..\bitmaps\attach.bmp' ) :nHeadBmpNo := 1 END that was the reason I used : oBrw:oFont := oSysFont1 best regards Uwe :D
by ukoenig
Sat Jan 16, 2016 1:00 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: A xBrowse-problem using public defined fonts ?
Replies: 6
Views: 877

Re: Xbrowse Header-bmp possible to change at runtime ?

With predefined images at startup it works changing < :nHeadBmpNo > with my sample above I wanted to rearange the images with new names not calling the image-position Image changed by position works FOR nCol := 1 to 3     WITH OBJECT oBrw:aCols[ ...
by ukoenig
Thu Dec 10, 2015 9:57 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Xbrowse Header-bmp possible to change at runtime ?
Replies: 3
Views: 785

Re: Xbrowse Header-bmp possible to change at runtime ?

At run-time we can change oCol:nHeadBmpNo and then either oBrw:RefreshHeaders() or oBrw:Refresh()
by nageswaragunupudi
Wed Dec 09, 2015 10:00 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Xbrowse Header-bmp possible to change at runtime ?
Replies: 3
Views: 785

Re: Add Xbrowse Column at runtime

... OBJECT oBrw WITH OBJECT oBrw:InsCol( 8 ) :lHide := !lRitenuta :bEditValue := { || AScan( oBrw:aSelected, oBrw:BookMark ) > 0 } :SetCheck() :nHeadBmpNo := { || If( Len( oBrw:aSelected ) == oBrw:nLen, 1, 2 ) } :cHeader := "Rit." END :lFastEdit = .T. :nStretchCol := STRETCHCOL_WIDEST ...
by Silvio.Falconi
Wed Nov 12, 2014 12:02 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Add Xbrowse Column at runtime
Replies: 7
Views: 2675
Next

Return to advanced search