Open your .nib file in IB
Drag a "Square button" from the palette to your main view. (the one
with the blue smiling Mac OS logo)
To see the properties of the button in IB you can use Cmd-1.
The settings for that button should be:
Type: Square Button
Behavior: Momentary Change
Options: Enabled (and nothing else checked there)
Alignment: Centered (->|<-)
Icon Position: On top of text (box on top of line)
If you know how to set the placement of items in IB you should do that
in the Inspector (Cmd-3).
Now once you've done this you need to name this button.
In the inspector choose "Sherlock" or just use Cmd-7.
There you can name this "MyImageButton" (no quotes)
Save your .NIB file
Now make sure you have that logo handy as a TIFF file with the .tiff
extension (example: MyLogo.tiff).
Place it in the same directory as your "channel.xml" file is (the
directory "Channel").
Open your channel project in Project Builder.
Choose the "Channel.xml" file in there and locate the initialization
trigger
Note: The first part here "Internet." is the name of your data store.
This may be different in your channel but I assume you just created a
default project and this is the name there.
Now this should really just work to display a logo but now you may want
something to actually happen once the user clicks on it.
On Saturday, December 7, 2002, at 09:38 PM, Patrick Crowley wrote:
Just a logo I can click on.
Best,
Patrick
Howdy.
Are you looking into dynamically displaying images off the web or to
place a logo you can click on?
Regards,
Steingrmmur
On Saturday, December 7, 2002, at 09:16 PM, Patrick Crowley wrote:
Can anyone explain outline all the necessary steps to add an image
to a
Sherlock channel?
I'd like to do so, but I have yet to find a complete explanation for
how to
accomplish this in either the Sherlock documentation or the archives
of this
mailing list.
I'm looking for something along the lines of...
(1) Open your project and NIB files.
(2) Add an image to your project files.
(3) Drag an NSImageView object to your interface.
(4) Set the Sherlock attributes for the object.
(5) Load the image in your init trigger.
For those of us who are not yet Cocoa developers, this would be very
helpful.
Thanks!
Best,
Patrick
_______________________________________________
sherlock-channel-development mailing list |
email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/sherlock-channel-
development
Do not post admin requests to the list. They will be ignored.
_______________________________________________
sherlock-channel-development mailing list |
email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/sherlock-channel-
development
Do not post admin requests to the list. They will be ignored.
best,
patrick crowley
mokolabs>>
making sure the future doesn't suck...
web > http://mokolabs.com
email > email@hidden
aim > mokolabs
_______________________________________________
sherlock-channel-development mailing list |
email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/sherlock-channel-
development
Do not post admin requests to the list. They will be ignored.