dcpushbuttonXP instead of cjShortCutBar
dcpushbuttonXP instead of cjShortCutBar
Hi,
After creating the new buttons, and some problems I had before with the cjShortcutbar I wanted to replace this. I made a pbstack some time ago, see exp19\samples\pbstack, but never used it in my application. That time I was looking at Codejock to find some nice additions.
Now, I created a shortcutbar completely with dcPushbuttonXP. The advantage is that I have all the control over it.
Here is a screenshot of it.
After creating the new buttons, and some problems I had before with the cjShortcutbar I wanted to replace this. I made a pbstack some time ago, see exp19\samples\pbstack, but never used it in my application. That time I was looking at Codejock to find some nice additions.
Now, I created a shortcutbar completely with dcPushbuttonXP. The advantage is that I have all the control over it.
Here is a screenshot of it.
- Attachments
-
- shortcutbar.jpg (139.56 KiB) Viewed 16980 times
Re: dcpushbuttonXP instead of cjShortCutBar
Here is a video of an Outlook style menu created using DCTREEVIEW and DCPUSHBUTTONXP objects.
I wrote it object oriented so it can be used in apps like a class.
This was specially designed for a customer, but can be easily modified to satisfy anyone's needs.
I will post the code for anyone who is interested.
http://donnay-software.com:8080/bmsi/outlookbar.swf.
I wrote it object oriented so it can be used in apps like a class.
This was specially designed for a customer, but can be easily modified to satisfy anyone's needs.
I will post the code for anyone who is interested.
http://donnay-software.com:8080/bmsi/outlookbar.swf.
The eXpress train is coming - and it has more cars.
-
- Posts: 484
- Joined: Wed Jan 27, 2010 10:25 pm
- Location: Berlin Germany
Re: dcpushbuttonXP instead of cjShortCutBar
Hi Roger,
i am very interested, can you please post it to
ciriack_at_ciju.de
i am very interested, can you please post it to
ciriack_at_ciju.de
_______________________
Best Regards
Wolfgang
Best Regards
Wolfgang
-
- Posts: 147
- Joined: Thu Jan 28, 2010 9:24 am
- Location: Nitra, Slovakia
- Contact:
Re: dcpushbuttonXP instead of cjShortCutBar
Hi Roger,
I'm very interested too, please, can you post the source code?
Or will be this also included into next eXpress++ build?
Regards
Zdeno
I'm very interested too, please, can you post the source code?
Or will be this also included into next eXpress++ build?
Regards
Zdeno
Re: dcpushbuttonXP instead of cjShortCutBar
Hi Roger,
This is even better. I was planning to add a system to change the height of the bottom, and dynamically change the shown buttons. According to your demo, you already have it.
With the new buttonstyle, it will even look better, and will be almost identical to the Office look.
In attachment the modified button class, and a new buttpicker. I added a new gradientstyle (9) which I called Windows.
The best results are with the following parameters.
- Radius is either 5 or 0.
- Gradientstep is 1. (This will be changed dynamically according to the height of the button.)
- No shadow.
As color I have the following used to simulate the Office2007 colors.
For the bottom buttons in the taskbar, I used the following colors:
Hereby the _dcxbutt.prg and buttpicker.prg.
This is even better. I was planning to add a system to change the height of the bottom, and dynamically change the shown buttons. According to your demo, you already have it.
With the new buttonstyle, it will even look better, and will be almost identical to the Office look.
In attachment the modified button class, and a new buttpicker. I added a new gradientstyle (9) which I called Windows.
The best results are with the following parameters.
- Radius is either 5 or 0.
- Gradientstep is 1. (This will be changed dynamically according to the height of the button.)
- No shadow.
As color I have the following used to simulate the Office2007 colors.
Code: Select all
oConfigLegacy:fgColorMouse := GraMakeRGBColor({0,0,0})
oConfigLegacy:bgColorMouse := GraMakeRGBColor({245,215,100})
oConfigLegacy:bgColorClick := GraMakeRGBColor({245,215,100})
oConfigLegacy:bgColor := GraMakeRGBColor({185,209,239})
oConfigLegacy:disabledfgcolor := GraMakeRGBColor({150,150,150})
oConfigLegacy:disabledbgcolor := GraMakeRGBColor({215,215,215})
oConfigLegacy:bordercolor := GraMakeRGBColor({83,123,173})
oConfigLegacy:font := '8.Arial'
oConfigLegacy:radius := 5
Code: Select all
oConfigButtonsc:fgColorSelected := GraMakeRGBColor({0,0,0})
oConfigButtonsc:bgColorSelected := GraMakeRGBColor({240,170,65})
oConfigButtonsc:bordercolor := GraMakeRGBColor({115,151,198})
oConfigButtonsc:font := '9.Arial Bold'
oConfigButtonsc:fgColor := GraMakeRGBColor({0,102,204})
oConfigButtonsc:radius := 0
- Attachments
-
- buttons.zip
- (24.76 KiB) Downloaded 850 times
Re: dcpushbuttonXP instead of cjShortCutBar
Ok, here is the code for the test program.
This was designed to work with their existing databases to create the tree menu.
I will probably add this to the next eXpress++ release as a sample program, but will modify it so it can read an existing menu structure into the tree menu.
http://donnay-software.com:8080/bmsi/outlookbar.zip
This was designed to work with their existing databases to create the tree menu.
I will probably add this to the next eXpress++ release as a sample program, but will modify it so it can read an existing menu structure into the tree menu.
http://donnay-software.com:8080/bmsi/outlookbar.zip
The eXpress train is coming - and it has more cars.
Re: dcpushbuttonXP instead of cjShortCutBar
Hello,
looks great, I want also avoid to use Codejock if possible, would be great if it can get implemented it in eXPress++
regards
Rudolf
looks great, I want also avoid to use Codejock if possible, would be great if it can get implemented it in eXPress++
regards
Rudolf
Re: dcpushbuttonXP instead of cjShortCutBar
Hi,
Rogers outlookbar with the new buttonstyle.
'Cash receipts' is the current selected color.
'Technical Support' is the mouse-over color.
Rogers outlookbar with the new buttonstyle.
'Cash receipts' is the current selected color.
'Technical Support' is the mouse-over color.
- Attachments
-
- outlookbar.jpg (53.58 KiB) Viewed 16903 times
Re: dcpushbuttonXP instead of cjShortCutBar
Hi Roger
This example OutlookBar.zip has a bug, when you minimize and then maximize the window, the OutlookBar disappears
Nolberto Paulino
Regards
This example OutlookBar.zip has a bug, when you minimize and then maximize the window, the OutlookBar disappears
Nolberto Paulino
Regards
Nolberto Paulino
Regards
Regards
Re: dcpushbuttonXP instead of cjShortCutBar
I will work on this when I get back home from vacation.
The eXpress train is coming - and it has more cars.