Lazarus
Home
Help
TinyPortal
Search
Login
Register
Lazarus
»
Forum
»
Programming
»
LCL
»
ComboBox (DropDownList) and TStringGrid
Free Pascal
Website
Downloads
Wiki
Documentation
Bugtracker
Mailing List
Lazarus
Website
Downloads (Laz+FPC)
Packages (OPM)
FAQ
Wiki
Documentation (RTL/FCL/LCL)
Bugtracker
CCR Bugs
GIT
Mailing List
Other languages
Foundation
Website
Useful Wiki Links
Project Roadmap
Getting the Source
Screenshots
How to use the forum
Forum Rules
About donations (wiki)
Bookstore
Computer Math and Games in Pascal
(preview)
Lazarus Handbook
Search
Advanced search
Recent
IndySecOpenSSL is now ava...
by
TheMouseAUS
[
Today
at 09:25:27 am]
Lazarus Bugfix Release 4....
by
ALLIGATOR
[
Today
at 08:36:44 am]
Interesting video
by
Weiss
[
Today
at 08:16:02 am]
XLibre, finally and fortu...
by
Fred vS
[
Today
at 06:20:26 am]
TDWEdit
by
dbannon
[
Today
at 06:08:28 am]
Conscious Artificial Inte...
by
microxa
[
Today
at 05:43:41 am]
WEBP, no DLLs
by
Tomxe
[
Today
at 04:04:37 am]
How to define a type of ...
by
Fibonacci
[
Today
at 03:22:26 am]
Discipline your AI coding...
by
440bx
[
Today
at 02:44:06 am]
Version 4.8 was recently ...
by
Ten_Mile_Hike
[
Today
at 01:43:17 am]
Who can explain this ?
by
J-G
[
Today
at 01:02:01 am]
FPC Unleashed (inline var...
by
Fibonacci
[
Today
at 12:03:13 am]
[New Component] ExtTabCtr...
by
d7_2_laz
[June 10, 2026, 10:52:55 pm]
Trayslate 1.3.0 - Free tr...
by
AlexanderT
[June 10, 2026, 08:12:24 pm]
TShellListView
by
Ed78z
[June 10, 2026, 07:59:41 pm]
[SOLVED] Curious why this...
by
1HuntnMan
[June 10, 2026, 07:53:21 pm]
Toying Pascal Documenting...
by
paule32
[June 10, 2026, 05:22:32 pm]
Gitlab site history date.
by
Fred vS
[June 10, 2026, 05:07:59 pm]
Cursor changes to arrow o...
by
atlatl
[June 10, 2026, 05:02:45 pm]
Sizes and SizeInt
by
440bx
[June 10, 2026, 02:15:13 pm]
how to add a ForEach call...
by
jamie
[June 10, 2026, 12:42:04 pm]
[SOLVED] Watches panel is...
by
CM630
[June 10, 2026, 12:06:33 pm]
How to monitor changes in...
by
Martin_fr
[June 10, 2026, 11:55:18 am]
Printer Info
by
J-G
[June 10, 2026, 11:26:52 am]
Strange Behaviour at Runt...
by
andrew Bubble
[June 10, 2026, 11:19:45 am]
« previous
next »
Print
Pages: [
1
]
Author
Topic: ComboBox (DropDownList) and TStringGrid (Read 6447 times)
7bit
New Member
Posts: 24
ComboBox (DropDownList) and TStringGrid
«
on:
June 07, 2017, 03:07:32 pm »
When I edit a cell (an uneditable drop-down list is shown), I can not set the focus with the mouse on the grid. Why? An example of a project attached.
Lazarus 1.7 (
www.getlazarus.org
), gtk2 widgetset, Ubuntu 16.04 x64.
«
Last Edit: June 07, 2017, 03:12:01 pm by 7bit
»
Logged
Handoko
Hero Member
Posts: 5545
My goal: build my own game engine using Lazarus
Re: ComboBox (DropDownList) and TStringGrid
«
Reply #1 on:
June 07, 2017, 03:22:40 pm »
It works here on my Ubuntu Mate 16.10 Lazarus 1.6.4 64-bit Gtk2.
On the cell of the first column, press space 2x then the drop down will be shown. Use arrow keys to choose an item and press enter 2x to move to the next cell.
Logged
7bit
New Member
Posts: 24
Re: ComboBox (DropDownList) and TStringGrid
«
Reply #2 on:
June 07, 2017, 06:51:47 pm »
Thanks for the answer! But I want to select another cell not with a keyboard, but with a mouse click. In Windows it works, and in Linux for some reason does not work.
P.S. Excuse me. I'm talking through an online translator.
Logged
Handoko
Hero Member
Posts: 5545
My goal: build my own game engine using Lazarus
Re: ComboBox (DropDownList) and TStringGrid
«
Reply #3 on:
June 07, 2017, 08:11:55 pm »
I did some tests and I can reproduce the issue.
The issue didn't happen if I compile it to produce Win32 executable and run it on my Linux system using Wine. I can use mouse to select items in the drop down and then select other cells.
But if I produce Linux 64-bit binary and run it on my Ubuntu Mate 16.10, I can use mouse to select items in the drop down but then the focus will be trapped in the cell that contains that drop down. I can't select other cells except using keyboard. This Linux test was using Gtk2.
I think this issue is Gtk2 or OS related bug. You may consider to submit a bug report here:
https://bugs.freepascal.org
Logged
7bit
New Member
Posts: 24
Re: ComboBox (DropDownList) and TStringGrid
«
Reply #4 on:
June 07, 2017, 09:34:37 pm »
Thank you.
Reported
in bugreport.
Logged
Print
Pages: [
1
]
« previous
next »
Lazarus
»
Forum
»
Programming
»
LCL
»
ComboBox (DropDownList) and TStringGrid
TinyPortal
© 2005-2018