PowerToTheBuilder
Helping to put the Power back in PowerBuilder

Eating my own dog food

March 30, 2008 14:09 by bradwery

Now that PowerDock is out I need to make sure it can work in a "real world" application. I'm currently in the process of implementing it into CrazySQL. I'm actually almost done. I think I may have invested about 5hrs so far. Now keep in mind that out of that 5hrs I spent about 3hrs enhancing PowerDock. 2hr's to retrofit a new design paradigm into an existing (and old) application is not bad.

So far I've identified and fixed the following deficiencies:
   - Ability to pass parameters to a document when opening (Allan was nice enough to write the function for that one).
   - Ability to pass a window type parameter when opening a document.
   - New function to set a "Window" menu. All open documents will appear in this menu.
   - New functions to trigger an event on the active document and to broadcast an event to all open documents.
   - New function to get the active window or userobject.

That's what I've got fixed so far. There is more on my list of things to do, like:
   - Add close button to dock panel.
   - Add GetState, SetState and SaveState functions so you can preserve the look the user last used.
   - Add PopupPanel function so you can show a panel programatically without using the mouse.

I think there will be a new release this week or next weekend. I hope to get a new version of CrazySQL out ASAP. In addition to using PowerDock, this new version will also have enhanced support for SQL Anywhere.

Brad


Currently rated 5.0 by 1 people

  • Currently 5/5 Stars.
  • 1
  • 2
  • 3
  • 4
  • 5
Tags:
Categories:
Actions: E-mail | Permalink | Comments (1) | Comment RSSRSS comment feed

Related posts

Comments

March 31. 2008 04:01

Thank you Brad for your works.
I can open a window first, no matter use parameters or not, and then opendocument.
So it's easy to deal the parameter problem.

Archer

Add comment


 

  Country flag





Live preview

January 6. 2009 16:51