--- In [email protected], sgp <[EMAIL PROTECTED]> wrote: > > ehathgepiurhe wrote: > > > I just need to work out how to tell PowerPro to close > > the bar after I close Agent (I only want it running > > while Agent is running and it's a pain to have to close > > it manually everytime I close Agent). > > > One simple workaround is to append a button to your bar > which will close both agent and the bar itself. > Possibly you could position the bar 'right caption' so > that its close button ends up right next to the window > 'X' control. > > If instead you want to really have PowerPro watch for > the agent window close message and do something, then > you need to hook into window events, which is described > in help topic "Running a script when a window or system > event occurs". >
Could also do it with a command list named AutoRun one entry with *Bar Show for the bar entry name would be: r=^Agent - .+ and one entry with *Bar Close for the bar entry name would be: Agent (however, this would close the Bar even if closing Agent from that window gets canceled) Regards, Sheri Attention: PowerPro's Web site has moved: http://www.ppro.org Yahoo! Groups Links <*> To visit your group on the web, go to: http://groups.yahoo.com/group/power-pro/ <*> Your email settings: Individual Email | Traditional <*> To change settings online go to: http://groups.yahoo.com/group/power-pro/join (Yahoo! ID required) <*> To change settings via email: mailto:[EMAIL PROTECTED] mailto:[EMAIL PROTECTED] <*> To unsubscribe from this group, send an email to: [EMAIL PROTECTED] <*> Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
