AfraLisp Blog

The AutoLisp/Visual Lisp/VBA Resource Website

AfraLisp Blog

Home Newsletter Utter Rubbish Coding Tips AutoCAD Tips Contact Downloads WAUN

Wanna get rid of that irritating properties box on your screen? (Acad 2002)
Put the following lines in your ACAD.DVB

'CODING STARTS HERE
'This module wil remove the properties box from
'your screen the moment you issue a command

Private Sub AcadDocument_BeginCommand(ByVal CommandName As String)

If ThisDrawing.GetVariable("opmstate") = 1 And CommandName <> "PSELECT" Then
'if the properties box is visible
ThisDrawing.SendCommand "'prclose" & vbCr
'close the properties box !
End If

End Sub
'CODING ENDS HERE

Hemelop, RF (Rob)

The AutoLisp/Visual Lisp/VBA Resource Website

Copyright 1999-Perpetuity by AfraLisp

All rights reserved.
Information in this document is subject to change without notice.
Site created and maintained by Kenny Ramage

The AutoLisp/Visual Lisp/VBA Resource Website