UDOlParam

<< Click to Display Table of Contents >>

Navigation:  UDO - User Defined Objects >

UDOlParam

Previous pageReturn to chapter overviewNext page

[Professional Edition and above, not available for Java, PHP, Python, Ruby]

Sets / returns the long integer value lParam from a UDO.

property long VPE.UDOlParam

read; runtime only

also supported by TVPEObject: read / write; runtime only

Returns:

the id of the UDO that needs to be drawn

Remarks:

Only in case you are using the property of the VPE Document Object (ActiveX: VpeControl and VCL: TVPEngine): This property is only accessible while you are processing the event DoUDOPaint() (VCL: OnUDOPaint(), .NET: UDOPaint()). Reading this property while not processing the event will return invalid - and therefore useless - data. It returns the long integer value lParam you had specified when creating the UDO (by calling CreateUDO()). The value returned should be used to identify the object which needs to be drawn.

Example:

see UDODC