OpenDCL Forums

OpenDCL => Runtime/AutoLISP => Topic started by: aymen_ellouze on July 21, 2010, 08:29:33 AM

Title: little question about gird control, how to"navigate"
Post by: aymen_ellouze on July 21, 2010, 08:29:33 AM
hi all,

i'm using the gird control, and i'm trying to simulate a tool like the properties palettes in acad
when i use the tab button, i goes directly to the next control and not from one cell to another. (not the same behaviour in autocad)
so how can we do to navigate from one cell to another, without clicking on it, in the gird control?

thx in advance
Title: Re: little question about gird control, how to"navigate"
Post by: BazzaCAD on July 21, 2010, 09:51:04 AM
You can use the Arrow keys.
Title: Re: little question about gird control, how to"navigate"
Post by: Fred Tomke on July 21, 2010, 09:19:56 PM
Hi, and you can use the events to catch when Enter-Key was pressed to start CellEdit of the next line.

Fred
Title: Re: little question about gird control, how to"navigate"
Post by: aymen_ellouze on July 22, 2010, 01:04:37 AM
ok,
lets try with the opendcl gird sample,
i use the arrow to navigate from one cell to another, but to start editing what shall i do? (to click? forget about it, it is not the standard behaviour comparing to the properties palette), then when i stop editing a cell??
we can still use the enter-key event, but shall it be better to enable the tab button in the girds? (users are used to do so)

thx
Title: Re: little question about gird control, how to"navigate"
Post by: aymen_ellouze on July 22, 2010, 01:09:17 AM
i wanna jsut add that arrows are used genrally to navigate through differents values of a cell, which will be a little bit confusing for a user...
Title: Re: little question about gird control, how to"navigate"
Post by: Fred Tomke on July 22, 2010, 03:44:16 AM
Hi, as I said you can add events to catch certain keys, like windows standard F2 to start editing the current cell or Enter to jump into the next line to start editing the cell of the next line.

I remember a similar question in this board. Have a look here (http://www.opendcl.com/forum/index.php?topic=700.0).

Fred
Title: Re: little question about gird control, how to"navigate"
Post by: aymen_ellouze on July 22, 2010, 06:07:03 AM
thx :)))