Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How to save editor preferences
Message
De
16/02/2001 10:32:17
 
 
À
16/02/2001 01:49:27
Information générale
Forum:
Visual FoxPro
Catégorie:
Installation et configuration
Divers
Thread ID:
00476447
Message ID:
00476629
Vues:
30
>>>>On the VFP edit properties dialog there are several options like tab width, show column/line position and a check box to save these preferences that doesn't work.
>>>>
>>>>Is there an alternative way of saving these preferences and make them stick?
>>>>
>>>>Or am I missing something obvious?
>>>>TIA,
>>>
>>>Are you using a resource file (FOXUSER.DBF) ?
>>
>>Yes, the usual home() + \foxuser.dbf and set resource is on. Is this thing supposed to be saved in the resource file thereby available to subsequent sessions?
>>
>>Thanks.
>
>Works for me. Are you're able to read/write the foxuser files? The updates for the file type are stored in a field type PREFW, with an id of WINDMODIFY. The name would contain your extension type and data memo would contain your settings (in binary).

OK, I see what's going on now. It does save the settings, but not as a global setting for any editing window. For example, I was working on these project with several vcx classes and I kept saving the settings for different classes but when I opened the next one the settings were the default.

So it does work but not as desired. You would think that if you set editor preferences like tab width those would be available for any editing session but that is not the case. New methods / classes do get the saved settings though.

Oh well, this time I'm on the user side of things.

Thanks for the help.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform