Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Missing arguments when generating code from Visual Modeler
Message
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Classes - VCX
Titre:
Missing arguments when generating code from Visual Modeler
Divers
Thread ID:
00516075
Message ID:
00516075
Vues:
35
Hello,

This is a summary of what I did:

1. Created a model (.mdl file) in Microsoft Visual Modeler

2. Go into FoxPro 6.0 & generate the code using the Code Generation Wizard from the Tools --> Object Modeling menu

Visual FoxPro does generate code for classes created from the model. However, all the arguments in the methods of my classes are missing. Only the properties are seen.

For example,

In visual modeler 2.0, there's a class called Student
-------------------------------------------------
1. property: name, student_number
2. method: get_schedule(student_number: integer)

In FoxPro, Code Generation Wizard creates
------------------------------------------
DEFINE CLASS student AS CUSTOM

* Properties
HIDDEN name, student_number

* ERROR HERE: method missing student_number as an incoming parameter. Why?
PROCEDURE get_schedule()
ENDPROC

ENDDEFINE


I don't know why the properties come across, but the arguments don't. Please also send a reply to papa1999@hotmail.com in case I miss your post.

Thanks for your help.
Répondre
Fil
Voir

Click here to load this message in the networking platform