DataGrid Highlight Bar goes gray
Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller
DataGrid Highlight Bar goes gray
Why does the Highligh Bar sometimes goes gray, like this:
I'd like to keep this from happening.
When it is usually a dark blue, like this:
It works fine, either way, but if possible,I'd like to keep this from happening.
Re: DataGrid Highlight Bar goes gray
No answer to this but I do notice that only happens when you click outside the dg into say a text field.
Is that when it happens for you?
Is that when it happens for you?
Deving on WinVista Home Prem. SP2 32 bit. Using LiveCode 4.6.1 Pro Build 1392
Re: DataGrid Highlight Bar goes gray
If that's the case, then it is the 'selection maintained, but control not active' highlight, rather than the 'control active' highlight.
Re: DataGrid Highlight Bar goes gray
Yep, one is hilited and datagrid has focus,
the other one hilited but no focus on the datagrid.
the other one hilited but no focus on the datagrid.
Re: DataGrid Highlight Bar goes gray
The thing is, it's not just when the DataGrid doesn't have focus.
Clicking from line to line, the highlight bar moves fine. It just
stays gray. I think this is a minor bug in the DataGrid.
I had another problem with the DataGrid a while back. I tried
deleting it and creating a new DataGrid with the same name.
Problem solved. Seems here too, it has corrected the problem.
I did get this far. It happens after this line of code:
This is from my v4.0 of my CRUD SQLite Example. And-- just in case
anyone wants to mess with this, I did make a backup before deleting
and recreating the DataGrid. I'll post it here, but it's not important.
Thanks four your input guys!
Clicking from line to line, the highlight bar moves fine. It just
stays gray. I think this is a minor bug in the DataGrid.
I had another problem with the DataGrid a while back. I tried
deleting it and creating a new DataGrid with the same name.
Problem solved. Seems here too, it has corrected the problem.
I did get this far. It happens after this line of code:
Code: Select all
dispatch deleteLIne to group "myGrid" with theline
anyone wants to mess with this, I did make a backup before deleting
and recreating the DataGrid. I'll post it here, but it's not important.
Thanks four your input guys!
- Attachments
-
- CRUD_SQLite_example_v4.0.zip
- Incomplete v4 w/ highlight bar bug
- (11.28 KiB) Downloaded 260 times
Re: DataGrid Highlight Bar goes gray
I have experienced this also. I am using Windows 7, don't know if it is a Windows OS thing only or not.townsend wrote: Clicking from line to line, the highlight bar moves fine. It just
stays gray. I think this is a minor bug in the DataGrid.
Operating System: macOS Monterey Version 12.5
LiveCode Version: 9.6.8
LiveCode Version: 9.6.8
Re: DataGrid Highlight Bar goes gray
I think I have an good clue here. It looks like a minor bug.
I commented out this line of code, thinking maybe I didn't need it.
Then the persistent gray Highlight Bar problem returned.
So I removed the comment on that line of code. And the strange
thing was, the persistent gray Highlight Bar problem remained.
Of course, when I deleted the DataGrid and recreated a new one
by the same name, the problem was corrected.
I commented out this line of code, thinking maybe I didn't need it.
Code: Select all
set the dgfocus of group myGrid to true
So I removed the comment on that line of code. And the strange
thing was, the persistent gray Highlight Bar problem remained.
Of course, when I deleted the DataGrid and recreated a new one
by the same name, the problem was corrected.