Information générale
Catégorie:
Programmation Orientée Object
Thanks to both you and Edgar. I am constantly exploring the edges of VFP and am continually frustrated (but mostly find solutions) to 'limitations' in fox. To me, the best thing that could be offered in VFP9 is an opening of the structure of lots of the controls to allow third parties to truly sub-class and expand on these. The grid is great, but it hasn't really changed for a long long time. For example, the vertical scrollbar on a grid just needs a Value property exposed to open up a whole world of knowing where you are on a grid without having to resort to changing the ActiveCell to where you want to be. In my Grids, I use a flat scroll bar hiding the VFP one. It solves the problem, but, to me, it's a problem that some important properties are not exposed in the first place. The 'DynamicXXXX' methods are just a poor solution to what many other third party grids have had for years (the ability to control the grid on a cell by cell basis).
What i am trying to achieve is simply putting more information in front of the user. An application that books tennis courts. There are 6 courts, there are 6 booking types (members, casual,group lesson,private lesson etc),and, there are different prices for different times of day etc.
Each cell of the grid represents a time slot with the text being the customer name, the background colour representing the type of booking and labels representing the fee and how much has been paid.
There are 30 time slots per day (times) 6 courts = 180 primary keys. There are 365 days per year. That's about 65000 primary key values. From that, Right Clicking on a cell can give further details on who's booked etc.
So, I can solve this if a grid cell can display 4 pieces of information. At a glance, the user can see court vacancies, types of bookings, and, who has paid.
If I had more control over the grid, I could achieve this in a day.
I am hesitant to use an activeX as this is such a crucial component, and tell me that VFP never has problems with ActiveX controls !!
I've yet to explore Edgar's post, which I will do now. Thanks to both of you.
Précédent
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