Jump to content


AIM

Member Since 26 Jun 2007
Offline Last Active Mar 11 2016 06:43 PM
-----

Posts I've Made

In Topic: NextGrid 5.4 - word wrap in HTML columns

12 May 2011 - 10:31 AM

I have uploaded a screenshot that shows the problem I'm talking about. It's your demo app where I changed the name column into a HTMLColumn.

Instead of writing the second name into the same line, it is wrapped and only displayed with a few pixels.

The HTMLColumn has already a WrapKind property. Would be perfect if you only enable word wrap if "WrapKind" is set to "wkWordWrap".

Attached File  z_000.png   76.91KB   14 downloads


In Topic: Bug in version 5.3.2011.1

08 May 2011 - 07:56 PM

QUOTE
I'm not sure this is the same problem of this post but I need of a solution.


Yes, it's exactly that problem.
I also posted a fix at http://www.bergsoft....h...ost&p=15566

In Topic: Scrollbar not always displayed in latest version 5.3.2011.1

30 April 2011 - 08:51 PM

QUOTE
I have fix this too. I will upload files tomorrow.


Thanks.

Could you please also fix that one:
http://www.bergsoft....?showtopic=3774

Simply use the following code that initializes FLeft/FTop/FBottom/FRight to the correct values:

CODE
constructor TNxIndent.Create;
begin
  inherited;
  FLeft := 0;
  FTop := 0;
end;


and:

CODE
constructor TNxMargins.Create;
begin
  inherited;
  FBottom := 0;
  FRight := 0;
end;

In Topic: Scrollbar not always displayed in latest version 5.3.2011.1

30 April 2011 - 08:32 PM

It's better now, but it does not fully fix this problem. The last line is ignored to show the toolbar.

Reverting also back the functions SetMax and UpdateScrollBar to the previous version fully fixes this problem...

Concretely:

Un-commenting that line:
if FMax = Value then Exit;

and commenting that line:
{ Hide scrollbar if necessary }
//ShowScrollBar(FOwner.Handle, BarFlag, IsVisible);

In Topic: NxGrid event won't work after Update to 5.12.10.1

10 December 2010 - 02:00 PM

QUOTE
I have test and it work fine. Try please to re-download file from Members Section again.

I have re-upload it.


I re-downloaded it now but OnDblClick and OnCellDblClick still don't work.

I found the reason now.

In constructor TNxCustomGrid.Create(AOwner: TComponent); you have the following code:

CODE
  FHoverCell := Point(-1, -1);

  ControlStyle := ControlStyle + [csDoubleClicks, csReplicatable];
  {$IFDEF DELPHI2010UP}
  ControlStyle := [csGestures];
  Touch.InteractiveGestures := [igPan, igPressAndTap];
  Touch.InteractiveGestureOptions := [igoPanInertia,
    igoPanSingleFingerHorizontal, igoPanSingleFingerVertical,
    igoPanGutter, igoParentPassthrough];
  {$ENDIF}



So after {$IFDEF DELPHI2010UP} the ControlStyle is overridden. Using the following code fixes this problem:

CODE
  {$IFDEF DELPHI2010UP}
  ControlStyle := ControlStyle + [csGestures];


Seems that you have to do another re-upload or to release a new fixed version smile.gif