[futurebasic] Re: [FB] Displaying a picture from the web

Message: < previous - next > : Reply : Subscribe : Cleanse
Home   : November 2011 : Group Archive : Group : All Groups

From: Robert Covington <artlythere@...>
Date: Tue, 22 Nov 2011 15:26:05 -0500
See also FB 5.7 examples/Controls, bitMapImagebtn example, and other Picture Control examples.

On Nov 22, 2011, at 2:24 PM, Ken Shmidheiser wrote:

> Rich wrote:
> 
>> I display images in a picture button.
> 
> Rich,
> 
> There are a few approaches you may want to consider here:
> 
> 1. A Picture Button only accepts a PICT. Examine Robert Purves' code of Sunday,  May 22, 2011, in the thread "Make Picture Button by bundle image" to see how you can use a GraphicsImporter to convert your image to a PICT by converting the image's CFURLRef to an FSSpec, and then and using GraphicsImportGetAsPicture for the conversion.
> 
> http://tinyurl.com/8663ykk
> 
> 2. Substitute an ImageWell for your Picture Button.
> 
> 3. Convert your code to accept a HIImageView.
> 
> Ken
> 
> 
> 
> --
> To unsubscribe, send ANY message to: futurebasic-unsubscribe@...
> To access the list archives, go to:  http://freegroups.net/groups/futurebasic/
>