Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Problem using Grid
Message
De
13/11/2001 02:57:47
Cetin Basoz
Engineerica Inc.
Izmir, Turquie
 
 
À
13/11/2001 01:51:18
Ashish Patel
Hindustan Petroleum
Mumbai, Inde
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00580750
Message ID:
00580759
Vues:
17
This message has been marked as the solution to the initial question of the thread.
>Hi
>
>I am having 4 columns in grid and I want to capture the double click event for a row.What I am doing is in DblClick event of text1 of all columns I am calling
>thisform.populateform
>
>
>Now in populateform I am having the following code
>
>mcons_no = thisform.grid1.column2.text1.value
>
>since column two is displaying consumer no.
>
>Based on the value I get in mcons_no I am puplating my fields on the form.
>When I double click on any field of any record for the first time it is getting
>populated properly. But if click second time on any text1 other then column2's text1 I am getting the previous row's value only it is not getting changed.
>
>It works fine if I click on column2's text1.
>
>Pl. Help
>
>Thanks in Advance
>
>Ashish Patel
Ashish,
Instead of column2.text1.value directly use alias.fieldname.
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