Jump to content


wvd_vegt

Member Since 17 Jan 2005
Offline Last Active Jul 08 2011 02:23 PM
*****

Topics I've Started

Enter Key and Editing

02 July 2011 - 11:39 PM

Hi Boki,

I've placed a NextGrid on a Dialog that has the OK button set as AcceptButton (see the screenshot of the previous posting).

Now when I edit something in the NextGrid's InsertRow and press Enter the dialog closes (probably because Enter is not handled inside NextGrid's InsertRow).

Wim van der Vegt

Minor Bug in InsertRow / Indicator

02 July 2011 - 11:31 PM

Hi Boki

Two for the list of issues (of v1.06):

When I have both an InsertRow and an Indicator and i edit and add a row by clicking the grid, I can end up with two indicators (both black with no visible triangle). Selecting the newly inserted row two indicators are selected and black.

When i just click the InsertRow and then the Grid itself I frequently end up with empty rows (not very visible but annoying enough ;-)

See the screenshot for both effects.

Wim van der Vegt

How to use the InsertRow

02 July 2011 - 10:47 PM

Hi,

I was wondering how to use the InsertRow correctly.

The functionality I would like is:

  • Be able to enter new rows and append the entered values at the end of the grid when the Enter key is pressed.

    Escape should end editing and clear the InputRow without adding a new row.

    Default the InsertRow only adds to the grid when I click the grid to end editing.
  • Be able to edit an existing row by double clicking it.

    The original values have to be replaced by new ones if I press Enter.

    Escape should just clear the InsertRow.

Question: How to code above?

Wim van der Vegt