-----Original Message----- *From:* Adam H. Pendleton [mailto:[EMAIL PROTECTED] *Sent:* 01 July 2003 17:32 *To:* Dave Page *Subject:* Re: Edit Data dialog
Dave Page wrote:
You can - just start typing in the row marked with a *.
I did that. I click in a column, entered data, tabbed to the next
column, etc. When I was done I closed the dialog; data gone. I
tried again, hit "Enter", closed dialog; data gone. What am I
missing?
If you have existing rows, after you hit enter just up-arrow onto an existing line and the new row will be stored and default values retrieved. The should probably happen following a CR on the last edittable column, which would also allow empty tables to be populated. I can't quite get my head round the code right now though - any clues Andreas?
We have a full-featured toolbar now: store, refresh, undo, delete.
When hitting return, the cursor will proceed to the next column, if in the last column, the row is stored and the cursor is positioned on the first editable column of the next row. Unfortunately, the edit control is created as multiline control, so WXK_UP and WXK_DOWN are caught by the control and we can't take any action in the tree on that.
There's no "confirm storage" message box because this would be quite annoying if more data is to be entered (it would be active for update too). But the undo button will become active, so everything can be undone for the current line.
Dave, your last commit included some change I had to revert; it crashed. The comment for that file wasn't quite enlighting, so I believe it was committed by mistake. Please have a look if something's missing.
There are still problems about inserting lines with a serial key or similar (without oid), will commit tomorrow.
Regards, Andreas
---------------------------(end of broadcast)--------------------------- TIP 3: if posting/reading through Usenet, please send an appropriate subscribe-nomail command to [EMAIL PROTECTED] so that your message can get through to the mailing list cleanly
