[futurebasic] Re: [FB] Changing app resources

Message: < previous - next > : Reply : Subscribe : Cleanse
Home   : April 2002 : Group Archive : Group : All Groups

From: pixmix@...
Date: Sat, 27 Apr 2002 14:47:15 +0200
Le samedi 27 avril 2002, à 02:28 PM, Bernie Wylde a écrit :

> 27/4/02 12:11, gnome, gnome@...
>
>> Le samedi 27 avril 2002, à 01:05 , Bernie Wylde a écrit :
>>
>>> I may be missing the point here but, does this mean we should
>>> no longer be
>>> creating and/or modifying say STR# resources in our apps?
>>
>> what you do with resources once you have loaded them
>> into memory is your affair however you shouldn't expect
>> to save this changed resource back to the application.
>>
>> so:
>> - building a menu on the fly, no problems
>> - loading a reource, changing the info, using the chnaged resource,
>> no problems
>>
>> if you need to save any of this then either you need to do
>> it in the prefs or in a separate file somewhere. and, for similar
>> reasons, don't expect to be able to do this in the same folder
>> as the app... it may be locked.
>>
>> in the prefs folder is the safest solution, else you must ask
>> your user where she wants to save this.
>
>
>
> Thanks for the advice, jonathan...
>
> ...but, you're now making me panic! :)
>
> As most of my apps make use of PG's scrolling lists and related 
> functions,
> I'll have to find alternatives.
>
> There are a couple of demos on the CD that look like a good starting 
> point:
> Create Resource File, (Robert P. 13 February 2002)
> and
> List Mgr Demo, (Alain. 22 November 2001).
>
> If anyone has any other suggestions, it would be appreciated.
>
Bernie,

If you are using PG, read about this trick:

<http://www.pixmix.com/FB/HowTo/PGPRO/PGPRO001.html>

Cheers

Alain