OberonPlace.com Forums  

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

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 20-12-2008, 05:59
Ales
Guest
 
Posts: n/a
Default How-to open a docker ?

Hello,

I wonder if it's possible to create a macro to open all my preferred dockers like Symbols, Properties, Transformation, ...

I have no clue to begin. When I record a macro it's empty, I'm not able to find a post, and I don't know where to search in the help files.

Does someone have an idea ?

Thx,
Ales
Reply With Quote
  #2  
Old 22-12-2008, 07:25
ddonnahoe's Avatar
ddonnahoe ddonnahoe is offline
Senior Member
 
Join Date: Jan 2004
Location: Louisville, KY
Posts: 552
Send a message via ICQ to ddonnahoe Send a message via AIM to ddonnahoe Send a message via MSN to ddonnahoe Send a message via Yahoo to ddonnahoe
Default

What version of Draw are you using?
__________________
Sean
Waiting for a ride in the T.A.R.D.I.S.
Reply With Quote
  #3  
Old 22-12-2008, 12:37
Ales
Guest
 
Posts: n/a
Default

I'm using X4...
Sorry,
Reply With Quote
  #4  
Old 23-12-2008, 09:18
ddonnahoe's Avatar
ddonnahoe ddonnahoe is offline
Senior Member
 
Join Date: Jan 2004
Location: Louisville, KY
Posts: 552
Send a message via ICQ to ddonnahoe Send a message via AIM to ddonnahoe Send a message via MSN to ddonnahoe Send a message via Yahoo to ddonnahoe
Default

Can you not just leave the ones you like opened? They can collapse into the side panel to save you screen space.
__________________
Sean
Waiting for a ride in the T.A.R.D.I.S.
Reply With Quote
  #5  
Old 23-12-2008, 10:15
Ales
Guest
 
Posts: n/a
Default

In fact, I usually manipulate 6 panels and to avoid to search each time by reading the tag I would like to keep all exactly at the same place. I don't know if you have the same problem, but regularly I close, or I move inadvertently one panel (I never want to close them my screen is enough wide). Furthermore, to retrieve my exact order it's necessary to reopen all or to move them all. It's why I'm searching how to close, then, to open them all with a macro. However, perhaps it exists a better solution ?

Any idea ?
Reply With Quote
  #6  
Old 23-12-2008, 12:36
ddonnahoe's Avatar
ddonnahoe ddonnahoe is offline
Senior Member
 
Join Date: Jan 2004
Location: Louisville, KY
Posts: 552
Send a message via ICQ to ddonnahoe Send a message via AIM to ddonnahoe Send a message via MSN to ddonnahoe Send a message via Yahoo to ddonnahoe
Default

If each docker that you use has a shortcut key assigned to it, you could make a macro that uses SendKeys to open them all in a particular order. Then assign a shortcut key to your macro. I'll send you an example...
Code:
Sub ToggleBorders()
    If ActiveDocument.Properties("PageBorder", 1) Then
        SendKeys "%(vhp)"
        ActiveDocument.Properties("PageBorder", 1) = False
    Else
        SendKeys "%(vhp)"
        ActiveDocument.Properties("PageBorder", 1) = True
    End If
End Sub
The above code sends ALT+V, then H, then P. If you follow this method in your own copy of draw you see that ALT+V opens the view menu, H opens the Show sub-menu and P activates the Page Border option.
__________________
Sean
Waiting for a ride in the T.A.R.D.I.S.
Reply With Quote
  #7  
Old 24-12-2008, 04:26
Ales
Guest
 
Posts: n/a
Default

Marvelous ! Thx ddonnahoe

Another question: Do you know how to close the group before starting the opens ?
Reply With Quote
  #8  
Old 24-12-2008, 05:23
Manuel
Guest
 
Posts: n/a
Default

In my personal experience I've found out that adding a new tool bar with my favorite dockers next to the standard bar is what works best for me. I also have an individual menu with all my dockers there, that way I don't have to search in sub menus for dockers that I don't use that often. Try it you might like it.
Reply With Quote
  #9  
Old 24-12-2008, 11:42
Ales
Guest
 
Posts: n/a
Default

Thanks for your advise Manuel, I will try that, but for the moment I prefer to keep the right panel. In fact, it's like a toolbar when it's possible to keep the same sorting, and with the tip's ddonnahoe it's really cool. I'm just searching how to close a group of dockers.

Ddonnahoe, any idea ?
Reply With Quote
Reply


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
It is almost a docker, we need this for 14 shelbym Feature requests/wishlist 2 22-06-2009 02:29
Color styles docker keytecstaff CorelDRAW/Corel DESIGNER VBA 13 08-01-2007 08:12
Installing a macro as a docker? dan CorelDRAW/Corel DESIGNER VBA 3 16-02-2005 14:50
Open form when i open my template diltech CorelDRAW/Corel DESIGNER VBA 1 10-01-2005 16:46
create docker window vharun CorelDRAW/Corel DESIGNER VBA 2 26-05-2004 07:56


All times are GMT -5. The time now is 03:54.


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