Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
WITH THIS with Intellisense
Message
De
30/12/2002 13:26:00
 
 
À
23/12/2002 13:09:44
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00734787
Message ID:
00736653
Vues:
7
>>>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
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform