V2:problem with DBGrid1.options - [dgRowSelect] on insert/edit 
Author Message
 V2:problem with DBGrid1.options - [dgRowSelect] on insert/edit

I've got a big problem with the following code on the state change of
a ttable datasource component. Basically it stops the insert/edit
options from working . Any help would be great as the grids look awful
when scrolling without rowselect!

if table1.state = dsinsert then
        DBGrid1.options := DBGrid1.options - [dgRowSelect]
else
        DBGrid1.options := DBGrid1.options + [dgRowSelect];



Wed, 18 Jun 1902 08:00:00 GMT
 
 [ 1 post ] 

 Relevant Pages 

1. DBGrid1.Options.Editing toggle by code?

2. Edit a col using DBGrid1

3. DBGrid1.Fields[0] - Where's The Value During Insert/Before Post

4. Problem with difference in SQL between ADO v2.1 and v2.52

5. DBGrid1.Add -Problem

6. Problem in creating local cubes using DIRECTLYFROMCACHEDROWSET option in INSERT INTO clause

7. Check changed fields in inserted and Insert instead of edit

8. problems with reinstallations with bitmap option and paralell-select option

9. editing and deleting option in records individually

10. Edit option turned off in forms

11. having a sort opion with various fields and an edit option

12. Using the Edit|Find menu option


 
Powered by phpBB® Forum Software