>>>Declare a local variable as the right type and inside the WITH, use the variable when you're setting up the code. Then remove it from the code once you're done.
>>>>
>>>>Tamar
>>>
>>>Hi Tamar,
>>>I think this is what I remember reading somewhere, but I don't quite understand how you're doing it. Can you give me a example?
>>
>>Like this:
>>
>>LOCAL oJunk AS TheRightClass
>>
>>WITH THIS
>> oJunk.Whatever ...
>> oJunk.SomethingElse ...
>> ...
>>ENDWITH
>>
>>After you're done writing, use search and replace to remove all the "oJunk"s.
>>
>>Tamar
>
>Hi Tamar,
>I can't get this to work. Tell me if I'm doing this right.
>
>
>local oJunk as Thisform.Pageframe1.Page1.Container1.Grid1.Column1.Textbox1
>
>With Thisform.Pageframe1.Page1.Container1.Grid1.Column1.Textbox1
> oJunk. << this is where I want all the PEMs for TextBox1 to pop up.
>EndWith
>
Actually, you have to use the class name. Like this (assuming you're using a straight TextBox class for the control):
local oJunk as TextBox
With Thisform.Pageframe1.Page1.Container1.Grid1.Column1.Textbox1
oJunk.
EndWith