define the array of the BUTTONS aMenuItems of OutlookBar

This forum is for eXpress++ general support.
Post Reply
Message
Author
User avatar
digitsoft
Posts: 461
Joined: Thu Jan 28, 2010 1:33 pm
Location: Republica Dominicana
Contact:

define the array of the BUTTONS aMenuItems of OutlookBar

#1 Post by digitsoft »

Hi Roger
You can define the array of the BUTTONS aMenuItems you have in the example of OutlookBar



Paulino Nolberto
A cordial greeting
Nolberto Paulino
Regards

User avatar
rdonnay
Site Admin
Posts: 4813
Joined: Wed Jan 27, 2010 6:58 pm
Location: Boise, Idaho USA
Contact:

Re: define the array of the BUTTONS aMenuItems of OutlookBa

#2 Post by rdonnay »

I don't understand your question. This is the code from the sample. It shows how the button array is defined.

Code: Select all

aButtons := { ;
   { 'Accounts Payable', 'AccountsPayable.Exe', '', 'calendar.bmp' }, ;
   { 'Technical Support', 'http://www.bmsi-fund.com/BMSI-support.aspx', '', 'design.bmp' }, ;
   { 'Payroll 2000', 'Payroll2000.exe', '', 'display.bmp'  }, ;
   { 'Cash Receipts', 'CashReceipts.Exe', '', 'copyclip.bmp' }, ;
   { 'Google Search', 'http://www.google.com', '', 'colorset.bmp' }, ;
   { 'Payroll 2000', 'Payroll2000.exe', '', 'display.bmp'  }, ;
   { 'Snyffle', 'http://snyffle.com', '', 'expicon.bmp' }, ;
   { 'Taxes && Utilities', 'TAXESANDUTILITIES.Exe', '', 'dialog.bmp' }, ;
   { 'Notepad', 'Notepad.Exe', '', 'editmemo.bmp' } }

oDlg := DC_XbpDialog1():new(,,{100,100},{1000,800})
oDlg:title := 'BMSI Outlook Bar Test Program'
oDlg:taskList := .t.
oDlg:create()

oOutlookBar := OutlookBar():new( oDlg )
oOutlookBar:menuArray := aMenuItems
oOutlookBar:buttonArray := aButtons
The eXpress train is coming - and it has more cars.

Post Reply