Welcome To The Home Of The Visual FoxPro Experts  
home. signup. forum. archives. search. google. articles. downloads. faq. members. weblogs. file info. rss.
 From: Gordon King
  Where is Gordon King?
 United Kingdom
 Gordon King
 To: Roy Slough
  Where is Roy Slough?
 Potters Bar
 United Kingdom
 Roy Slough
Subject: RE: Column Header changes
Thread ID: 345257 Message ID: 345258 # Views: 47 # Ratings: 0
Version: Visual FoxPro 8 Category: Grids
Date: Monday, May 21, 2012 7:13:43 PM         

> Hi All,
> I am using VFP8 and am using grids to display information to users.
> SOME columns I am building in a sort function so that when the column header is clicked the data is ordered appropriately.
> I would like to make it obvious to users which columns they can click on to sort and those they cannot.
> I have tried backcolour, tooltips but am having no sucess.
> I have read some threads which describe quite complex( for my skill level anyway ) solutions Re; tooltips and columns
> I have tried some MoveOver MouseEnter MouseLeave methods but again no luck.
> I have noticed that when over a column header the mouse pointer is replaced with a down arrow.
> If I could stop this default behaviour on the columns that cannot be sorted that would work for me also.
> any (simple) advice please.
> Thanks

You could set a small graphic in the header to indicate sortable - I use a small double headed arrow. Set the Picture property on the column header.




Column Header changes Posted by Roy Slough @ 5/21/2012 7:05:33 PM
RE: Column Header changes Posted by Gordon King @ 5/21/2012 7:13:43 PM