Page 1 of 1

OutlookBar Questions

Posted: Mon Sep 12, 2011 9:43 am
by rdonnay
It seems as though there is a lot of interest in an Outlookbar style menu.

I posted an example in the thread named: CJShortcutBar...

I would like to create something for eXpress++ users like a DCOUTLOOKBAR command, but I hesitate because I am not sure that it would satisfy everyone's needs.

What would you expect from an Outlookbar?

Do you want to use it as a Tree Menu with extra buttons (as in the sample I provided):
http://donnay-software.com:8080/bmsi/outlookbar.swf.

If this is the only behavior necessary to satisfy everyone, then I think I can do this rather simply.

Re: OutlookBar Questions

Posted: Tue Sep 13, 2011 11:47 pm
by skiman
Hi Roger,

In my opinion is your sample so easy to implement and to understand that everyone should have the posibility to use it as is.

I want different tasks in the outlookbar as buttons, trees, browses, monthcalendar, ... I think it won't be possibile to create an universal system.

Be aware that you don't create something that needs a lot of support afterwards. You showed how it can be done, and you gave a real good base to work with, and to implement it according to everyones needs. That's what I expect from Express++, opening doors to new possibilities.

IMHO we can benefit more of your ideas with samples to show the way.

For example, I spend a Saturday to create a shortcutbar on my own. With your outlookbar I have a better solution, and I have it implemented in two hours.

Re: OutlookBar Questions

Posted: Tue Sep 13, 2011 11:52 pm
by c-tec
Hello Roger,
for me this would be enough, it seems very easy to handle in eXPress++. Only minor things like the possbility to add also gets, checkboxes, radiobuttons etc. to the button region are on my wishlist.
Maybe sometimes even ribbonbars in pure XBase++ with ownerdrawn is possible.
regards
Rudolf

Re: OutlookBar Questions

Posted: Mon Sep 19, 2011 8:05 am
by skiman
Hi Roger,

I have a problem with the outlookbar. If I modify the code in the TEST.PRg as follows, you can see the problem.

Code: Select all

/*
oDlg := XbpDialog():new(,,{100,100},{1000,800})
oDlg:title := 'BMSI Outlook Bar Test Program'
oDlg:taskList := .t.
oDlg:create()
*/
// add two lines
@ 500,500 dcsay 'test'
dcread gui eval{|oDlg| OutlookBarMenu( oDlg, aMenuItems, aButtons, nil ) }
/*
DO WHILE nEvent # xbeP_Close
  nEvent := AppEvent( @mp1, @mp2, @oXbp, .1 )
  IF nEvent > 0
    oXbp:handleEvent(nEvent,mp1,mp2)
  ENDIF
ENDDO
*/
RETURN nil
This way I want to integrate it in a eXpress++ dialog.

Move the splitbar to the bottom, all the buttons move to oStatic3. If you move the splitbar to the middle of the screen, the buttons of oStatic2 aren't correctly positioned. The first button isn't on row 0.

I can't find the cause of this.

Re: OutlookBar Questions

Posted: Thu Sep 22, 2011 9:04 am
by rdonnay
I am still on vacation. Will be back to work on Tuesday, Sept. 27. I will check on this when I get back home.