assign object properties in sub form

TBS andyh at totallybrilliant.com
Thu Nov 24 15:00:25 UTC 2022


Martin

To my knowledge there are no constraints as such - but the real key is to absolutely make sure your reference is correct….

I typically put in a breakpoint and use the Notation Inspector to drill down to the object I want - and of course your reference has to be exactly correct !!!

But once you have that bit - then the Property manager will confirm the property name and ability to be assigned…...

On a quick guess - looking at your reference, if this is indeed a paged pane then you likely need the pane object in the middle there - but of course that’s just a guess !!

Andy Hilton
Totally Brilliant Software Inc
Phone (US) : (863) 409 4870
Phone (UK) : 0207 193 8582
Web : www.totallybrilliant.com
Helpdesk : https://totallybrilliantsoftware.supportsystem.com/
Email : andyh at totallybrilliant.com
On Nov 24, 2022, 9:43 AM -0500, Martin Obongita via omnisdev-en <omnisdev-en at lists.omnis-dev.com>, wrote:
> Hi @all,
> I am trying to assign a property to an object in a subwindow with the command below in the method $construct:
>
>
>
> Do $cinst.$objs.pagedPaneGeneral.$objs.ef_name.$bordercolor.$assign(kRed)
>
>
>
> But the color of the object does not seem to change the border color.
> What are the constrains with objects in a sub form when assigning properties?
>
>
> RegardsMartin.
> _____________________________________________________________
> Manage your list subscriptions at https://lists.omnis-dev.com
> Start a new message -> mailto:omnisdev-en at lists.omnis-dev.com


More information about the omnisdev-en mailing list