Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
NO outline on a non-selectable GRID column????
Message
From
25/03/2000 23:18:29
Peter Brama
West Pointe Enterprises
Detroit, Michigan, United States
 
 
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00350332
Message ID:
00350480
Views:
23
Ed

I have the RETURN .F. in the WHEN method for the text1 in column 1. (There is no WHEN method in Column1
by itself.). I also tried adding a thisform.grdTally.Column2.SetFocus in the GOTFOCUS method (and tried
the CLICK method) of column1. The first time I clicked in column1, it jumped correctly to column 2... BUT... the
second time I clicked in column 1, it highlighted and stayed in column1. Interesting... WHY?


>>I have a column that has a WHEN method that returns a .F. This works fine for preventing a
>>user from TABBING or ENTERING into that column.... BUT, it does not prevent them from clicking
>>in the column. When they do, an outline appears around the column even though they can't key
>>anything. Is there a way to prevent the outline as well? I just want the column for descriptive
>>labeling only for each line of the grid.
>>
>
>Add code to thE GotFocus() so that if the When is violated, it issues a SetFocus() for another column, perhaps. Youy migth also try adding a When to the TextBox, since its When is being fired to see if the click into the TextBox is OK.
Peter Brama
West Pointe Enterprises

VFP is getting easier but STILL alot to learn!!
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform