At 11:01pm -0800 99-11-18, Palm Developers Forum List wrote:
>Date: 18 Nov 1999 08:49:35 -0800
>From: "Gordon, Douglas" <[EMAIL PROTECTED]>
>Subject: Implementing "Find"
>
>I've been having "fun" implementing standard PalmOS Find functionality. It
>seems to be working OK now on a real Palm IIIx, but I was thrown off a bit
>during debugging by the following things that I noticed:
>
> 1) It does not seem possible on POSE to stop a search in progress. My
>program checks for events while in its find loop, per the examples, but when
>running the emulator, clicking on the Stop button doesn't seem to do
>anything. It does work on a real device, but I spent a bit of time trying to
>debug it on POSE, figuring I was doing something wrong.
Not sure why you're having this problem. Maybe your desktop machine
is slow, thus you need to press and hold over the Stop button for
Poser to catch the tap.
> 2) While using the CW 6 debugger to step through some of my code, I
>noticed in the Find parameter block that the field strAsTyped contained my
>search string, but strToFind showed up as pure garbage. However, passing
>strToFind into FindStrInStr did match my records correctly as expected. Is
>strToFind pointing to a string that has been converted to 2-byte chars or
>something like that?
strToFind has been munged into a case-insensitive format suitable for
passing to FndStrInStr and TxtFindString.
-- Ken
Ken Krugler
TransPac Software, Inc.
<http://www.transpac.com>
+1 530-470-9200 (direct) +1 408-261-7550 (main)