Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
A little problem
Message
De
23/01/2004 06:48:48
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Titre:
A little problem
Divers
Thread ID:
00869802
Message ID:
00869802
Vues:
51
Hi,

On DEFINE WINDOW Command help session:

NAME ObjectName
Creates an object reference for the window, allowing you to manipulate the window with object-oriented properties available for the form object.


Then, without NAME the window it is or it is not a object ?

The answer: It is a object, always

This have a impact on the private datasessions
- i cannot DEFINE a free text window ( audit, messages, ... )
directly on the fist private datasession opened, and share this with other private datasession.
CLEAR
PUBLIC otest
FOR j=1 TO 10
	otest=CREATEOBJECT("test")
	? "Forms",_SCREEN.FormCount, "Sessions ", ASESSIONS(ArrayName)
NEXT
RETURN

DEFINE CLASS test AS form

	DataSession = 2

	PROCEDURE Load
		DEFINE WINDOW (SYS(2015)) FROM 0,0 TO 10,10
		RETURN .F.
	ENDPROC

ENDDEFINE
Fabio
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform