Page 1 of 1

Two questions

Posted: Tue Dec 05, 2017 8:07 am
by 18681439
The first - not so important.
When I get hold of the table with the cursor, I can move it to the left, right up and down. This is great. But did I fix the table so that it could not be moved?

The second question is much more important.
Scrolling with arrow or scrollbar works.
But - when I scroll to the bottom (last) line, the active row is stay behind the horizontal scroll bar. How to avoid this?

Re: Two questions

Posted: Thu Dec 14, 2017 9:41 am
by yeray
Hello,
HarryKalma wrote:When I get hold of the table with the cursor, I can move it to the left, right up and down. This is great. But did I fix the table so that it could not be moved?
I don't understand the problem. Do you mean at design-time?
HarryKalma wrote:Scrolling with arrow or scrollbar works.
But - when I scroll to the bottom (last) line, the active row is stay behind the horizontal scroll bar. How to avoid this?
What version are you using? Here, using v1.03 I see the last row and the horizontal scroll bar without problems. Ie, running the example from "demos\VCL\Database\ClientDataSet":
VCL_TeeGrid_DataSet_2017-12-14_10-36-26.png
VCL_TeeGrid_DataSet_2017-12-14_10-36-26.png (35.73 KiB) Viewed 26857 times

Two questions

Posted: Thu Dec 21, 2017 9:56 am
by 18681439
To first question I find answer. On tgrdEventsMouseMove Event I put Abort command.

Second question I explain with video.
NB. I use lastest Teegrid version.

https://www.online.ee/sharefile.php?sha ... 7b051cfe48

Re: Two questions

Posted: Mon Jan 08, 2018 12:58 pm
by yeray
Hello,

Can you reproduce the problem with the "demos\VCL\Database\ClientDataSet" example mentioned above?
Here it is how it works for me:
2018-01-08_13-54-23.gif
2018-01-08_13-54-23.gif (145.51 KiB) Viewed 26766 times
Note I've added a line of code at the end of the FormCreate in that example to select the FullRow:

Code: Select all

  TeeGrid1.Selected.FullRow:=True;

Re: Two questions

Posted: Wed Jan 24, 2018 11:10 am
by 18681439
Yes. VCL demo work fine. Only - I use FMX.

Re: Two questions

Posted: Thu Jan 25, 2018 1:40 pm
by 18681439
Exact error duplication:
A) Select the first line of mastergrid (Left grid).
b) Change slave grid cell data (right grid).
c) Left the changed cell with the mouse and click on the mastergrid the last line.

A slightly different error occurs when after edit click the mastergrid second or third line.

File location: https://www.online.ee/sharefile.php?sha ... 8249e07f9f

Re: Two questions

Posted: Fri Jan 26, 2018 8:25 am
by 18681439
Sorry. Last message in wrong topic. Duplicated.

Re: Two questions

Posted: Fri Jan 26, 2018 10:59 am
by yeray
Hello,
HarryKalma wrote:Yes. VCL demo work fine. Only - I use FMX.
I'm trying to reproduce the problem of the horizontal scroll bar in FMX with the example at "demos\FireMonkey\Database\DataSet" without success. It seems to work fine for me here:
2018-01-26_11-55-32.gif
2018-01-26_11-55-32.gif (274.2 KiB) Viewed 26747 times

Re: Two questions

Posted: Fri Jan 26, 2018 1:56 pm
by 18681439
Sorry. I find my error.
Navigationpanel parent was grid.
I am very sorry for the time you spent.

Re: Two questions

Posted: Fri Jan 26, 2018 3:32 pm
by yeray
No problem. I'm glad to hear you found how to make it work as you wish!