Author Topic: How to Determine Focus Change of Floating Viewports  (Read 1695 times)

0 Members and 1 Guest are viewing this topic.

rjhinton

  • Guest
How to Determine Focus Change of Floating Viewports
« on: November 22, 2010, 10:20:17 AM »
I'm looking for an events that is fired when a user switches between different floating viewports.  I would like to update a list of viewport names when the user switches to a different viewport.  Does anyone know how to determine when the user changes focus to a different viewport?

Jeff_M

  • King Gator
  • Posts: 4098
  • C3D user & customizer
Re: How to Determine Focus Change of Floating Viewports
« Reply #1 on: November 22, 2010, 11:32:31 AM »
THe SystemVariable CVPORT changes  when the user switches VP's. The SysVar CTAB changes when switching tabs.

rjhinton

  • Guest
Re: How to Determine Focus Change of Floating Viewports
« Reply #2 on: November 22, 2010, 12:08:59 PM »
That's fantasy and so simply.  Somtimes the easiest answer is right in front of you.  Now all I have to do is figure out is how will my application know when the "CVPORT" systemvarible has changes.  Is there an event for that?

Jeff_M

  • King Gator
  • Posts: 4098
  • C3D user & customizer
Re: How to Determine Focus Change of Floating Viewports
« Reply #3 on: November 22, 2010, 12:18:22 PM »
Application.SystemVariableChanged......