Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
VFP Common Controls Accepted to VFPX
Message
De
10/12/2007 09:32:19
Dragan Nedeljkovich (En ligne)
Now officially retired
Zrenjanin, Serbia
 
 
À
10/12/2007 05:41:27
Metin Emre
Ozcom Bilgisayar Ltd.
Istanbul, Turquie
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
01147339
Message ID:
01274399
Vues:
15
>>>>
>>>>Last time I heard of Genscreen* it was said "yes, there's a new version, it's called scx".
>>>
>>>If you think about it, ClassBrowserX on VFPx is exactly the newest replacement for Genscreenx. It allows to generate runnable code (PRG) for any form.
>>
>>With all the controls subclassed for the occasion? Ummm... something I always wanted to do but couldn't find a compelling reason other than "it can be done". Peter Robinson's conversion of everything into prgs (manually - and in quite an orderly manner, I've seen the code) does run faster and produces thinner exe, to the tune of about 50%. I'll really have to take a look at
>>ClassBrowserX, it really may do the same, just automagically.
>
>I know Microsoft doesn't generate .prg codes from .scx files because of run faster. But you say opposite...

A .prg based class uses less memory, simply by not having to load all the fields in the .vcx (timestamps etc). Visual classes, OTOH, have visual designers, so you can nudge the objects by a pixel or two without looking for the line of code where the size and/or position was set, and you can do a lot of other things which are simply easier to do that way. The visual classes being in a .dbf has released a lot of potential benefits - the objects are records, and the visual designers have mapped many things they do into table manipulation, which is what Fox was always good at.

So visual classes are easier to build, easier to maintain (to a point), and the difference at memory consumption and instantiation speed is negligible nowadays. Programmatic classes are leaner, lighter on memory, and require a bit more work at design time. So it's a trade off.

back to same old

the first online autobiography, unfinished by design
What, me reckless? I'm full of recks!
Balkans, eh? Count them.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform