Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Ctrl+T in grid
Message
 
 
To
28/03/2002 18:19:55
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
Miscellaneous
Thread ID:
00638576
Message ID:
00638786
Views:
15
>>>Hi Leland,
>>>I'm trying to set it up so that the user doesn't have to use the mouse to delete a row. I have the deletemark=.t. to show the column.
>>>
>>>
>>>
>>>>Hi,
>>>>
>>>>There is a property in the grid called deletemark. If you set this to true, a column will appear in the first column to the grid. It operates just the the delete column in a browse window. Why not use it to tuggle the records marked for deletion in the grids control source. Also, whenever the delete mark is clicked by the mouse the grid's delete method is called.
>>
>>Wouldn't be easier to add extra column with graphical checkbox for row deletition?
>
>I thought of that too, but then the user would have to tab to the column to delete or recall. I'm just trying to allow the same type of behavior as the browse window.

May be you can have a hidden button on the form with caption TDelete? Unfortunately, it would be Alt+T, not the Ctrl+T. I'm thinking, may be there are some API functions, which can intersept keystrokes, and you can use them?

May be somebody with better understanding of API can jump in here...
If it's not broken, fix it until it is.


My Blog
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform