PA_FieldPopup

4D - Documentation   Français   English   German   4D Plugin API, Command Theme List   4D Plugin API, Command Alphabetical List   Back   Previous   Next

version 2003


PA_FieldPopup (x; y; tNum; fNum)

ParameterTypeDescription
xshortGlobal vertical coordinate of pop-up top left corner
yshortGlobal horizontal coordinate of pop-up top left corner
tNumshortTable number
fNumshort *Field number of the selected field

Description

The routine PA_FieldPopup draws a pop-up menu built with the fields of table tNum. If the user chooses a field name, fNum is set to the selected field number. If the user does not make a choice (he releases the mouse out of the pop-up menu), fNum is set to 0.

The x and y coordinates are relative to the main screen, or the MDI window.

Usually, this call is made from an object that launches its method when the mouse is down on it (but it is the On mouse up event that is sent to the method), such as invisible buttons, arrays, hierarchical list.

This routine uses the virtual structure if it is on (PA_UseVirtualStructure)

Example

Refer to the example in PA_TableAndFieldPopup.

See Also

PA_TableAndFieldPopup.

Error Handling

Use PA_GetLastError to see if an error occurred.


4D - Documentation   Français   English   German   4D Plugin API, Command Theme List   4D Plugin API, Command Alphabetical List   Back   Previous   Next