Dyalog / ewc-client

Other
1 stars 4 forks source link

Row Labels missing in DemoScroll #188

Closed mkromberg closed 5 months ago

mkromberg commented 5 months ago

Note that DemoScroll has been updated to more closely represent a real use-case found in a client application. Most importantly, the grid object now uses an Edit field as Input. Both the Grid and the Input field have the KeyPress event defined.

First, if you start in Desktop Mode, click Stop

demo.DemoScroll 0

... you will start the demo using Win32, to see what it should look like:

image

If you click in a grid cell and start pressing cursor keys right, left, up or down, you will see a KeyPress event reported for every keystroke, and CellMove events if the active cell changes. For example if you start in cell [1,1] and press right, you will see the following output in the session:

CurCell: 1 1 KeyPress: F1.VGRID.E1 KeyPress RC 0 39 0 CellMove: F1.VGRID CellMove 1 2 1 0 0 0

If you now exit, restart and select DemoScroll and repeat the exercise, then the row labels are missing:

image