Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
WindowType property readonly in Init event, why?
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Titre:
WindowType property readonly in Init event, why?
Versions des environnements
Visual FoxPro:
VFP 8 SP1
OS:
Windows XP SP2
Network:
Windows 2000 Server
Database:
Visual FoxPro
Divers
Thread ID:
00984827
Message ID:
00984827
Vues:
69
I have a form that behaves strangely suddenly. It has been working.
This form has a parameter in the Init event which determines the WindowType(Modal or Modelless). The code is as follow:
LPARAMETERS lpnDataSessionId, lpnWindowtype, lpnApr_id 
WITH thisform
	IF VARTYPE(m.lpnWindowtype)="N" AND ;
		INLIST(m.lpnWindowtype,0,1) AND ;
		.WindowType # m.lpnWindowtype ;
	 THEN 
		.WindowType = m.lpnWindowtype
	ENDIF 
ENDWITH
This has been working fine until one hour ago when suddenly I was getting error messages as this:
Error#: 1743
Error Message: Property WINDOWTYPE is read-only.
I know WindowType property is available for writing in the init event, this has been confirmed by creating a new test form.

Has this happend to anyone?

TIA
Dawa Tsering


"Do not let any unwholesome talk come out of your mouths,
but only what is helpful for building others up according to their needs,
that it may benefit those who listen."

- Ephesians 4:29-30 NIV

Dare to Question -- Care to Answer

Time is like water in a sponge, as long as you are willing you can always squeeze some.

--Lu Xun, Father of Modern Chinese Literature

Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform