Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Highlight a grid cell
Message
De
25/04/2003 04:20:53
Cetin Basoz
Engineerica Inc.
Izmir, Turquie
 
 
À
24/04/2003 15:26:44
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00781264
Message ID:
00781395
Vues:
18
>When I am in a grid, I doubleclick to pop up a browse but I would like to highlight (backcolor) the cell I am currently working on so that while the user is in the browse (which takes only part of the screen), they can still se the highlighted cell.
>
>I am working in VFP6.
>
>Thanks for any help in this regard.
*textbox.dblclick
With This.Parent
  .DynamicBackColor = 'iif(recno("'+.Parent.RecordSource+'")='+;
    trans(Recno(.Parent.RecordSource))+','+;
    Transform(This.SelectedBackColor)+',0xFFFFFF)'
  .DynamicForeColor = 'iif(recno("'+.Parent.RecordSource+'")='+;
    trans(Recno(.Parent.RecordSource))+','+;
    Transform(This.SelectedForeColor)+',0xFFFFFF)'
  .Parent.Refresh
* select and browse
  .DynamicBackColor = ''
  .DynamicForeColor = ''
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