[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Gambas-bugtracker] Bug #2956: Search, string not found error


http://gambaswiki.org/bugtracker/edit?object=BUG.2956&from=L21haW4-

Comment #1 by Bruce STEERS:

I think DoSearch only exits with "not found" message when iAction = SEARCH_BROWSE (line 412) doesn't seem to have exit for other search modes.

I've temporarily added this about line 421 to handle no results if it is SEARCH_FORWARD or SEARCH_BACKWARD action...

  If iAction <= SEARCH_BACKWARD And If $aResult.Count = 0 Then 
    Goto SHOW_MESSAGE
    Return
  Endif


----[ Gambas bugtracker-list is hosted by https://www.hostsharing.net ]----

References:
[Gambas-bugtracker] Bug #2956: Search, string not found error<bugtracker@xxxxxxxxxxxxxx>