Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Problem with setting focus on a grid
Message
De
22/09/2005 10:13:20
Cetin Basoz
Engineerica Inc.
Izmir, Turquie
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Problèmes
Versions des environnements
Visual FoxPro:
VFP 9
OS:
Windows XP SP2
Database:
Visual FoxPro
Divers
Thread ID:
01051944
Message ID:
01051959
Vues:
16
>>>Hi everybody,
>>>
>>>Here is the scenario:
>>>
>>>We have a big form, that in 800x600 resolution occupies the whole screen (a little big bigger than screen). The form has a pageframe and on a pageframe there is a container with a grid.
>>>
>>>We put a button on this container with the following code:
>>>wait window timeout 1 transform(thisform.top)
>>>this.parent.grd1.SetFocus()
>>>wait window timeout 1 transform(thisform.top)
>>>
>>>It shows -13 and then 0. This produces the weird display effect I already described in my other threads. Could you please see, if you can reproduce this behavior in such resolution (I'm using 16 medium color)?
>>>
>>>Sorry for not providing the exact code repro.
>>>
>>>Thanks a lot in advance.
>>
>>No. I can't reproduce.
>>Cetin
>
>Cetin,
>
>Thanks a lot for trying. I guess, we need to dig further now. I could be related with our particular environment and MereMortals framework.

Yes there should be some code changing it. An assert might help.
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