[futurebasic] Re: [FB] Pict Dimensions

Message: < previous - next > : Reply : Subscribe : Cleanse
Home   : December 1998 : Group Archive : Group : All Groups

From: tedd@...
Date: Fri, 25 Dec 1998 21:54:49 -0500
>I am after 2 items
>
>1. How do you obtain the dimensions of a Pict resource from within FB?
>2. I am sure this was discussed earlier so how do I search the list
>archives?
>
>Merry Xmas
>Martin

Martin:

This is how I did it.

logo& = FN GETPICTURE (131)  'display logo in resource 131 picture file
rect;8 = [logo&] + _picFrame
'force to upper left corner of window
CALL OFFSETRECT(rect, -rect.left%, -rect.top%)
PICTURE (10,300), logo&
CALL RELEASERESOURCE (logo&)

tedd

___________________________________________________________________
<mailto:tedd@...>	               http://sperling.com/