message appears before the object is Modified,

message appears before the object is Modified,

Anonymous
Not applicable
261 Views
3 Replies
Message 1 of 4

message appears before the object is Modified,

Anonymous
Not applicable
hi, herr is the sample of developer help. Private Sub AcadDocument_ObjectModified(ByVal Object As Object) ' MsgBox "A " & TypeName(Object) & " was just modified!" End Sub but i want that the message appears before the object is Modified, how to do it thank you
0 Likes
262 Views
3 Replies
Replies (3)
Message 2 of 4

Anonymous
Not applicable
Then use the BeginCommand event and test for the command you are looking for. -- Mike ___________________________ Mike Tuersley CADalyst's CAD Clinic Rand IMAGINiT Technologies ___________________________ the trick is to realize that there is no spoon...
0 Likes
Message 3 of 4

Anonymous
Not applicable
In article <7rkxcl03nxv1.1bdo6nfl2w061.dlg@40tude.net>, mtuersley@rand.com says... > Then use the BeginCommand event and test for the command you are looking > for. > > -- Mike > ___________________________ > Mike Tuersley > CADalyst's CAD Clinic > Rand IMAGINiT Technologies > ___________________________ > the trick is to realize that there is no spoon... > mike, work's in most cases, but for example editing an attribute via the property-window or when an application modifies objects, it's not sure that you get a begin-command. i#m sorry not to have an idea for getting a modify-event before a modification started (it's also for autodesk to do somthing like that, because every modify-command can be canceled and then no modification was done). - alfred -
0 Likes
Message 4 of 4

Anonymous
Not applicable
THANK YOU . i see,somehow i got it. maybe it is just a partial solution . thanks "Alfred NESWADBA" wrote in message news:MPG.1bc666b3b9c6fc25989683@discussion.autodesk.com... > In article <7rkxcl03nxv1.1bdo6nfl2w061.dlg@40tude.net>, > mtuersley@rand.com says... > > Then use the BeginCommand event and test for the command you are looking > > for. > > > > -- Mike > > ___________________________ > > Mike Tuersley > > CADalyst's CAD Clinic > > Rand IMAGINiT Technologies > > ___________________________ > > the trick is to realize that there is no spoon... > > > mike, > > work's in most cases, but for example editing an attribute via the > property-window or when an application modifies objects, it's not sure > that you get a begin-command. > > i#m sorry not to have an idea for getting a modify-event before a > modification started (it's also for autodesk to do somthing like that, > because every modify-command can be canceled and then no modification > was done). > > - alfred -
0 Likes