Feedback
Moving properties into modules generates invalid source
- Status
- Fixed
- Fixed in
- v26.8.5
- Source discussion
- https://forum.objo.dev/d/887-can-i-declare-a-picture-in-module/2
- Last updated
- 2026-08-22
Upvotes
0 upvotes
Uses your Objo forum account.
Public summary
Moving or pasting a property from a class, Window, or Container into a Module can generate invalid Objo source. Studio changes the declaration keyword from Property to Var but retains the access modifier, producing source such as Public Var Image As Picture. Running the project then fails with “Expected declaration after modifier.”
Studio should convert moved properties to valid Module variable declarations so shared values can be used from other project items.