Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
The grid is a wonderous thing (except for this one thing...)
Message
From
15/04/1999 12:30:23
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Title:
The grid is a wonderous thing (except for this one thing...)
Miscellaneous
Thread ID:
00208603
Message ID:
00208603
Views:
55
I am using a grid to get and display phone numbers and descriptions. It is based upon a filtered view to display only the numbers associated with the currently selected contact. I found that one feature of the grid is that if you click in an empty cell it fires the click event of the grid so I use this to add a record to the view and set focus on the new record. This works but has some bizarre effects.

If there are no records currently displayed (the first number for a contact) it won't set focus on the cell until you click on it.

I am counting the existing records to calculate the position of the new record but when adding records the grid seems confused about the display position of new records (possibly because of the negative record numbers?).

The rest of the erratic behavior is variations on this theme. I don't think this is a result of a filtered view but...

Any ideas would be appreciated.

TIA Jeff
Next
Reply
Map
View

Click here to load this message in the networking platform