Article ID: 132440
Article Last Modified on 10/19/2000
130500 How to Change the Default Font of the Class Browser
130835 Class Browser: How to Save Data to a File
* Class Browser add-in example:
* Add-in install: _oBrowser.AddIn('Menu Example,'CBMENU')
* Add-in uninstall: _oBrowser.AddIn('Menu Example',.NULL.)
LPARAMETERS oSource
LOCAL laMenu
DIMENSION laMenu[3,2]
laMenu=''
laMenu[1,1]='Apples'
laMenu[1,2]="DO food with 'Apples'"
laMenu[2,1]='Oranges'
laMenu[2,2]="DO food with 'Oranges'"
laMenu[3,1]='Plums'
laMenu[3,2]="DO food with 'Plums'"
oSource.ShowMenu(@laMenu)
RETURN
FUNCTION food
PARAMETER cstring
WAIT WINDOW cstring NOWAIT
RETURN
_oBrowser.AddIn('Menu Example','CBMENU')
This adds a record to the BROWSER.DBF table and registers the CBMENU
program as a menu item. Once CBMENU is registered, the string "Menu
Example" will be displayed from the Add-in menu.
Additional query words: 3.00 vFoxWin
Keywords: KB132440