Hi
Here is the code I use :
===========================================================================
Dim sel_rowid
As Integer
Sub SelChangedHandler
sel_rowid = CommandInfo(CMD_INFO_ROWID)
End Sub
Sub WinChangedHandler
Dim win_id
As Integer
' window id of the changed window
win_id = CommandInfo(CMD_INFO_WIN)
Print WindowInfo(win_id, WIN_INFO_TABLE)
End Sub
============================================================================
When I move an object in any layer, Cosmetic1 is always printed, even if the
object has been mapped with a table
( for example c:\temp\mytable.tab) with an Update statement (Update mytable
Set Obj=object .....)
What I need is printing the table name (.TAB) mapped with the moved object,
and know at which line the object is stored
into .TAB file.
Thank you - Christophe