Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Highlight a grid cell
Message
From
25/04/2003 04:20:53
Cetin Basoz
Engineerica Inc.
Izmir, Turkey
 
 
To
24/04/2003 15:26:44
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00781264
Message ID:
00781395
Views:
17
>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
Previous
Reply
Map
View

Click here to load this message in the networking platform