Information générale
Catégorie:
Gestionnaire d'écran & Écrans
Andrus,
I've tried both. When I first used VFP 3 I loaded tables up programmatically (before I knew who Drew Speedie was and why he recommended it). I've been doing it in the DE for a few months and I miss three things from my old method: Control, control, and control.
Basically, you can put a property on the form called cFilesToOPen. You then add these in comma-delimited list at design time. Your form's load can then step through, opening each one, and give the user a very precise message if one of them doesn't open.
FWIW, I haven't a clue if it's faster or slower.
>I started to move to oppsite direction. I have some forms which require 20 free tables and some views opened by code. I re-coded those by adding them manually (!) to form DE.
>
>Currently those two forms: document list and document
>selected from list to edit seems to work.
>Can you tell me, why using code is better? It decreases form load speed a bit!
Précédent
Suivant
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement