A Perfect Grid ;)

Discuss anything else that does not suite other forums.

Moderator: Rathinagiri

User avatar
Steed
Posts: 427
Joined: Sat Dec 12, 2009 3:40 pm

Re: A Perfect Grid ;)

Post by Steed »

Hi, all

What about,

Similar keys for fast movements like Excel (it could be friendly with users):

CRTL+HOME :=Firts Cell (Firts row and first Column)
CRTL+END :=Last Cell (Last row and last Column)
CRTL+LEFT :=First Cell of current row
CRTL+RIGHT :=Last Cell of current row
CRTL+UP := First Cell of current column
CRTL+DOWN := Last Cell of current column
Edit Mode:
Enter: Next Cell
ESC: Finish edit mode and still in the same cell/position



Regards,


Ed
User avatar
fchirico
Posts: 324
Joined: Sat Aug 23, 2008 11:27 pm
Location: Argentina

Re: A Perfect Grid ;)

Post by fchirico »

Sería muy cómodo lo siguiente:

Si estoy parado en la última columna, al presionar FLECHA DERECHA debería posicionarse en la primera COLUMNA de la próxima fila.

It would be very comfortable as follows:

If I'm standing in the last column, pressing RIGHT ARROW should position itself in the first column of next row.
Saludos, Fernando Chirico.
User avatar
Czarny_Pijar
Posts: 172
Joined: Thu Mar 18, 2010 11:31 pm
Location: 19.2341 E 50.2267 N

Re: A Perfect Grid ;)

Post by Czarny_Pijar »

Perfect is when we know how to use these miracles. Therefore let do not forget about Help files. IMHO the obsolete Browse will be used until we do not get the equivalent of this page hmgdoc/data/idesample.htm dedicated to the Grid. Only the step 8 has to be corrected.

Now I have been strugling for more than hour with the Grid via the IDE, without success. The hint from the forementioned page for the Browse works perfectly:
Step - 8 :

And now, we will make some arrangements on the BROWSE control :
After activating ( by clicking on it ) BROWSE control;
By selecting "Object Inspector[Main.Fmg]\Browse_1\Properties" give these properties to Browse_1 control:


- "Fields" property :
{'Test->Code','Test->First','Test->Last','Test->Birth','Test->Married','Test->Bio'}

- "Headers" property :
{ 'Code', 'First Name', 'Last Name', 'Birth Date', 'Married', 'Biography' }

- "Widths" property :
{ 150, 150, 150, 150, 150, 150 }

- "Work Area" property :
Test
How to get the same for the Grid?
Attachments
Help Update
Help Update
HelpHMG.PNG (4.77 KiB) Viewed 2425 times
User avatar
sudip
Posts: 1454
Joined: Sat Mar 07, 2009 11:52 am
Location: Kolkata, WB, India

Re: A Perfect Grid ;)

Post by sudip »

rathinagiri wrote:....
2. Direct entry into cell. By saving an 'ENTER' key stroke.
...
In that case, the key, pressed by the user, will be stored in the keyboard buffer also. Eg. for a column having combo box control, when the user will press "A", combo box will show the first item starting with "A" :) (I guess, I couldn't explain, what I wanted to say again :lol: )

Once, Rathi sent a link about grid in this forum, which may be very useful here http://www.codeproject.com/KB/miscctrl/gridctrl.aspx

Regards.

Sudip
With best regards,
Sudip
Post Reply