Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Grid and Double-click.
Message
De
30/07/2001 02:01:41
Nancy Folsom
Pixel Dust Industries
Washington, États-Unis
 
 
À
30/07/2001 01:27:48
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00536813
Message ID:
00537071
Vues:
31
Shaishav-

>The code is in the dblclick method of TextBox. And still it wouldnot fire.
>
>I want to display two Grids with differnt data. However the basic funtion is very similar. In both the Grids,
>
>RECORDSOURCETYPE = 4 (SQL)
>
>and its dynamically filled. Both the grids are identical in a sense they perform the same task while double clicked. It works in first grid but not in second.
>
>Both the grids are on a container.

If one grid works and the other doesn't, identify what is different about the grids.

The Doubleclick might not fire if the textbox, or column are disabled, or the When() returns .F., or the click() is really firing and intercepting the doubleclick (is the _DLBCLICK environment set to something very high?) or the GotFocus, for some reason, changes focus. Or because the container is disabled. Or because there is a shape overlaying the grid (that's a reach, I admit). Or it is firing but not executing the code you think it should, in which case you could put a breakpoint in the method and see if it really is executing.

I don't think the recordsourse would have anything to do with it, nor that it is a SQL source. Nor that it's in a container, unless the container is disabled.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform