PBGUIControls Version 1.2.0 Now Available for PowerBuilder 9

A new version of the PB GUI controls have been released on www.PowerToTheBuilder.com for PowerBuilder 9. This release contains all the functionality from the previous release.

There are some items that should be noted. During my testing I found that theme support was intermittent. That is, it appears to work when the sample application is first run from the IDE. Any subsequent attempts failed. The selection of which theme (or color) to use is based on a call to of_GetColor in u_cst_theme. You do have the option to set the  theme color for the controls manually.

The next item to note is that you must distribute canvas.pbd with your application. In the PowerBuilder 10.5, PBNI objects could be imported directly into a PBL which eleminates the need for a separate PBD. In the case of PowerBuilder 9, a separate PBD is required. All you have to do is add it to your applications library list.

I did as much testing that I can think of. I'm sure that some things were missed. Please let me know if you find anything, I'll get it fixed ASAP.

Thanks,

Brad

February 17, 2008 10:44 by bradwery
E-mail | Permalink | Comments (7) | Comment RSSRSS comment feed

Comments

March 10. 2008 06:01

Objetos visuales interesantes

DANIEL

April 4. 2008 18:10

When I compile the app, some error occur!
=================================
advguiobjects.pbl(u_cst_icon).2: Error C0001: Illegal data type: u_cst_shortcutitem
advguiobjects.pbl(u_cst_icontray).4: Error C0001: Illegal data type: u_cst_shortcutitem
advguicontrols.pbl(u_cst_shortcutbar).8: Error C0001: Illegal data type: u_cst_shortcutitem
advguiobjects.pbl(m_shortcutoptions).m_shortcutoptions.of_loadmenu.7: Error C0194: Missing pcode block for indirect function. Possible cause: missing library from library list.
---------- Finished Migrate of target advguisample

================================
What's wrong? My PB's Version is "Version 9.0.3 Build 8784"

leemoon

April 11. 2008 00:08

Sounds like something is missing. Do you have all the PBL's in your library list advguicontrols.pbl and advguiobjects.pbl.

bradwery

April 11. 2008 08:36

Maybe u_cst_shortcutitem has script error.
i think bradwery forgot ending single quotes in this statements:
in_Gradient.of_DrawPattern(THIS, '?,iuo_parent.of_GetColor('BACKCOLOR1'),'terminal', 12, Width, Height).

robin-zf

April 11. 2008 15:12

I think something weird is happening. This is what it should look like:

in_Gradient.of_DrawPattern(THIS, '³',iuo_parent.of_GetColor('BACKCOLOR1'),'wingdings 2', 12, Width, Height)

I think the special character that's being used in the second arguement is being converted to something else.

I'll remove this from the next version. Consider it fixed. For now you could just comment out everything in of_DrawPattern.

Sorry about that.

Brad

bradwery

April 2. 2009 13:41


How can I use hotkeys for u_cst_toolbarstrip that you are proposing?

I hope your help! thanks!

Lucerito

April 29. 2009 15:26

There is no way to trap keystrokes. You can use invisible menu items to do this. I'll look to see if there is anything that can be done.

Thanks,
Brad

bradwery