Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Does a PRG class execute faster than a VCX based class?
Message
De
11/08/2005 23:49:35
Hilmar Zonneveld
Independent Consultant
Cochabamba, Bolivie
 
 
À
11/08/2005 23:44:31
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Versions des environnements
Visual FoxPro:
VFP 6 SP5
OS:
Windows XP SP2
Network:
Windows XP
Database:
Visual FoxPro
Divers
Thread ID:
01040117
Message ID:
01040473
Vues:
23
I think there is no automatic way to convert a PRG to a visual class.

More important, perhaps, is under what circumstances you can subclass. It seems to me that you can base a PRG class from a PRG class, a visual class from a visual class, and a PRG class from a visual class; but not a visual class from a PRG class.

>Cetin,
>
>First off, THANKS TO EVERYONE who has replied! =)
>
>The reason for this thread is that our team is trying to find "common ground" - we intend to come up with our own set of common base classes, and that we are evaluating what's the best way.
>
>Would it be better to have one common method of doing classes (VCX OR PRG)?
>
>Or would a mixed (VCX AND PRG) way of doing classes not be any issue? Or would it create havoc/confusion? (Like having to switch between a text editor and the visual class designer?)
>
>A VCX class can be converted to a PRG class - is it also so vice versa?
>
>
>Sincerely
>Dennis
>
>
>
>>>Hi All,
>>>
>>>I and a friend are having a discussion on how to best create and maintain classes. He suggested that we programmatically code our classes. I, however, am very comfortable designing/coding classes visually - that is, using the Visual Class Designer.
>>>
>>>Although one can very well convert a VCX based class (or a Form even) to a PRG class via Class Browser/View Code, the issue of performance and best practices comes to mind.
>>>
>>>Which executes faster? Is coding classes programatically more popular? Or better practice?
>>>
>>>Many thanks to anyone who shares his/her insights!
>>>
>>>Dennis
>>
>>Dennis,
>>I think your words answer it:
>>"I, however, am very comfortable designing/coding classes visually"
>>IMHO take whichever you're comfortable with.
>>Cetin
Difference in opinions hath cost many millions of lives: for instance, whether flesh be bread, or bread be flesh; whether whistling be a vice or a virtue; whether it be better to kiss a post, or throw it into the fire... (from Gulliver's Travels)
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform