Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Browse Window will not keep preference.
Message
 
 
À
04/03/1999 09:40:40
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00193991
Message ID:
00194003
Vues:
21
Yes my resource is on and set to the correct file. In the debugger I do a "sys(2008)" and a "set('resource'). Seems for some reason that the BROWSE clause wants the NORMAL clause, for the PREFERENCE to work in my app. It is working different in my app than in the command window, then again my app is not the command window (boy that would be an easy project).

Another question, alot off the subject. When a BROWSE window is closed with the close button, is there a way to programmatically know that. I tried to see if the LASTKEY = 23 (ctrl+w), but got inconsistent results. Any ideas.

Brenda

>Do you have SET RESOURCE OFF in your code? I believe that BROWSE preferences are stored in FOXUSER.DBF only when SET RESOURCE is ON.


>>Yes I am committing a sin and using Browse windows. Maybe after the Y2K scare, they will let us update the code.
>>
>>Anyway, my BROWSE windows will keep the partitions, but not the window size. If I "browse preference 'keepit'", in the command window, everything is ok. When i put that exact statement in my code, the window size is not kept, but the partitions are. And keepit is a row in my foxuser table.
>>
>>I am using a toplevelform, not the VFP _screen. I am also using VFP 6.0, but getting the same results in 5.0.
>>
>>Any Ideas - Brenda
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform