Lo prometió y lo cumplió...very good, han tomado en cuenta hacer esto..? saludos, gracias...
viewtopic.php?f=3&t=30302&p=173547#p173547
You should be able to do this and more with Gets in Bar introduced in FWH 16.04
Lo prometió y lo cumplió...very good, han tomado en cuenta hacer esto..? saludos, gracias...
viewtopic.php?f=3&t=30302&p=173547#p173547
REDEFINE XBROWSE oLBxcl ;
DATASOURCE oClients ;
AUTOCOLS ;
; //HEADERS "Account", "Client", "City", "Phone", "Cellular", "Email", "Last Visti", "Total Sales";
; //COLUMNS "acrnum", "clicom", "clicty", "clipho", "clicel", "clieml", "clidls", "acrytd";
ID 860 ;
OF oFldCSE:aDialogs[ 1 ];
; //ON CHANGE ( oClientsr:load(), oFldCSE:aDialogs[ 1 ]:update() ) ;
; //ON DBLCLICK ( lCliScoped := oServiceUnits:ScopeUnits( oClientsr, lCliScoped ), oLbvm:refresh( ),;
; // oServiceUnitsr:load( ), oFldCSE:aDialogs[2]:update( ),oFldCSE:setoption(2) ) ;
AUTOSORT UPDATE
// Provide the header gradient and styles
// oLbxcl:bClrGrad := aPubGrad
oLbxcl:nMarqueeStyle := MARQSTYLE_HIGHLROW
oLbxcl:nColDividerStyle := LINESTYLE_RAISED
oLbxcl:nRowDividerStyle := LINESTYLE_RAISED
oLbxcl:nHeadStrAligns := AL_CENTER
oLbxcl:nStretchCol := STRETCHCOL_LAST
// Use for incremental search on opened database
oLbxcl:bSeek := { |c| oClients:Seek( Upper( c )) }
oLbxcl:lSeekBar := .t.
oLbxcl:bClrEdits := { || { CLR_HRED, FLC_YELLOW} }
Time from start: 0 hours 0 mins 27 secs
Error occurred at: 12/26/16, 12:14:11
Error description: Error BASE/1068 Argument error: array access
Args:
[ 1] = U
[ 2] = N 2
Stack Calls
===========
Called from: .\source\classes\XBROWSE.PRG => TXBRWCOLUMN:SHOWSEEK( 12844 )
Called from: .\source\classes\XBROWSE.PRG => TXBRWCOLUMN:CHECKBARGET( 12787 )
Called from: .\source\classes\XBROWSE.PRG => TXBROWSE:PAINTHEADER( 2237 )
Called from: .\source\classes\XBROWSE.PRG => TXBROWSE:PAINT( 1832 )
Called from: .\source\classes\XBROWSE.PRG => TXBROWSE:DISPLAY( 1693 )
Called from: .\source\classes\CONTROL.PRG => TCONTROL:HANDLEEVENT( 1697 )
Called from: .\source\classes\XBROWSE.PRG => TXBROWSE:HANDLEEVENT( 14217 )
Called from: .\source\classes\WINDOW.PRG => _FWH( 3306 )
Called from: => DIALOGBOXINDIRECT( 0 )
Called from: .\source\classes\DIALOG.PRG => TDIALOG:ACTIVATE( 296 )
Called from: c:\fwh\source\function\errsysw.prg => ERRORDIALOG( 421 )
Called from: c:\fwh\source\function\errsysw.prg => (b)ERRORSYS( 23 )
Called from: .\source\classes\XBROWSE.PRG => TXBRWCOLUMN:SHOWSEEK( 12844 )
Called from: .\source\classes\XBROWSE.PRG => TXBRWCOLUMN:CHECKBARGET( 12787 )
Called from: .\source\classes\XBROWSE.PRG => TXBROWSE:PAINTHEADER( 2237 )
Called from: .\source\classes\XBROWSE.PRG => TXBROWSE:PAINT( 1832 )
Called from: .\source\classes\XBROWSE.PRG => TXBROWSE:DISPLAY( 1693 )
Called from: .\source\classes\CONTROL.PRG => TCONTROL:HANDLEEVENT( 1697 )
Called from: .\source\classes\XBROWSE.PRG => TXBROWSE:HANDLEEVENT( 14217 )
Called from: .\source\classes\WINDOW.PRG => _FWH( 3306 )
Called from: => DIALOGBOX( 0 )
Called from: .\source\classes\DIALOG.PRG => TDIALOG:ACTIVATE( 296 )
Called from: c:\Projects\MLS2015\Source\mCustomer.prg => TCLIENTSERVICE:FULLEDIT( 444 )
Called from: C:\Projects\MLS2015\Source\asw2016.prg => (b)MAIN( 352 )
Called from: .\source\classes\BTNBMP.PRG => TBTNBMP:CLICK( 665 )
Called from: .\source\classes\BTNBMP.PRG => TBTNBMP:LBUTTONUP( 901 )
Called from: .\source\classes\CONTROL.PRG => TCONTROL:HANDLEEVENT( 1721 )
Called from: .\source\classes\BTNBMP.PRG => TBTNBMP:HANDLEEVENT( 1843 )
Called from: .\source\classes\WINDOW.PRG => _FWH( 3306 )
Called from: => WINRUN( 0 )
Called from: .\source\classes\WINDOW.PRG => TWINDOW:ACTIVATE( 1043 )
Called from: C:\Projects\MLS2015\Source\asw2016.prg => MAIN( 582 )
rhlawek wrote:Mr. Rao,
The last sample code you posted, asking that we change it to recreate the problem, shows the problem with no modifications at all to the sample source.
Robb
However, if I click on an indexed column, I get the following error:
oLbxcl:bClrEdits := { || { CLR_HRED, FLC_YELLOW} }
It isn't just 32 bit msvc with the problem, it exists in 64 bit as well.
First, the order of using lSeekBar and lGetBar matters, even if the intent enable one and not the other.
Is it possible to change the bmp in the seek bar from the hour glass to whatever else want?
Is it possible to change the filter type it uses to instead of being a left to right match as the user types, to instead do a substring filter?
oBrw:lIncrFilter := .t.
oBrw:cFilterFld := <fieldname> // eg: oBrw:cFilterFld := "CITY"
oBrw:oFilterCol := oBrw:oCol( "city" )
Return to FiveWin for Harbour/xHarbour
Users browsing this forum: No registered users and 28 guests