Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
All sorts of various questions and problems
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
The Mere Mortals Framework
Divers
Thread ID:
00612350
Message ID:
00613526
Vues:
17
primary view of the bizobj. The only problem I haven't been able to track down (well, haven't spent any time tracking down) is that the highlight bar on the main grid doesn't show up correctly now. That is, it looks OK until I click on another row, then the first row stays highlighted and one of the columns (where I clicked) gets highlighted. This seems to be directly related to the fact that I'm not using the primary view of the business object on the main page.
>
>Any ideas on this one?
>

As another followup - I was able to fix this by overriding the RefreshAll() method of cGridList1. I changed the line:
loSelect = CREATEOBJ('CSelect', This.oBizObj.GetAlias())
to:
loSelect = CREATEOBJ('CSelect', This.RecordSource)
Everything seems to work OK now. Hopefully there isn't any hidden side effects of doing this.

One important sidenote (that I forgot to add when I first posted this): I had to also remove the code in the Cancel() method of the primary bizobj on the form. It basically just moves the record pointer back to the correct record, which isn't necessary anymore.
-Paul

RCS Solutions, Inc.
Blog
Twitter
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform