+ Reply to Thread
Results 1 to 2 of 2
  1. #1
    Super Member
    Using
    not specified
    Join Date
    Feb 2006
    Posts
    703

    Default Changing Screen background color in VBA, AutoCAD 2007

    Registered forum members do not see this ad.

    Version 2007


    I was changing screen color using the following event code in
    ver 14. Why will this not work in 2007?

    Event
    Dim preferences As AcadPreferences
    Dim currGraphicsWinBackgrndColor As Long
    'objVariable = object.Preferences
    Set preferences = ThisDrawing.Application.preferences
    preferences.GraphicsWinBackgrndColor = 8

    Is there something I need to change here.

  2. #2
    Senior Member bsamc2000's Avatar
    Computer Details
    bsamc2000's Computer Details
    Operating System:
    Windows 7
    Computer:
    Dell Precision T3500
    CPU:
    Intel Xeon 3.2GHz
    RAM:
    24 GB
    Graphics:
    NVIDIA Quadro 600
    Monitor:
    E228WFP (2x)
    Using
    AutoCAD 2014
    Join Date
    Mar 2007
    Location
    Birmingham, AL
    Posts
    127

    AutoCAD

    Registered forum members do not see this ad.

    You can try this. It works in Autocad 2008.
    It's kind of fun to mess with people on this one.

    Thank you,
    Brian

    Code:
    Application.Preferences.Display.GraphicsWinLayoutBackgrndColor = vbRed
     
    Application.Preferences.Display.GraphicsWinModelBackgrndColor = vbGreen

Similar Threads

  1. Changing render background color in AutoCADĀ® 2007
    By Autodesk in forum AutoCAD RSS Feeds
    Replies: 1
    Last Post: 11th Nov 2009, 01:46 am
  2. Changing Screen Color
    By Paul Sweet in forum AutoCAD General
    Replies: 7
    Last Post: 4th Jul 2008, 10:07 am
  3. Problem with AutoCAD 2007 - Freezing half the screen?!?!
    By muserocks123 in forum AutoCAD Drawing Management & Output
    Replies: 3
    Last Post: 30th Oct 2007, 05:29 pm
  4. Create screen menus in AutoCAD LT 2007
    By ICANNER in forum AutoCAD General
    Replies: 6
    Last Post: 22nd Aug 2006, 11:13 am
  5. changing color in color control (layer )
    By ionica in forum AutoCAD Drawing Management & Output
    Replies: 4
    Last Post: 10th Oct 2005, 07:45 pm

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts