In a global module, I define a new type that can take 4 values:

Code:
enum tAction as integer
   None
   Update
   Insert
   Delete
end enum
A use this type in many places in my code to check the value stored in a variable (if MyAction = tAction.Delete then ...)

In a separate file, I define a class. One of the properties should return a value of this type:

Code:
public class XXX

private _Action as tAction

public property ClassAction() as tAction
  get
    return _Action
  end get
end property

end class
This way I could check a class property in the same manner (if MyClass.ClassAction = tAction.Insert then ...)

However I get a syntax error in the property definition: 'ClassAction' cannot expose type 'Globals.tAction' outside the project through class 'XXX'

My entire program consists in a few modules, in a single project. How can I use my tAction definition in my classes?