Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Sharing methods between controls...
Message
From
13/11/1996 16:00:18
 
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00011940
Message ID:
00012179
Views:
36
[the sample is removed to save space]

>the syntax is a little different, but the basic 'sharing' can be done. i'll need to take a close look to see if this specific example will work, but i see no problem...

It works like a champ...in Visual dBase, though it does nothing useful.
I created this uselessness on purpose to incorporate into example as
much of what I want to know how to do in VFP as possible. I can recreate
exact same form in VFP and the functionality will be retained, but
the way this functionality is implemented into actual code will be
different. In particular the size will be MUCH bigger (it's all based
on what I know so far :) Now multiply it by the number of related controls
you have on your form and you will see how awkwardly large your code
becomes and how difficult it becomes to maintain it by let's say
interim employees in MIS department. That is why I am after this VDB
compactness in VFP environment. And again, if it's not feasible, then
the solution must lie in control arrays, just like in Visual Basic.
The problem is that my attempts to create them in design mode all failed.
And as you all see, this is as close as you can get to true OOP and that's
why I am after it.

Thank you all for responses, they are all appreciated!
Some things are better be left unknown...NOT!!!
Previous
Reply
Map
View

Click here to load this message in the networking platform