General information
Category:
Coding, syntax & commands
>>I need the full name of a text box object from within a procedure library...
>>
>>_SCREEN.ACTIVEFORM.ACTIVECONTROL.NAME only returns 'txtPrompt'
>>
>>What I need is 'form1.PgFrame.Page1.cnt01.txtPrompt'
>>
>>How can I accomplish this?
>>
>>TIA
>>
>>Larry
>
>May I ask you, why do you need in full reference? You may use Activecontrol object to call any its PEMs.
I'm trying to call a UDF from the VALID method. The UDF may do more than validate the input... such as left zero filling the textbox. This is why I need to reference the textbox.
Also, while in the textbox, the user may press F5 to display a 'Prompt' screen listing valid entries. In this case, I *don't* want the VALID to fire...
Your approach works fine, until I display the Prompt screen. Subsequent calls to VALID return an error ... "activecontrol is not an object"
But I'm closer <s>
Thanks
Previous
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only