[futurebasic] Re : [FB] Pict Dimensions

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

From: jonathan@...
Date: Sun, 27 Dec 1998 12:48:12 +0100
>What's difference between CALL KILLPICTURE and DEF DISPOSEH (or FN
>DIPOSHANDLE), CALL RELEASERESOUCE?

CALL KILLPICTURE is an FB call, to use if you grabbed the
pict using FB - see the online help, it indicates when to use this.

DEF DISPOSE is used on handles, either that you have created, or
when you have 'detached' a resource, leaving only a handle in memory.

CALL RELEASERESOURCE is the standard way of disposing of
resources that don't have their on call to get rid of them (ie, if
my memory serves me right, stuff like buttons, menus, windows
all are resources but have calls to bring them in massaging the data 
on the way - if you used a specific call to bring a resource, then use
a specific call to drop it - it yyou used a generic call to bring
it in, then use a generic call to drop it.)

jonathan