If it's on the same form, then you can reference it as thisform.object.property
or
you might need this.parent.object.property
in either case the variable you are refering to has to be in the same form.
the easy fix is to use the old methods. Declare the variable public, use it and release it.