Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How can i make my textbox value appear on grid on click?
Message
De
23/08/2001 05:03:35
Cetin Basoz
Engineerica Inc.
Izmir, Turquie
 
 
À
22/08/2001 21:10:04
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00547737
Message ID:
00547804
Vues:
10
>how ca i make my textbox value appear on my grid if i click my cmd button? please can u give me the exact code i'm new in vfp!!
>
>my textbox name is txtscode and my grid name is sublist?

Virgilio,
Textboxes in grid have a controlsource (except those in container). ie: If column controlsource is 'customer.company' instead of trying to set value of texbox, directly change customer.company and refresh grid. Something like :

replace company with 'New company' in 'customer'
thisform.Sublist.refresh

However you can still do it via value :
with thisform.sublist
  .txtscodecolumnname.txtscode.value = 'Somevalue'
  .refresh
endwith
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
Répondre
Fil
Voir

Click here to load this message in the networking platform