Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
A little problem
Message
From
23/01/2004 06:48:48
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Other
Title:
A little problem
Miscellaneous
Thread ID:
00869802
Message ID:
00869802
Views:
50
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
Next
Reply
Map
View

Click here to load this message in the networking platform