Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
VFP7 - Empty grids can't get focus?
Message
De
31/10/2001 09:41:17
Elyse Pomerantz
Dynamic Data Concepts, Inc.
Brooklyn, New York, États-Unis
 
 
À
31/10/2001 04:37:39
Cetin Basoz
Engineerica Inc.
Izmir, Turquie
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00575466
Message ID:
00575622
Vues:
19
>>Throughout my application I have RightClick menus on my grids where the user can add, edit or delete. If the user RightClicks on an empty grid, their only option is to add. This worked fine in VFP6, but in VFP7 I notice that I can't RightClick on an empty grid. Instead, the RightClick of the pageframe (most of these grids are on pages on pageframes) fires. It seems that the empty grid can't get focus. What can I do???
>
>Yes Elyse,
>It doesn't get the focus :(
>You could have code in page rightclick like this :
>
>loObj = SYS(1270)
>IF UPPER(loObj.BaseClass) = 'GRID'
>	loObj.RightClick()
>endif
Cetin

Thanks! For some reason my loObj was coming up as a column so I put in a check for that as well and it seems to work.
Elyse Pomerantz
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform