Jump to content


Photo

Moving/resizing NextGrid component on design stage


  • Please log in to reply
2 replies to this topic

#1 Luben

Luben
  • Members
  • 116 posts

Posted 26 November 2012 - 09:36 AM

Hi,

I found that NextGrid component behaves strange during design stage if I try to move it on the form or resize it in the following 2 conditions:

1) when the header is hidden. If you attempt to move or resize the grid with the mouse you'll find that it just not responding, but you can move it or resize it through the keyboard,

2) if header is visible but there are no visible rows (the table is too short) you can't move the grid

Simple way to reproduce the misbehavior 1):
- put TNextGrid on your form
- add one column to the grid
- from Options - Hide the header
- try to move or resize the grid with the mouse


Simple way to reproduce the misbehavior 2):
- put TNextGrid on your form
- add one column to the grid
-resize the form height so only the header is visible
- try to move the grid with the mouse

I just found one more misbehavior when Header is hidden - in design stage if you double click on the TNextGrid component you don't initiate the nextGrid Column inspector. In order to do so you need show headers, resize the table to show one row and then double click in this row to initiate the Column inspector.

Best regards,
Luben

#2 eikcam

eikcam
  • Members
  • 23 posts
  • Gender:Male
  • Location:Sydney, Australia

Posted 28 November 2012 - 11:23 AM

Luben,

I just tried to reproduce all 3 of your issues and was unable to do so. The grid moves fine, and the inspector always loads regardless of header visibility.

Can you post some additional details as follows;

1. Delphi version
2. Windows version

Regards,

Dan.

#3 Luben

Luben
  • Members
  • 116 posts

Posted 28 November 2012 - 08:18 PM

Delphi 2010 14.0.3513.24210
Windows XP SP3




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users