Hi,
Using FB 7.0.0.515
In the BeforeAction event of an Action Group action I use the code (VBScript)
Set MyParent = Action.Parent()
This returns the error: "Object doesn't support this property or method: 'Action.Parent'"
The Action Group is a child of another action group, so there is a parent.
According to the online help it should return the parent action.
Vincent
(Vincent Parrett)
September 9, 2010, 2:00am
2
Wow, that was fast 001_FBParentAndLocalVarProblem.fbp7 (31.336 KB)
Vincent
(Vincent Parrett)
September 10, 2010, 1:54am
4
My apologies, forgot to check in one file before building, this build has the fix (just tested to be sure!) : https://www.finalbuilder.com/downloads/finalbuilder/aex6/FB700_664.exe
lsondergaard
(Lars Sondergaard)
September 10, 2010, 10:19am
5
No problem. Happens to us all Just tested and now it works. Thank you. Still see the problem with the local variables and “No variables match” hint reported in other thread. Same sample project should show you the problem. (Not urgent at all )
Vincent
(Vincent Parrett)
September 13, 2010, 4:49am
6
Ok, I see what you mean. The problem is that the internal service that parses the text doesn’t know about local variables. I’ll see what we can do…