Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
WindowType property error
Message
De
02/03/2000 18:28:16
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Titre:
WindowType property error
Divers
Thread ID:
00340926
Message ID:
00340926
Vues:
59
Hi All,

I am getting a very unusual error during form init(). I'm using a popular framework and when a form is called in "ADD" mode the framework automatically sets the form WindowType Property to 1(modal) in the init() code. In 99.99% of the forms I have built, this works flawlessly.

I have a couple of forms however that over the course of development have started choking on the line that sets the WindowType property. The error returned is "Property WINDOWTYPE is read-only". According to the on-line help, you cannot change the WindowType setting once the window has been displayed. This is what is strange, the form has NOT been displayed and has no dangling object references to it.

During my diagnosis of this problem I have cold booted, gone directly to the offending form and run it. BOOM - error.

I have recompiled all files, run the form. BOOM - error

I have "used" the .scx excl and packed, run the form. BOOM - error

I've restored prior versions from SourceSafe and rebuilt the missing pieces with success a couple of times, but that's not really a desireable option this time. So I'm asking for the guru's to help me out. What do you think is causing this and what else can I try?

TIA
Kendall Webb
Senior Software Engineer
MCAD.Net/MCSD.Net
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform