Apple Newton Utilities Guide de l'utilisateur Page 612

  • Télécharger
  • Ajouter à mon manuel
  • Imprimer
  • Page
    / 942
  • Table des matières
  • MARQUE LIVRES
  • Noté. / 5. Basé sur avis des utilisateurs
Vue de la page 611
CHAPTER 16
Find
16-24 Using the Find Service
begin
myApp:Open();
myApp:ShowFoundItem (items[index], self);
end;
end,
....
}
Replacing the Built-in Find Slip 16
Applications can replace the system-supplied Find slip with a customized version,
which is called when the application is frontmost. To implement a custom Find slip
that displays in your application, include a method named
CustomFind in the
application’s base view. This
CustomFind method must open the Find slip you
constructed and do anything else that’s appropriate, including displaying found items.
Reporting Progress to the User 16
It is strongly recommended that your status messages be consistent with those that
the built-in Newton applications display while a Find operation is in progress; for
example, you can use a message such as “Searching in appName.”
Your search method is passed a statusView parameter which is the view the system
is using to report progress. You can display a string in this view, by calling its
SetMessage method. Figure 16-10 depicts a typical status message from the Find
service.
Figure 16-10 Typical status message
Vue de la page 611
1 2 ... 607 608 609 610 611 612 613 614 615 616 617 ... 941 942

Commentaires sur ces manuels

Pas de commentaire