Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Object has Focus but Not ActiiveControl
Message
De
03/08/2001 14:43:17
Cetin Basoz
Engineerica Inc.
Izmir, Turquie
 
 
À
03/08/2001 14:15:33
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:
00539577
Vues:
14
>>>Is it possible for an object to have the focus and not be the ActiveControl? I can see the focus box on a button, but I have a timer that displays a different ActiveControl. I have a situation where it is taking two clicks to get a page tab to change. I've been playing around with the NoDefault, but it hasn't seemed to make a difference. Thanks!
>>>
>>>Regards, Renoir
>>
>>I think not. However this could be :
>>
>>thisform.somecontrol.setfocus
>>*Fast code - here somecontrol seems to be activecontrol
>>this.setfocus && This is what you see as having focus
>>
>>Cetin
>
>Cetin,
>
>Actually, it seems that there is a focus box in the grid cell AND on the command button below it. The ActiveControl is the grid. Below is why I asked the question in the first place.
>
>Three pages on pageframe where:
>
>
>Page2: contains Grid and Button1
>Page3: contains Button2
>
>
>This is the behavior as it relates to my question:
>
>
>1. Click on Page2 tab and Page2 becomes active; focus is on Grid
>2. Click on Button1 and Page3 becomes active; focus is on Page3
>3. Click on Button2 and Page2 becomes active; focus is on Grid
>4. Click on Page1 tab and Page2 remains active; focus is on both Grid and Button1
>5. Click on Page1 tab again and Page1 becomes active; focus goes to Page1
>
>
>Only number 4 above is not behaving as I expect it. It takes two clicks on the Page1 tab to actually get Page1 to activate. I simplified this and I know it's difficult at best to follow this type of stuff when you don't have the code, but do you have any ideas? Thanks!
>
>Renoir

Renoir,
First thing that comes to mind is a lockscreen.
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
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform