Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Grid Set Focus ??
Message
De
19/09/2002 09:07:25
Cetin Basoz
Engineerica Inc.
Izmir, Turquie
 
 
À
19/09/2002 08:06:54
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00702192
Message ID:
00702225
Vues:
16
>Hi,
>I have a form with some text controls and a grid
>As soon as I press the Edit button I want to fill in the textboxes with the data from the current reord showing in the grid.
>But...
>the record marker adoes not show up until I click anywhere on the grid.
>
>I tried to use locate , oGrid.refresh(),
>oGrid.Setfocus(), oGrid.column1.setfocus,oGrid.afterrowcolumnchange(),oGrid.Column1.header1.click()
>
>All to no avail
>
>What is the properway to do that??
>
>Peter

Peter,
I myself use backcoloring but you might do it by momentarily setting focus to grid:

myGrid.SetFocus()
myControl.SetFocus()

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