Please enable JavaScript to view this site.

R:BASE 11 Help

Navigation: Reference Index > Database Conversion > Converting Applications > R:BASE 6.5++ and Lower Applications > Updating the Command Syntax

Unsupported Command Parameters

Scroll Prev Top Next More

The application file may have $MENU blocks where the CHOOSE command is used to display a menu. The CHOOSE command "IN MENU.APX" is no longer supported for "PULLDOWN" menu blocks.

 

If the approach of the application file conversion is to run the .APP file as a command file, then the following method can be used to move the "menu list" into the CHOOSE command with the #LIST parameter.

 

Instead of the following:

 

CHOOSE PICK1 FROM MENU0000 IN Menu.APX

--

-- rest of file

--

$MENU

MENU0000

PULLDOWN | |

|Entry|

|Product Quality Plan|

|Inquiry|

|Reports|

|Maintenance|

ENDC

 

You would use:

 

CHOOSE PICK1 FROM #LIST 'Entry,Product Quality Plan,Inquiry,Reports,Maintenance' +

TITLE 'SELECT OPTION...' CAPTION 'Main Menu Options' LINES 5 +

OPTION List_Font_Color NAVY|List_Back_Color WHITE|List_Font_Size 12 +

|Title_Font_Color NAVY|Title_Back_Color LIGHT GRAY +

|Window_Back_Color LIGHT GRAY|Title_Font_Size 14

 

The above will display a choose pop-up window to select the desired option.

 

Although this will allow the application file to work, we recommend using one of the current application formats to display a Windows driven menu system.