Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
SetFocus()
Message
De
02/09/1998 06:27:35
Cetin Basoz
Engineerica Inc.
Izmir, Turquie
 
 
À
02/09/1998 05:43:35
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Titre:
Divers
Thread ID:
00132233
Message ID:
00132236
Vues:
16
>I'm new here and just learning Visual FoxPro. So, if I am repeating
>something y'all have already replied to .... sorry.
>
> o In my Form:
> I have a Grid that is Enabled = .F. Then I have a Button "Edit".
> o What I'm trying to do:
> Click() the "Edit" Button which in turn Enables the Grid and transfers
> Focus on the first row in the Grid
> o My question:
> How do I write code to go from the Click() in the Button to have the
> Focus ... on and in ... the Grid?
>
>I have a feeling I'm supposed to use SetFocus() but have no clue how!!!
>Thank you for your kind assistance,
>
>Mal
*button.click-assume grid is thisform.mygrid
thisform.mygrid.enabled = .t.
thisform.mygrid.setfocus
Wellcome to lovely UT. Do not hesitate asking any type of question here. Many are repetitions but doesn't matter. UT members are kind enough and all try to help at their best.
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