Legacy Documentclose button

Important: The information in this document is obsolete and should not be used for new development.

Previous Book Contents Book Index Next

Inside Macintosh: Cyberdog Programmer's Kit / Part 3 - Cyberdog Reference
Chapter 7 - Classes and Methods / CyberPartExtension


IsURLSelected

Tests whether the selected text in this part is a URL.

ODBoolean IsURLSelected (in ODFrame frame);
frame
The frame to check for selected text.
return value
kODTrue if a URL is selected; otherwise, kODFalse.
DISCUSSION
This method should return kODTrue if a URL is selected in the specified frame. The superclass implementation of this method returns kODFalse. If a Cyberdog display part allows the user to select and open a URL, its CyberPartExtension subclass must override this method.

If you subclass CyberPartExtension and override this method, your override must not call its inherited method; that is, your override method must implement this method's functionality completely.

SEE ALSO
The GetSelectedURL method (page 287).


Previous Book Contents Book Index Next

© Apple Computer, Inc.
13 JUL 1996