Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Containers not Forms as the main user interface...help!
Message
De
12/08/2008 12:29:51
Scott Malinowski
Arizona Fox Software LLC
Arizona, États-Unis
 
 
À
08/05/2008 20:38:55
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:
01338356
Vues:
30
Bernard,

We are still running into issues trying to use private data sessions in containers. I have reviewed both of the articles that you identified in your post and I am not sure either provides the solution we are looking for.

Please allow me to take a different approach on the explanation and maybe that might spark someone's thoughts on the issues at hand.

Our application has what we call a work flow form. This form is really an empty form with custom methods and custom properties on it to allow us to control the numerous containters that may be instantiated at run-time. Some have non-modifiable data on them basically as information for the user to view. But, it is nothing more than a pseudo-formset because we will not use formsets and you wil understand why in a moment.

Once the work flow form is up, the user can right mouse click and a popup menu appears that allows them to open numerous containers that will reside inside the work flow form. The reason for this and not using pageframes as well, is that the user needs to be able to see all the information from the various containers at one time. They can move these containers around to their best advantage, etc.

We also build a business object, based on a data environment object. This busienss object will contain multiple cursor adapter objects that are needed to perform the functions needed for the business object. Each form and container object has it's own business object.

As you know, you can only visually use data environment classes on formsets, forms, reports, toolbars and _screen. Well, we want to use them in containers. We want the container to be self-sufficient and totally independent as far as the data goes.

We are able to use addobject with createobject to create a business object in a container. However, it shares the same data session as the form. This is not good for our goals. We need a solution that allows the data session to be private for every container on the work flow form.

Is it possible? We are beginning to believe it is not.

And we are at a critical state of the application, that is, developing business objects like crazy, and we need to either find a resolution or change our design which may affect how we design our business objects.

Any imput would be greatly appreciated!!!!

Thanks!

Scott


>>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
>
>Do you hafta use containers as forms ? If so this could be of help:
>http://weblogs.foxite.com/bernardbout/archive/2006/09/11/2436.aspx
>
>Otherwise use forms like this:
>http://weblogs.foxite.com/bernardbout/archive/2006/08/27/2353.aspx
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform