Excellent!! Thanks.

Now too bad I can't get the pop-up text to say something other than:

Macro:RunMacro
Run a macro






> -----Original Message-----
> From: Darren [mailto:[EMAIL PROTECTED]]
> Sent: Saturday, July 27, 2002 12:55 AM
> To: 'Protel EDA Forum'
> Subject: Re: [PEDA] Customizing protel
> 
> 
> Tony,
> 
> Here is a macro to do what you want, just assign it to
> a button.
> 
> Darren
> 
> '-----------------------------------------------------------------------
> ---------------
> '
> ' Macro Language : Client Basic
> ' Name: ToggleTopOverlay.bas
> ' Function: Each call will toggle the Topoverlay layer on/off
> ' Darren Moore 27 July 2002
> '-----------------------------------------------------------------------
> ---------------
> 
> '-----------------------------------------------------------------------
> ---------------
> Sub Main
> 
>     Call ResetParameters
>     Call AddStringParameter ("TopOverlay"        , "Toggle"  )
>     Call RunProcess ("Pcb:DocumentPreferences")
> 
> End Sub
> '-----------------------------------------------------------------------
> ---------------
> 
> 
> > -----Original Message-----
> > From: Darren [mailto:[EMAIL PROTECTED]] 
> > Sent: Saturday, 27 July 2002 17:38
> > 
> > Tony,
> > 
> > Look under the macros tab, for a macro called pdblayer.bas this
> > is in my templates file but you may have to search you HDD for
> > it... That should get you going.
> > 
> > Regards,
> > Darren
> > 
> > > -----Original Message-----
> > > From: Tony Karavidas [mailto:[EMAIL PROTECTED]] 
> > > 
> > > I finally decided I want an icon on my screen to 
> > > enable/disable the top
> > > overlay. I don't care where it ends up, one of the floating 
> > > toolbars or the
> > > main toolbar. I'm looking at the process list and can't seem 
> > > to find one to
> > > do the trick. I also looked in the help and on the site. No 
> > luck yet.
> > > 
> > > Does anyone know how to do this or if it's possible?
> > > 
> > > Tony
> > 
> > 
> > **************************************************************
> > **********
> > * Tracking #: 1A938FB35C17964A920633351EA621F94FF56F17
> > *
> > **************************************************************
> > **********
> > 
> 
> 

* * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
* To post a message: mailto:[EMAIL PROTECTED]
*
* To leave this list visit:
* http://www.techservinc.com/protelusers/leave.html
*
* Contact the list manager:
* mailto:[EMAIL PROTECTED]
*
* Forum Guidelines Rules:
* http://www.techservinc.com/protelusers/forumrules.html
*
* Browse or Search previous postings:
* http://www.mail-archive.com/proteledaforum@techservinc.com
* * * * * * * * * * * * * * * * * * * * * * * * * * * * * *

Reply via email to