Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Locking current grid row
Message
From
30/10/1998 07:18:45
Cetin Basoz
Engineerica Inc.
Izmir, Turkey
 
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00152154
Message ID:
00152682
Views:
19
>>>>I can dynamically disable all rows in a grid leaving only the
>>>>current row enabled (after an append). However the user can still
>>>>move the record pointer to another row by clicking. How can I
>>>>prevent this ?
>>>>
>>>>Regards Ian
>>>
>>>Try BeforeRowColChange Event on the Grid
>>>
>>>Cheers
>>
>>I've been experimenting with this event, but still can't get the
>>code within it from changing the recotd pointer ...
>>
>>Regards Ian
>
>Combine it with ActivateCell(row,col) and put them back where you want them :0
Ken,
Be carefull using activatecell(). It plays nasty effects with mouse and behave differently in different versions :( OTOH once you let them go to another row (then return) the row level updates and table valid might be fired.
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