Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Inconsistent name with Top-level forms
Message
 
 
To
08/10/1998 13:12:10
General information
Forum:
Visual FoxPro
Category:
Troubleshooting
Miscellaneous
Thread ID:
00145113
Message ID:
00145208
Views:
26
Erik,

I always override the form.Name property with frmTheForm and I don't have problems with that changing at runtime. My form class uses a key like HKEY_CURRENT_USER\Software\DFSD\CEPASTATUS\frmPlantStatus.Bform without any problems finding it to read/write at runtime.

>My framework remembers reads and writes certain form settings to the registry on load and destroy, so the users preferences are remembered. The keys in the registry are the form's name.
>
>This has worked fine until I tried implementing this with a top-level form. The settings are never remembered because the form's name property gets set to a random value.
>
>Is this a Windows assignment? Do I have any control over it?
df (was a 10 time MVP)

df FoxPro website
FoxPro Wiki site online, editable knowledgebase
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform