Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Problem with ActivateCell in 6.0
Message
De
13/11/2000 06:07:23
Cetin Basoz
Engineerica Inc.
Izmir, Turquie
 
 
À
12/11/2000 15:14:50
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00440809
Message ID:
00440919
Vues:
12
>I'm having difficulty getting the activatecell() to position on the correct row/col of a grid. The help facility does not offer much on this topic.
>
>For example, thisform.grid.activatecell(RECNO(),5) does not reposition to col#5 unless RECNO() is within the number of rows in the grid (16).
>
>There is no index active on the table.
>
>Any help is appreciated
>
>-Dana Daugherty

Dana,
ActivateCell row,col refers to row,col positions in visible part. ie: if the leftmost column is actual 3rd field and visible records are 23,24,25 then activatecell(1,1) activates rec 23, 3rd field. IOW row,col are relativerow and col. Go recno you want, refresh and setfocus to columns(5) (Columns might be rearranged so better use name). This is easier then getting the record in visible part and calculating position for activatecell.
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