Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
VFP7 - Empty grids can't get focus?
Message
De
31/10/2001 04:37:39
Cetin Basoz
Engineerica Inc.
Izmir, Turquie
 
 
À
30/10/2001 23:31:30
Elyse Pomerantz
Dynamic Data Concepts, Inc.
Brooklyn, New York, États-Unis
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00575466
Message ID:
00575507
Vues:
24
This message has been marked as the solution to the initial question of the thread.
>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
Ç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