|
-
Feb 4th, 2000, 03:57 AM
#1
Thread Starter
Hyperactive Member
I have an MSHFlexgrid on my form which I populate with records from a database. The first row (number 0) is used for headers and the second row (number 1) has it's height set to zero so it is invisible. I also have a "Delete Record" button that deletes the selected row in the flexgrid. Additionally, I have code set up to give my program the to edit the flexgrid. To do this I have a textbox that "floats" over the appropriate cell. Here is what I can't figure out. The flexgrid populates when the form loads and if I immediately start deleting rows, it will get down to the third row (number 2) it says that it "cannot delete the last non-fixed row." The flexgrid shows all three rows (with the socond one being invisible). However, the program does indeed only count that there are 2 rows. However, if I edit one of the cells first and then delete all of the rows, it will delete all of them and only show the headers (remember, the second row is invisible). Can anyone explain to me why this happens? I would REALLY appreciate it.
------------------
Ryan
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|