Jump to content


nosx

Member Since 07 Aug 2014
Offline Last Active Sep 09 2014 09:26 PM
-----

Posts I've Made

In Topic: Setting autoscroll to false does not work.

09 September 2014 - 08:31 PM

I have NextGrid version 5.9.25 and there does not appear to be any property called ScrollStyle. Is this property in one of the sourcefiles because It does not appear to be a published property that I could find anyway.

Update: I did find in NxScrollControl.pas around Line #968 this code.

FScrollStyle := [rsRoll];

which I changed to

FScrollStyle := FScrollStyle - [rsRoll];

and the grid no longer shows the "gravity scroller" when I middle mouse click, but I am sure this will disable this for other controls as well in the Suite so it would be nice if in the next release there was a dedicated property for this for every control that uses this feature like you discussed earlier.

In Topic: Setting autoscroll to false does not work.

07 September 2014 - 10:23 PM

In most applications it called autocroll but as long as I can disable it then you can name it whatever you think is appropriate. All I need to know is how do I disable it now because I really need to use the middle mouse button for another reason than scrolling. I don't care if I have to edit the sourcecode manually I just need it disabled so how do I do it. I am desperate.

In Topic: Rowcount incorrect when using filters

26 August 2014 - 05:55 AM

I have a FireDAC Query compoent on my form and I set the filter like so in my code.

Query1.Filtered := False;
Query1.Filter := 'Database_Column_Name_Here =' + QuotedStr('Some String To Filter The Column Upon');
Query1.Filtered := True;

In Topic: Popup menu question

18 August 2014 - 06:34 AM

Just posting this for others so they may benefit from it as well.

procedure TMainForm.NextGrid1MouseDown(Sender: TObject;
Button: TMouseButton; Shift: TShiftState; X, Y: Integer);
Var
P : TPoint;
begin
P := NextGrid1.GetCellAtPos(Point(X,Y));
If (Button = mbRight) and (P.Y <> -1) Then
begin
Popup1.Popup(Mouse.CursorPos.X, Mouse.CursorPos.Y);
end;
end;

In Topic: TNxHyperlinkColumn

16 August 2014 - 11:20 PM

@Boki

What happend to this Hyperlink Column type. Was it incorperated into the HTMLColumn type ? I need this functionallity for my program (using nextdbgrid) and have set the field in my database to something like this
<a href="http://example.com"> Text For Link Here </a>
and it shows up as a blue underlined link in my application, but the cursor never changes to a handcursor when I hover my mouse over it so I am either missing something or the HTMLColumn does not work properly. Any ideas ?

UPDATE

I just noticed that only the nextgrid component has the hyperlink column type. Why was this left out of the NextDBGrid? Could you add support for this type to the DBGrid as well in the next update, I could definitly use this feature.