Lazarus
Programming => Packages and Libraries => SynEdit => Topic started by: Edson on November 17, 2014, 05:23:43 pm
-
If you put a SynEdit control on a empty Form.
Then add this code to the OnShow event:
procedure TForm1.FormShow(Sender: TObject);
begin
SYnEdit1.ScrollBars:=ssVertical;
end;
Execute, and then move the mouse over the last line of the SynEdit. The pointer is wrong.
Is this considered a bug?
I don't know if this happens on other systems or versions.
-
I just tried, the mouse pointer is the "text" mouse pointer. That is on all, including the last lines.
What results do you get?
Can you attach a minimum sample project?
What OS?
-
I get the default mouse pointer only on the last line (Where the horizontal Scrollbar would be).
Attached the code.
-
Works fine on my Win Vista.
I suspect the underlying LCL. SynEdit only shows/hides the scrollbar. Also SynEdit set the cursor to the LCL, and the LCL/widgetset decides where to show which cursor.
Have you tried other components? Set a custom cursor to a scrollbox, or grid, and force it to show only one scrollbar.
-
Tested with a TMemo. It work's correctly. The cursor have the text mode until the last line.
Tested on a WinXP virtualized and it works correctly. Just on my Windows 7 Starter, it fails.
-
Well please report a bug.
If possible include LCL/widgetset in the title.
-
Submitted: 0027072
I hope it has been correctly reported. Mantis is something strange for me.