Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Getting Forms into Project
Message
De
04/06/2003 06:12:30
Cetin Basoz
Engineerica Inc.
Izmir, Turquie
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00795714
Message ID:
00796051
Vues:
15
Gerard,
All I can think is pathing. Try with fullpath. Also try a recompile all.
Cetin


>Thanks Cetin. I've done that and it works .
>
>
>Going back to an earlier thread , I am still having difficulty with getting
>the Compiler to see forms.
>
>I am getting a Form MyForm Undefined at compile time, even though I can
>clearly go in and modify MyForm.
>
>I did a bit of palying around:
>
>Scenario 1:
>-----------
>Main prog is MyMain.Prg
>Within MyMain.Prg I have a Do MyForms (a .prg to hold Form Names so they are compiled). Included here is:
>if .f.
> Do Form MyForm1
> Do Form MyForm2 etc
>Endif
>
>This comes up with a Form MyForm1 undefined
>
>Scenario 2.
>-----------
>Same as Scenario 1 but I have my Main Program as MyForms
>This DOES include the forms in the Project fine !!!!
>
>
>I am really baffled by this .. tried setting up new project..same thing.... any ideas of what might be happening..using VFP7
>
>regards,
>
>Gerard
>
>
>
>
>
>>>Hi.
>>>I have set up a whole pile of screens with syntax:
>>> MyPrepare('Myform',Param1,param2) which runs up a form.
>>>
>>>and of course they dont get into the project.
>>>
>>>Is there any 'easy' way at this stage to ensure all my screens get into the project without going back and amending each line ?
>>>
>>>Regards,
>>>Gerard
>>
>>In a code that's in your project (ie: main.prg) add code similar too :
>>
>>if .f.
>> do form MyForm
>> do form MyForm1
>> do form MyForm2
>> do form MyForm3
>>*...
>>endif
>>
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
Répondre
Fil
Voir

Click here to load this message in the networking platform