Dear Ian,

Continue.

Full text of resource file is too big. Sorry. If you need I send it to you
directly. 

There is also adding of three buttons for changing of Snap Grids by one
click with Macros on Client Basic.
I use the Macros for automatization a lot of routine operations. But I have
found one bug: I can't change template for schematic document by Macros.
There's an error in HELP describing process for it and Protel returns me
error mesage.

Maybe somebody fix this error?


So I think this letter will help to use Protel effectively.

Best regards,
Yuri V.Potapoff
technical expert
Rodnik Software, Inc.
1 Nakhimovsky ave., bldg.1, Moscow, 113556 Russia
Phones: +7 (095) 113-2688; +7 (095) 113-7001
Fax:    +7 (095) 317-9754
E-mail: [EMAIL PROTECTED]
http://www.rodnik.ru




----------------------------------------------------------------------------
--------------



UpdateResource
Begin
    Kind ToolBar
    Name SchematicTools
    Action Add
    ReferencePosition After
    ReferenceItem 'C:\PROGRAM FILES\DESIGN EXPLORER 99
SE\SYSTEM\BUTTONS\WIRTOOLS.BMP' *
    Description
    Begin
      Button 'C:\Program Files\Design Explorer 99
SE\Support\TransistorPNP.bmp'
'Client:CustomizeResources(ToggleToolbar=Компоненты по
ГОСТ|$Description=Включить/выключить панель Компоненты по ГОСТ)'
    End
End

UpdateResource
Begin
    Kind ToolBar
    Name SchematicTools
    Action Add
    ReferencePosition After
    ReferenceItem 'C:\PROGRAM FILES\DESIGN EXPLORER 99
SE\SYSTEM\BUTTONS\HELP.BMP' *
    Description
    Begin
      Separator
      Button 'C:\Program Files\Design Explorer 99 SE\Support\Snapgrid1.bmp'
'Macro:RunMacro(DesignName=\Support\Support.ddb|DocumentName=Макросы\Настрой
ка сеток 5 х 5 мм.bas|Language=ClientBasic|$Description=Настройка сеток 5 мм
х 5 мм)'
      Button 'C:\Program Files\Design Explorer 99 SE\Support\Snapgrid2.bmp'
'Macro:RunMacro(DesignName=\Support\Support.ddb|DocumentName=Макросы\Настрой
ка сеток 5 х 1 мм.bas|Language=ClientBasic|$Description=Настройка сеток 5 мм
х 1 мм)'
      Button 'C:\Program Files\Design Explorer 99 SE\Support\Snapgrid3.bmp'
'Macro:RunMacro(DesignName=\Support\Support.ddb|DocumentName=Макросы\Настрой
ка сеток 1 х 0.5 мм.bas|Language=ClientBasic|$Description=Настройка сеток 1
мм х 0.5 мм)'
    End
End

UpdateResource
Begin
    Kind ToolBar
    Name SchematicTools
    Action Add
    ReferencePosition After
    ReferenceItem 'C:\PROGRAM FILES\DESIGN EXPLORER 99
SE\SYSTEM\BUTTONS\WIRTOOLS.BMP' *
    Description
    Begin
      Button 'C:\Program Files\Design Explorer 99
SE\Support\TransistorPNP.bmp'
'Client:CustomizeResources(ToggleToolbar=Компоненты по
ГОСТ|$Description=Включить/выключить панель Компоненты по ГОСТ)'
    End
    ReferencePosition After
    ReferenceItem 'C:\PROGRAM FILES\DESIGN EXPLORER 99
SE\SYSTEM\BUTTONS\HELP.BMP' *
    Description
    Begin
      Separator
      Button 'C:\Program Files\Design Explorer 99 SE\Support\Snapgrid1.bmp'
'Macro:RunMacro(DesignName=\Support\Support.ddb|DocumentName=Макросы\Настрой
ка сеток 5 х 5 мм.bas|Language=ClientBasic|$Description=Настройка сеток 5 мм
х 5 мм)'
      Button 'C:\Program Files\Design Explorer 99 SE\Support\Snapgrid2.bmp'
'Macro:RunMacro(DesignName=\Support\Support.ddb|DocumentName=Макросы\Настрой
ка сеток 5 х 1 мм.bas|Language=ClientBasic|$Description=Настройка сеток 5 мм
х 1 мм)'
      Button 'C:\Program Files\Design Explorer 99 SE\Support\Snapgrid3.bmp'
'Macro:RunMacro(DesignName=\Support\Support.ddb|DocumentName=Макросы\Настрой
ка сеток 1 х 0.5 мм.bas|Language=ClientBasic|$Description=Настройка сеток 1
мм х 0.5 мм)'
    End
End

* * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
* To post a message: mailto:[EMAIL PROTECTED]
*
* To leave this list visit:
* http://www.techservinc.com/protelusers/leave.html
*                      - or email -
* mailto:[EMAIL PROTECTED]?body=leave%20proteledaforum
*
* Contact the list manager:
* mailto:[EMAIL PROTECTED]
*
* Browse or Search previous postings:
* http://www.mail-archive.com/proteledaforum@techservinc.com
* * * * * * * * * * * * * * * * * * * * * * * * * * * * * *

Reply via email to