Visit Gigasoft's Web Site
 ProEssentials v9 Help

CustomMenuText

Scope

Pego, Pesgo, Pe3do, Pepso, Pepco

Type

Property Array of type Int32

Default

PECMS_UNCHECKED

.NET

PeUserInterface.Menu.CustomMenuText

Ocx|Vcl

CustomMenuText

DLL

PEP_szaCUSTOMMENUTEXT

 

Purpose

This property controls the string used for the custom menu item. Use this property to create a submenu by placing the delimiter character "|" between the strings.

 

C / C++ Example

 

/* set one tab delimited custom menu text */

char szCustomMenu[] = "Formula|One|Two|Three\tCurrent Time";

PEvset (hWndPE, PEP_szaCUSTOMMENUTEXT , szCustomMenu, 2);

 

OCX Example

 

* one dimensional array similar to MultiBottomTitles *

PEGraph1.CustomMenuText(0) = "Formula|One|Two|Three"

PEGraph1.CustomMenuText(1) = "Current Time"

 

VCL Example

 

{* one dimensional array similar to MultiBottomTitles *}

PEGraph1.CustomMenuText[0] := 'Formula|One|Two|Three';

PEGraph1.CustomMenuText[1] := 'Current Time';

 

Comments

PeUserInterface.Menu.CustomMenuText members of Pego.PeUserInterface.Menu, Pesgo.PeUserInterface.Menu, Pe3do.PeUserInterface.Menu, Pepso.PeUserInterface.Menu, Pepco.PeUserInterface.Menu

 

See Also: CustomMenu, CustomMenuLocation, and CustomMenuState

 

See Common Question 38 for more info on custom menus.