Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Containers not Forms as the main user interface...help!
Message
De
05/05/2008 06:00:47
Lutz Scheffler
Lutz Scheffler Software Ingenieurbüro
Dresden, Allemagne
 
 
À
05/05/2008 00:07:18
Scott Malinowski
Arizona Fox Software LLC
Arizona, États-Unis
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Versions des environnements
Visual FoxPro:
VFP 9 SP1
OS:
Windows XP SP2
Network:
Windows 2003 Server
Database:
Visual FoxPro
Divers
Thread ID:
01315051
Message ID:
01315068
Vues:
28
Scott,

I don't see to many problems here.

the session object is non visual, but why should you use it? Use a Dataenvironment (class) instead. Just instantiate the right DE for the container. If you need to invoke the events/methods from the native DE you may use eventbinding.(I never use native DE because all my forms are classes (no scx) and will be instantiated via CREATEOBJECT, and form classes have no DE on the designer.)

BINDCONTROLS may be a help too.
The DE might be an property of the Container, so just instantiate the container, get the DE class from the prop and instantiate the DE, and SET .T. TO BINDCONTROLS .

Agnes

>Greetings!
>
>We are developing an application that we want to function differently than anything I have ever seen in VFP.
>
>The main issue is that the application will have a container form, that is, a form that can contain from 0 up to maybe 20 containers on it. The decision on what containers will be included is made at run-time as the user security will determine this. The form itself will contain no objects other than the containers instantiated at run-time.
>
>Each container will be self-contained, that is, it will manage it's own data session and it's own data. In order to do this, we will be using a session object for each container to insure that the container has a private data session and maintains data integrity within itself.
>
>Since Session objects are not visual, they must be created dynamically at run-time as well.
>
>We don't seem to be finding much information in the Fox community about applications like this. Has anybody ever done anything like this?
>
>Thanks for any input you can provide!
>
>Scott Malinowski
>
>Product Development Manager
>Premiere Educational Systems Inc
Words are given to man to enable him to conceal his true feelings.
Charles Maurice de Talleyrand-Périgord

Weeks of programming can save you hours of planning.

Off

There is no place like [::1]
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform