Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Grid
Message
 
 
À
04/04/2010 09:14:20
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Titre:
Re: Grid
Versions des environnements
Visual FoxPro:
VFP 9 SP2
OS:
Windows XP SP2
Database:
Visual FoxPro
Application:
Desktop
Divers
Thread ID:
01458622
Message ID:
01458624
Vues:
67
>I have a grid on a form with only one column.
>In the dataenvironment of the form I open a table MyTable.
>The RecordSource property of the grid is = MyTable
>The ControlSource of column1 of the grid is = MyTable.MyField
>I can see the table in the grid ok.
>The problem is that I put code on the DblClick method of MyGrid.Column1.Text1.DblClick(), and it doesn´t even enter the method.
>In the method there is a SET STEP ON to see that I enter the method with the double click, but that doesn´t happen. I can't execute the code in the method.
>Why is that so?
>This is something that I've done hundred of times, so simple that it´s imposible to miss, and yet I managed to missed it. Any idea?

What is the AllowCellSelection property set to? If it's .F., then you need to put code in the DblClick of the grid and not the textbox. Also, is it possible that you accidentally put something in the Click event of the textbox?
If it's not broken, fix it until it is.


My Blog
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform