Hi,
I want to hide the scrollbars in TxVirtualGrid and use default TScrollBar because I can set Width and enable custom Styles.
How can I read values from your Scrollbars and use them?
And put them back.
Greetings.
Posted 31 May 2017 - 10:07 AM
Hi,
I want to hide the scrollbars in TxVirtualGrid and use default TScrollBar because I can set Width and enable custom Styles.
How can I read values from your Scrollbars and use them?
And put them back.
Greetings.
Posted 31 May 2017 - 06:28 PM
Posted 01 June 2017 - 02:14 PM
I have created procedure to read values. But OnVerticalScroll is only fired up when using MouseWheel.
The only one that is working is OnPaint. (OnSelect is before calculate Srolllbar)
Can I use this event safe? Because this is called many times.
Or do you know a better way?
Posted 01 June 2017 - 11:17 PM
Posted 02 June 2017 - 08:36 AM
WM_VSCROLL and WM_HSCROLL are not responding if you use keyboard and END/HOME. You can see original Scrollbar moving but I don't have real event for this one.
Maybe I must use al keyboard/mouse event together. OnSelect is before real change Scrollbar so not usable.
So any other ideas?
Posted 02 June 2017 - 09:13 PM
Posted 02 June 2017 - 09:28 PM
That's nice. So if Scrollbar move/change event OnVertScroll is always called?
Please fix OnHorizonScroll too if you want.
Posted 11 June 2017 - 12:03 PM
Are you making any progress?
Posted 17 June 2017 - 09:25 PM
I have add Event in 'NxControls6.pas'.
property OnCalculateScroll: TNotifyEvent read FOnCalculateScroll write FOnCalculateScroll; procedure TNxScrollControl6.ScrollContentBy(DeltaX, DeltaY: Integer); begin if Assigned(FOnCalculateScroll) then FOnCalculateScroll(Self); end;
This is working very good.
Will you add this yourself in NextSuite project. I think it's very helpful?
Greetings.
Posted 17 June 2017 - 10:33 PM
Posted 18 June 2017 - 06:48 AM
OnContentScroll would be nice?
Posted 18 June 2017 - 10:16 PM
Posted 19 June 2017 - 04:42 AM
Great
0 members, 0 guests, 0 anonymous users