OberonPlace.com Forums  

Go Back   OberonPlace.com Forums > Developer Forums > VBA > CorelDRAW/Corel DESIGNER VBA

Thread Tools Search this Thread Display Modes
Old 27-07-2004, 15:36
Posts: n/a
Default Toolbar for CorelDRAW..

Hi! Alex
Your help is very necessary to me, here in Ukraine and Russia is not present such sites about Corel..
You have excellent page about that how to create Addin, but there is no information on that how to create an own toolbar in Corel on VB. I very much am interested by this information, but anywhere is not present. I ask to help.
With best regards Zherely Evgeny

in russian:
Здравствуйте! Алекс.
Мне очень нужна ваша помощь, тут в Украине и России нет таких сайтов про Corel..
У вас есть отличная страница о том как создавать Addin, но нет информации о том как создавать собственную панель инструментов в Corel на VB. Меня очень интересует эта информация, но нигде её нет. Прошу помочь.
с ув. Жерелий Евгений
Reply With Quote
Old 28-07-2004, 08:39
Posts: n/a

I'am created menu with help there:

by this code:

Dim TB as CommandBars
Set Tb = Draw.CommandBar.Add("MayMenu")

But I don't may add any buttons in. :-(((
Reply With Quote
Old 02-08-2004, 06:58
Posts: n/a

hi all,

i´ve tested the functionality and i´ve come so far to adding a commandbar and an icon in there..

here´s the code:
Sub test()
Dim TB As CommandButton
Application.CommandBars.add "TEST"
Application.CommandBars("TEST").Enabled = True
Application.CommandBars("TEST").Visible = True
Application.CommandBars("TEST").Controls.AddCustomButton 2, "Testing...", 1,False
End Sub

it creates a commandbar/toolbar named "TEST" and in there an icon with the name (hoover over it) "Testing..."

have phun!

so long, S.
Reply With Quote
Old 02-08-2004, 07:39
Posts: n/a

and with this code you can add an icon of your choice:

Application.CommandBars("TEST").Controls(1).SetCustomIcon ("c:\daten\grafik1.bmp")

so long, S.
Reply With Quote
Old 05-08-2004, 14:02
Posts: n/a

But, I'ts work only in CorelDRAW 12!
Reply With Quote

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Question about toolbar -=HKLC=- CorelDRAW/Corel DESIGNER VBA 1 16-10-2004 15:33
Installer program; toolbar icon. narcix CorelDRAW/Corel DESIGNER VBA 1 12-05-2004 15:22
asign macro stored in a CDR file to toolbar icon joexx CorelDRAW/Corel DESIGNER VBA 4 15-03-2004 13:02
Assign macro to toolbar joexx Corel Photo-Paint VBA 6 04-02-2004 00:05
How to draw macro on toolbar? lywlywlywlywlyw Corel Photo-Paint VBA 2 04-04-2003 19:57

All times are GMT -5. The time now is 11:26.

Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2015, Jelsoft Enterprises Ltd.
Copyright © 2011, Oberonplace.com