Skip to content

PromptObject - cWebBaseDEO

Returns the object handle of the prompt dialog object associated with this object

Type: Function
Return Data Type: Handle

Syntax

Function PromptObject Returns Handle

Call Example

Get PromptObject to HandleVariable

Description

PromptObject returns the object handle of the prompt dialog object associated with this object. This is used during initialization to determine if a prompt bottom should be displayed and by the Prompt message to determine if a prompt object exists.

A prompt object is assigned one of two ways. If the phoPrompt property is non-zero, that value is returned. If phoPrompt is 0 and the object has a data-binding (as defined with an Entry_Item command) the DataDictionary object's (DDO's) web prompt object (File_Field_WebPrompt_Object) will be returned. This means that data bound DEOs will automatically use their DDO's web prompt object without any extra work.