Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Is TXTBUTTONS bad??????
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Classes - VCX
Divers
Thread ID:
00088466
Message ID:
00088837
Vues:
26
I was mainly talking about replacing txtbtns, which is the heart of the WIZSTYLE framework, (if you can call it that) with something better, possibly inspired by TASTRADE. Since the Searchform and Searchclass classes from WIZSTYLE are fairly self-contained, you could transport them to another framework not based on txtbtns. I haven't looked at TASTRADE in a while, but the general idea is that the basic form button functions are in methods of the base form class, which are called by the button classes. You could add a search method to the same base form which would call your modified searchform, and add properties to the base form as needed for fine-tuning.

The Searchform and Searchclass are really a simple query builder, used to create a condition for a SET FILTER command (or in my modified version, a LOCATE FOR). There are third-party query makers available, such as Query Maker (www.strategicedge.com/). I haven't tried them.

>I had to adapt my search button(originally from Wizstyle) to do that. I check through the relations (TARGET) of the selected table, if there are any, and add the fields from child tables to the searchable field list. I use meta-data dictionary so I don't use AFIELDS. It works...If there are fields that aren't really meaningful I can just leave 'em out of the dictionary...
>
>>I too, am using the txtbtns class. I've modified the search class to search for three conditions instead of two. I like the options txtbtns gives you for navigation, edit & revert etc... I've looked through Tastrade and there doesn't seem to be much in the way of search capability. I would love to find a class that will search one-to-many tables, using selection criteria from both parent and child. Am I missing something in Tastrade? Are there sample frameworks available here?
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform