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:50:41
Cetin Basoz
Engineerica Inc.
Izmir, Turkey
 
 
To
15/04/1999 12:30:23
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00208603
Message ID:
00208612
Views:
23
>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
BTW grids are more "wonderous" you don't need the fitered view there :) Just set Linkmaster, Childorder, RelationalExpression properties for child grid (and set order to "Childorder" in child - faster than view and less problematic PS: no discussion on speed. Just IMHO this is faster).
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
Next
Reply
Map
View

Click here to load this message in the networking platform