Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Hot keys for buttons
Message
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00665597
Message ID:
00665952
Vues:
18
>Hi!
>
>Well, I also dived deep into the events firing related to page frames. The issue in my application was with grids and it was similar. But it was related to NOT firing the LostFocus event of the control inside of the grid.
>
>The problem was that I made a grid similar to ListBox. So I used SET CURSOR ON/OFF to hide the text cursor when text field is focused. It worked ok till I switched to next page. On teh next page I observed strange thing - when textbox was focused inmy grid, and I switch to anotehr page, text cursor does not appear in the text boxes on next page. I started to dive deeper and determined that LostFocus of the grid control does not fire (I SET CURSOR ON there). The worse - that grid was a class in our framework (listbox-like grid class).
>
>How I solved this problem? To workaroud this generically on a framework level, this was a kind of nightmare. First of all, I had to define code in UIEnable. In that event I call SetAll for special property. this assignment was catched by grids property _Assign method where I catch the moment where I need to SET CURSOR ON or OFF.
>
>I see the same story is yours. All I recommend is to make this on the level of classes, otherwise you will require to add too much code to the form. I have no any recommendations to your case apart from my general experience. You can send me a form and I will try to look to it, if you have a time to prepare it for this.
>
>Situation like "Catch a wind on a field". The one that cause sitting at office till 23:00 or all over the night... ;(((
>


Hi Vlad,

Thanks a lot for the words of support! UIEnable seems like an interesting place, I'm not familiar with this event (e.g. I rarely use it), may be it could help. I think, I can prepare a project to send to you. DataEntry is a self-contained project, so it doesn't use files from directories other than itself. I made it to use our own framework classes (but I modified them a bit for this project). So, if I will be unable to beat this issue today alone (I have some ideas), I send the project to you to look. What's the maximum size of the zip file you can receive?

Thanks again for willing to help.
If it's not broken, fix it until it is.


My Blog
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform