Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Missing arguments when generating code from Visual Modeler
Message
 
To
All
General information
Forum:
Visual FoxPro
Category:
Classes - VCX
Title:
Missing arguments when generating code from Visual Modeler
Miscellaneous
Thread ID:
00516075
Message ID:
00516075
Views:
34
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.
Reply
Map
View

Click here to load this message in the networking platform