Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Object has Focus but Not ActiiveControl
Message
De
03/08/2001 15:50:16
Cetin Basoz
Engineerica Inc.
Izmir, Turquie
 
 
À
03/08/2001 15:44:04
Jay Johengen
Altamahaw-Ossipee, Caroline du Nord, États-Unis
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00539492
Message ID:
00539626
Vues:
16
This message has been marked as a message which has helped to the initial question of the thread.
>>>
>>>No LockScreen issues, but I did find what corrected the problem. In Page3.Button2.Click was code to set the focus to Grid and set ActivePage = 2. Just for the heck of it I removed the Page2.Grid.SetFocus call and it works fine. Seems like there's a pretty fine line to walk when working with SetFocus, Refresh, ActivePage and Activate... I'm always spending an inordinate amount of time tracking down these types of issues rather than developing it seems...
>>>
>>>Thanks for your time on this!
>>>
>>>Renoir
>>
>>And I absorbed a tip where to look if happens to me :) Just for curiosity would it happen if you do :
>>ActivePage = 2
>>Then setfocus
>>
>>Cetin
>
>Cetin,
>
>It works fine! Why?! I'm reading some of the papers located on the Wikis site and I'm becoming less confused, but I've obviously still got a ways to go! :-)
>
>Renoir

I can't explain in formal way :) I never trust setfocus or refresh in a pageframe before making the page active (and mostly do just activepage = number instead of refresh as sounds it does an implicit reliable refresh). Probably part of performance reasons with pageframes.
Cetin
Çetin Basöz

The way to Go
Flutter - For mobile, web and desktop.
World's most advanced open source relational database.
.Net for foxheads - Blog (main)
FoxSharp - Blog (mirror)
Welcome to FoxyClasses

LinqPad - C#,VB,F#,SQL,eSQL ... scratchpad
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform