Search found 43 matches: lhide

Return to advanced search

Re: destroy a xbrowse

... of destroy it. If the data has no services, you could hide the colums ? static function ReArrangeCols( oBrw, aCols ) AEval( oBrw:aCols, { |o| o:lHide := .f. } ) oBrw:ReArrangeCols( aCols ) AEval( oBrw:aCols, { |o| o:lHide := .t. }, Len( aCols ) + 1 ) oBrw:Refresh() return nil Showing a empty ...
by Marc Venken
Fri Jun 11, 2021 7:42 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: destroy a xbrowse
Replies: 5
Views: 999

Re: Xbrowse : Setup configuration file

... ] cPrompt := Trim( MemoLine( if(VALTYPE(oCol:cHeader)=="C",oCol:cHeader,EVAL(oCol:cHeader)), 250, 1 ) ) MenuAddItem( cPrompt, , !oCol:lHide, ( len(::aDisplay) != 1 .or. ocol:nPos != 1 ), GenMenuBlock( ::aCols, nFor ) ) next ENDMENU if ::bkeydown<>nil.and.::nMarqueeStyle==MARQSTYLE_HIGHLCELL ...
by ShumingWang
Sat Apr 17, 2021 12:11 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Xbrowse : Setup configuration file
Replies: 5
Views: 1494

Re: XBrowse: Using Get for incremental Seek/Filters

... the columns configuration , how I can resolve ? you sad me "You have to reset the items of the combobox on the basis of columns where oCol:lHide == .f. " But I not understood How make it today I set on xbrowse these lines :lAllowRowSizing := .F. :lAllowColSwapping := .F. :lAllowColHiding ...
by Silvio.Falconi
Thu Feb 18, 2021 8:21 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: XBrowse: Using Get for incremental Seek/Filters
Replies: 32
Views: 4723

Re: XBrowse: Using Get for incremental Seek/Filters

nageswaragunupudi wrote:You have to reset the items of the combobox on the basis of columns where oCol:lHide == .f.


I can't do it
by Silvio.Falconi
Fri Feb 12, 2021 7:33 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: XBrowse: Using Get for incremental Seek/Filters
Replies: 32
Views: 4723

Re: XBrowse: Using Get for incremental Seek/Filters

nageswaragunupudi wrote:You have to reset the items of the combobox on the basis of columns where oCol:lHide == .f.

How I not understood, I not Know how Make it

