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 24-05-2012, 03:26
Joe Joe is offline
Member
 
Join Date: Nov 2008
Location: Latvia
Posts: 92
Send a message via Skype™ to Joe
Default Another goofy X6 docker

Hi all

While waiting for some knowledgeable Corel ninjas to answer the other questions I have engineered yet another little X6 docker. This one is really raw, based on an idea I once had - it's basically a notepad right inside of CD.

The top textbox is a calculator of sorts, routed through the CQL evaluate function, so you can do stuff like this:

And get this:

Sometimes handy. Moving on, below that you have a very simple task list thing. You can put in some tasks (well, I suppose normally those would be Design related):

Then press Add new task(s) and get this:

And as you complete them you can add some checkmarks:


It's really simple, doesn't remember anything (yet) and is basically just a toy. But sometimes useful. In theory I can add saving of the data and even per-document saving and loading of it, depends on interest.

Here's the code to add it:

Code:
Sub addNotepadDocker()
    Dim dockerAssembly As String
    dockerAssembly = "D:\Downloads\DOCKER\Notepad\bin\Debug\Notepad.dll"
    
    Call FrameWork.AddDocker("7BCA6297-CD28-4320-A168-FFA635B9FA0A", "Notepad.Docker", dockerAssembly)
    Call FrameWork.CommandBars("Dockers").Controls.AddToggleButton("7BCA6297-CD28-4320-A168-FFA635B9FA0A", 0, False)
End Sub
Attached Files
File Type: zip Notepad.zip (91.7 KB, 367 views)
Reply With Quote
  #2  
Old 25-05-2012, 08:28
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

I would love to see data save between launches of Draw on this. This could be a great tool for remembering to do jobs that my sales people bring in. Would also be nice to prioritize the tasks by due dates. At the very least, drag and drop in any order you need.
__________________
Sean
Waiting for a ride in the T.A.R.D.I.S.
Reply With Quote
  #3  
Old 25-05-2012, 14:37
Joe Joe is offline
Member
 
Join Date: Nov 2008
Location: Latvia
Posts: 92
Send a message via Skype™ to Joe
Default

Well, a single comment is enough fuel to add improvements for a while. I'll look into it.

Due dates may be tricky (as date formats are different, etc, but priority changing should be possible).
Reply With Quote
  #4  
Old 29-05-2012, 12:29
byteme67's Avatar
byteme67 byteme67 is offline
Junior Member
 
Join Date: Apr 2010
Location: Fort Misery
Posts: 25
Default

Looks very useful. Although the calculator thing possibly linking it to selected object(s) for maybe a reposition or size or rotation. Kinda like a "look and see" what, where and how it would like maybe?!? IDK just thinking.

But CD already can perform calculations like that in most of their input fields. i.e. Page dimensions you can enter 2+2*8-40/4 and get the result 8.
Reply With Quote
Reply

Tags
coreldrawx6, docker, notepad, vba


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
Custom Docker aakkaarr CorelDRAW/Corel DESIGNER VBA 1 27-10-2010 14:07
X5 Docker Tooltips? knowbodynow CorelDRAW/Corel DESIGNER VBA 6 02-05-2010 18:52
It is almost a docker, we need this for 14 shelbym Feature requests/wishlist 2 22-06-2009 02:29
How-to open a docker ? Ales CorelDRAW/Corel DESIGNER VBA 8 24-12-2008 11:42
Color styles docker keytecstaff CorelDRAW/Corel DESIGNER VBA 13 08-01-2007 08:12


All times are GMT -5. The time now is 21:04.


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