Action.Parent method not working

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.

 

Thanks, fixed in this build :

https://www.finalbuilder.com/downloads/finalbuilder/aex6/FB700_657.exe

Wow, that was fast 001_FBParentAndLocalVarProblem.fbp7 (31.336 KB)

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

No problem. Happens to us all :slight_smile:

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 )

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…