Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
W(hich) child()
Message
From
19/08/2002 09:43:47
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
W(hich) child()
Miscellaneous
Thread ID:
00691008
Message ID:
00691008
Views:
46
step 1: I open vfp
step 2: dock all toolbars, except the projectmanager (docked it becomes a toolbar)
step 3: modify a project.
step 4: modify a class.

After this I have both the project - manager window open AND a classdesigner.

I type wchild() and this gives a 2 (two) back. Basically right as there are two childwindows open.
In sequential order:
Typing wchild(2) returns an empty string.
Typing wchild(1) returns nothing either.
Typing wchild(0) returns the name of the project manager including the name of the project.
Typing wchild(2) returns the name of the class designer.
Typing wchild(1) returns NOTHING

once more I type:
wchild() && returns 2, as expected.
Typing wchild(0) returns the name of the project manager including the name of the project.
Typing wchild(1) returns the name of the class designer.
Typing wchild(2) returns NOTHING.....

Is this inconsistent behavior or is it an undocumented feature??????

Boudewijn.
Next
Reply
Map
View

Click here to load this message in the networking platform