Information générale
Catégorie:
The Mere Mortals Framework
>>Thanks Kevin, that's was one of the things I tried but it didn't work.
>>Dianne
>
>I have found the only way to get the grid highlight to correspond to the current record pointer in the view is to actually set focus to the grid.
>
>I have many, many grids like this and most of them behave OK if I set focus to them when I want the record pointer and highlight to match. I do have some, though, that highlight ALL the new records no matter where the record pointer is and how many times you set focus to it. Actually, if you click on a record, the highlight behaves as expected, but then if you lose and then programmatically set focus, all the new records are again highlighted.
>
>Hope this gives someone some ideas,
>
>Cheryl Qualset
Cheryl,
I think I had something similar to this happen when I first used the framework... I was using cBizObjMaintenanceForm class... it is the one with the grid on it already...
I followed the directions in the DOC to NOT use the build in BizObj, but to use my own... It said to disable the built in business obj by setting lEnabled to false... well, I made a mistake and set Enabled to false.
Don't know if this is your problem, but, check to see that the bizobj the grid is on is:
Enabled = .t.
lEnabled = .f.
BOb
Précédent
Suivant
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