and then
aCols := { ;
{ "FIRST", "Nome",, 120, },;
is as // { field, header, picture, size, justify, sortorder } ?
by Silvio.Falconi
Mon Feb 08, 2021 10:48 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: XBrowse: Using Get for incremental Seek/Filters
Replies: 32
Views: 4723

Re: XBrowse: Using Get for incremental Seek/Filters

You have to reset the items of the combobox on the basis of columns where oCol:lHide == .f.
by nageswaragunupudi
Mon Feb 08, 2021 10:22 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: XBrowse: Using Get for incremental Seek/Filters
Replies: 32
Views: 4723

Re: change on line a combo

... ) for n= 1 to Len(aBrowse) AAdd( aHdrs, aBrowse[n][2] ) AAdd( aColumns, aBrowse[n][1] ) next And change back AEval( oBrw:aCols, { |o| If( o:lHide,, iif( len(alltrim(o:cHeader))>0, AAdd( aItems, o:cHeader ) , ) ) } ) to AEval( oBrw:aCols, { |o| If( o:lHide,,AAdd( aItems, o:cHeader ) ) ...
by Otto
Thu Nov 19, 2020 2:54 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: change on line a combo
Replies: 24
Views: 6000

Re: change on line a combo

... ) for n= 1 to Len(aBrowse) AAdd( aHdrs, aBrowse[n][2] ) AAdd( aColumns, aBrowse[n][1] ) next And change back AEval( oBrw:aCols, { |o| If( o:lHide,, iif( len(alltrim(o:cHeader))>0, AAdd( aItems, o:cHeader ) , ) ) } ) to AEval( oBrw:aCols, { |o| If( o:lHide,,AAdd( aItems, o:cHeader ) ) ...
by Silvio.Falconi
Wed Nov 18, 2020 8:41 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: change on line a combo
Replies: 24
Views: 6000

Re: change on line a combo

... ) for n= 1 to Len(aBrowse) AAdd( aHdrs, aBrowse[n][2] ) AAdd( aColumns, aBrowse[n][1] ) next And change back AEval( oBrw:aCols, { |o| If( o:lHide,, iif( len(alltrim(o:cHeader))>0, AAdd( aItems, o:cHeader ) , ) ) } ) to AEval( oBrw:aCols, { |o| If( o:lHide,,AAdd( aItems, o:cHeader ) ) ...
by Otto
Tue Nov 17, 2020 7:51 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: change on line a combo
Replies: 24
Views: 6000

Re: change on line a combo

Silvio, can you please try this: Function ChangeBrowse( oBrw, oControl) local aItems:= {} AEval( oBrw:aCols, { |o| If( o:lHide,, iif( len(alltrim(o:cHeader))>0, AAdd( aItems, o:cHeader ) , ) ) } ) oControl[2]:setItems(aItems) oControl[2]:refresh() oBrw:Setfocus() return nil //-----------------------------------------------------------------------------------------------------// ...
by Silvio.Falconi
Tue Nov 17, 2020 5:49 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: change on line a combo
Replies: 24
Views: 6000

Re: change on line a combo

Silvio, can you please try this: Function ChangeBrowse( oBrw, oControl) local aItems:= {} AEval( oBrw:aCols, { |o| If( o:lHide,, iif( len(alltrim(o:cHeader))>0, AAdd( aItems, o:cHeader ) , ) ) } ) oControl[2]:setItems(aItems) oControl[2]:refresh() oBrw:Setfocus() return nil //-----------------------------------------------------------------------------------------------------// ...
by Otto
Tue Nov 17, 2020 4:34 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: change on line a combo
Replies: 24
Views: 6000

Re: XBROW BORDER getting wipe out when uses UP/DOWN keys

... //************** IF THE BELOW LINE COMMENTED THEN IT OUTLINE BOX SHOWS CORRECTLY WHILE NAVIGATING THE UP/DOWN KEYS ************* //:aCols[ 3 ]:lHide := .T. #include "fivewin.ch"#define C_GETH 25PROCEDURE MAIN local oDlg, oBrwTLib,oBrwTAss, oFontSay, oFontLovBrw local aArrData1 ...
by shri_fwh
Tue Oct 22, 2019 10:10 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: XBROW BORDER getting wipe out when uses UP/DOWN keys
Replies: 2
Views: 542

RBBTN bitmaps

... can call 2 files with ::LoadBitmaps( cBmpUpFile, cBmpDownFile ) then on METHOD LoadBitmaps( cName ) you can load one file I tried also with IIF(lHide, oApp():oToolButton:SetFile( "TOOLBAR_OFF", "TOOLBAR_OFF" ),; oApp():oToolButton:SetFile( "TOOLBAR_ON", "TOOLBAR_ON") ...
by Silvio.Falconi
Tue Aug 07, 2018 2:45 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: RBBTN bitmaps
Replies: 1
Views: 267

Re: xbrowse and Excel

... If you put this code after the creation of the exel file, the colums are back. AEval( oBrw:aCols, { |o| o:lHide := .f. } ) oBrw:refresh()
by Marc Venken
Sun Apr 01, 2018 7:23 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: xbrowse and Excel
Replies: 8
Views: 1717

Re: xbrowse y keydown cosa rara.

/***************************************************************************/
procedure EscondeColunasRestantes( oBrw, nColInicial)
/*
*/
Local x

for x:=nColInicial to len(oBrw:aCols)
oBrw:aCols[x]:lHide := .t.
next

return
by MGA
Thu Dec 29, 2016 7:30 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: xbrowse y keydown cosa rara.
Replies: 3
Views: 1373
Next

Return to advanced search