Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Working with forms..
Message
De
11/01/2007 11:55:51
Cetin Basoz
Engineerica Inc.
Izmir, Turquie
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
01184408
Message ID:
01184639
Vues:
16
>>>Sorry but it took me quite a while programming in foxpro again. I'm working with two maximized forms. I have a button in form1 with do form2. In form2 I have another button that releases it. So, how can I go back again to form1?
>>
>>* button1
>>do form2 with thisform
>>
>>*form2.init
>>lparameters oCaller
>>this.addproperty("oCaller",m.oCaller)
>>
>>*form2 button
>>with thisform
>>if type(".oCaller") = "O" and ;
>> Isnull(.oCaller) and ;
>> lower(.oCaller.Baseclass) == "form"
>> .oCaller.Show()
>>endif
>>.release()
>>endwith
>>
Cetin
>
>Should you set oCaller property to NULL in form 2 Destroy?

Why?
Cetin
Çetin Basöz

The way to Go
Flutter - For mobile, web and desktop.
World's most advanced open source relational database.
.Net for foxheads - Blog (main)
FoxSharp - Blog (mirror)
Welcome to FoxyClasses

LinqPad - C#,VB,F#,SQL,eSQL ... scratchpad
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform