Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Setting MODI COMM editor preferences programatically
Message
De
09/12/1997 09:23:04
 
 
À
13/10/1997 12:33:13
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00054287
Message ID:
00064641
Vues:
33
Thanks for the suggestion - I'm just now returning to this problem.

It seems like the resource file stores preferences for a specific file name.

Unfortunately I need to be able to edit files that have names that aren't known until run time.

I suppose I could create or modify a record in a resource file at run time to specify properties for my file name and fake it, but I'm still wondering if there is an easier way.

Thanks,


>Set a resource file and SET RESOURCE ON before the MODIFY COMMAND and SET RESOURCE OFF after it. The resource file may be read-only, so it cannot be modified. You can also include this file into your APP/EXE (so, it's read-only and it's always there).
>
>This is a good technique for many settings that cannot be controled programatically from VFP (like the toolbar for print preview, for ex.).
>
>Vlad
>
>>I have an application where the user must preview very large ASCII files before processing them. I'm using MODIFY COMMAND to use the default VFP editor which works well, but sometimes I want the user to see the status line to know the column and line number without manually turning it on. This app has SET RESOURCE OFF so there is no FOXUSER to store preferences in.
>>
>>Can the editor preferences be set programatically?
>>
>>Thanks,
__________________________________________________
Mesa Vista Software (david@mesa-vista.com)
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform