Change the view window background colour with this macro


AskInga logo

Original Tip Date: Jun 22, 2004

Macros to quickly change the view window background colour
 
Rudi Wells was kind enough to post these two macros on the V7.General discussion boards. They work in both V7 and V8.


To change the view background to white:
Sub Main
MbeSendCommand "MDL SILENTLOAD USERPREF"
MbeSetAppVariable "USERPREF", "savePrefs.extFlags.invertBackground", 0&
MbeSendCommand "MBE1 CLOSEMODAL OK"
End Sub

To change the view background to black:
Sub Main
MbeSendCommand "MDL SILENTLOAD USERPREF"
MbeSetAppVariable "USERPREF", "savePrefs.extFlags.invertBackground", 1&
MbeSendCommand "MBE1 CLOSEMODAL OK"
End Sub


AskInga Tip #449