Is it possible to modify xbrowse so that it can also accept the 'space' character in the 'seek' search string?
This change would allow searches even with 2 or more words.
- Code: Select all Expand view RUN
xbrowse vers. :
#define FWVERSION "FWH 23.10"
#define FW_VersionNo 23101
298 DATA nSortSecs INIT 0
299 DATA lSeekSpace INIT .T. <------- new row
3879 cKey := Chr( nKey )
3880 oCol := ::SelectedCol()
3881 if nKey == 32 .and. ::nMarqueeStyle <= MARQSTYLE_HIGHLROWRC .and. ;
3882 oCol:hChecked .and. oCol:lEditable .and. -----------> .not. ::lSeekSpace
3883 oCol:CheckToggle()
3884 elseif nKey == 32 .and. !::lFastEdit .and. ::oMultiSelCol != nil ------------> .and. .not. ::lSeekSpace
3885 ::SelectRow( 2 )
3886 elseif ( ::lFastEdit .or. nKey == Asc( '=' ) ) .and. ;
3887 ( ::nMarqueeStyle <= MARQSTYLE_HIGHLROWRC .or. ::bClrRowFocus != nil ) .and. ;
3888 oCol:lEditable .and. oCol:IsEditKey( nKey ) //cKey )
TIA