Michael Mantkowski michaelj at clientrax.com
Sat Mar 13 19:22:38 UTC 2021

I have not looked, but possibly it is similar to $root.$prefs.$windowoptions.  I work with it like this.

;  Set Window Preferences in Omnis 10
Do eval("$root.$prefs.$windowoptions") Returns lvRow     ;; Get Omnis Settings
Calculate lvRow.borderinactivecolor as $cinst.$objs.B1.$backcolor
Calculate lvRow.captioninactivecolor as $cinst.$objs.B2.$backcolor
Calculate lvRow.borderactivecolor as $cinst.$objs.B3.$backcolor
Calculate lvRow.captionactivecolor as $cinst.$objs.B4.$backcolor

Calculate lvRow.titleinactivecolor as $cinst.$objs.B5.$backcolor     ;; kDarkGray
Calculate lvRow.titleactivecolor as $cinst.$objs.B6.$backcolor     ;; kWhite

Do eval("$root.$prefs.$windowoptions.$assign(lvRow)") Returns #F     ;; Update Omnis Settings

Michael Mantkowski
ClienTrax Software

-----Original Message-----
From: omnisdev-en On Behalf Of Andy Hilton
Sent: Saturday, March 13, 2021 10:56 AM
To: OmnisDev List - English <omnisdev-en at lists.omnis-dev.com>
Subject: $root.$prefs.$appearance

Does anyone have any hints as to whether or how you can interact with the $appearances settings via notation ?

I can get to them manually via the Preferences properties but I’d like to be able to get to them notationally and I am sure its possible - just can’t get it at the moment :)

Andy Hilton
Totally Brilliant Software Inc
Phone (US) : (863) 409 4870
Phone (UK) : 0207 193 8582
Web : www.totallybrilliant.com <http://www.totallybrilliant.com/>
Helpdesk : http://totallybrilliant.kayako.com
Email : andyh at totallybrilliant.com

Manage your list subscriptions at http://lists.omnis-dev.com Start a new message -> mailto:omnisdev-en at lists.omnis-dev.com 

More information about the omnisdev-en mailing list