Discussion:
Odd listbox behavior
donJ
2017-05-26 19:55:37 UTC
Permalink
I have a 3 column listbox that is not selecting rows properly. When I click on row 0, row 1 is selected but only the top 25% of row 1 is highlighted. When I click on the heading, row 0 is selected. I’ve compared the settings to another listbox and cannot find any differences. I replaced the listbox with another and the problem persists. The listboxes are on a pagepanel.
Never had this problem before and I’ve been using listboxes continuously for 10+ years. Anyone else experience this problem? And if so, what is causing this? Thanks TJ
Just a thought. Was this project created in an older version of Real
Studio or Real Basic?
I had one a while back with similar bizarre highlight problems. It was a
fairly old project, re-opened and updated in Xojo2016. The listbox was
not on a pagepanel. I replaced the listbox, typed in all new code,
Nothing would make it work. I had to rewrite the program from scratch in
Xojo2016.
Don
_______________________________________________

Xojo forum:

https://forum.x
Jim Wagner
2017-05-26 19:31:58 UTC
Permalink
Are you sure the listbox is totally contained within the page panel? If its not too much work, I would add a new list box that is totally in the page panel from the very start, then copy the code from the old one to the new one.

Jim

James Wagner
Oregon Research Electronics
http://www.orelectronics.net <http://www.orelectronics.net/>
Same machine. The other listboxes in this pagepanel work just fine.
Did you try it on a different machine or same machine / different user ?
Emile
Message du 26/05/17 20:34
De : "TJ Hanson PhD"
A : "XOJO, Inc."
Objet : Odd listbox behavior
I have a 3 column listbox that is not selecting rows properly. When I click on row 0, row 1 is selected but only the top 25% of row 1 is highlighted. When I click on the heading, row 0 is selected. I’ve compared the settings to another listbox and cannot find any differences. I replaced the listbox with another and the problem persists. The listboxes are on a pagepanel. Never had this problem before and I’ve been using listboxes continuously for 10+ years. Anyone else experience this problem? And if so, what is causing this? Thanks TJ _______________________________________________ Xojo forum: https://forum.xojo.com/
_______________________________________________
https://forum.xojo.com/
_______________________________________________
https://forum.xojo.com/
__________________________________
Jim Wagner
2017-05-26 19:41:57 UTC
Permalink
Does the highlight behavior change if the listbox is moved to another place in the page panel?

Jim

James Wagner
Oregon Research Electronics
http://www.orelectronics.net <http://www.orelectronics.net/>
I’ve already done that. Created a new listbox on the same panel (all within the panel boundaries). Problem persists.
Post by Jim Wagner
Are you sure the listbox is totally contained within the page panel? If its not too much work, I would add a new list box that is totally in the page panel from the very start, then copy the code from the old one to the new one.
Jim
James Wagner
Oregon Research Electronics
http://www.orelectronics.net <http://www.orelectronics.net/>
Same machine. The other listboxes in this pagepanel work just fine.
Did you try it on a different machine or same machine / different user ?
Emile
Message du 26/05/17 20:34
De : "TJ Hanson PhD"
A : "XOJO, Inc."
Objet : Odd listbox behavior
I have a 3 column listbox that is not selecting rows properly. When I click on row 0, row 1 is selected but only the top 25% of row 1 is highlighted. When I click on the heading, row 0 is selected. I’ve compared the settings to another listbox and cannot find any differences. I replaced the listbox with another and the problem persists. The listboxes are on a pagepanel. Never had this problem before and I’ve been using listboxes continuously for 10+ years. Anyone else experience this problem? And if so, what is causing this? Thanks TJ _______________________________________________ Xojo forum: https://forum.xojo.com/
_______________________________________________
https://forum.xojo.com/
_______________________________________________
https://forum.xojo.com/
_______________________________________________
https://forum.xojo.com/
_______________________________________________
https://forum.xojo.com/
_______________________________________________

Xojo forum:

https://forum.x
TJ Hanson PhD
2017-05-26 19:45:36 UTC
Permalink
Tried that too, and the problem persists. I made sure the left, top, width and height were different. The listboxes on the previous pagepanel, and on the next pagepanel work fine. Also replaced it with a new listbox control in case the other was corrupted. Problem persists.
Post by Jim Wagner
Does the highlight behavior change if the listbox is moved to another place in the page panel?
Jim
James Wagner
Oregon Research Electronics
http://www.orelectronics.net <http://www.orelectronics.net/>
I’ve already done that. Created a new listbox on the same panel (all within the panel boundaries). Problem persists.
Post by Jim Wagner
Are you sure the listbox is totally contained within the page panel? If its not too much work, I would add a new list box that is totally in the page panel from the very start, then copy the code from the old one to the new one.
Jim
James Wagner
Oregon Research Electronics
http://www.orelectronics.net <http://www.orelectronics.net/>
Same machine. The other listboxes in this pagepanel work just fine.
Did you try it on a different machine or same machine / different user ?
Emile
Message du 26/05/17 20:34
De : "TJ Hanson PhD"
A : "XOJO, Inc."
Objet : Odd listbox behavior
I have a 3 column listbox that is not selecting rows properly. When I click on row 0, row 1 is selected but only the top 25% of row 1 is highlighted. When I click on the heading, row 0 is selected. I’ve compared the settings to another listbox and cannot find any differences. I replaced the listbox with another and the problem persists. The listboxes are on a pagepanel. Never had this problem before and I’ve been using listboxes continuously for 10+ years. Anyone else experience this problem? And if so, what is causing this? Thanks TJ _______________________________________________ Xojo forum: https://forum.xojo.com/
_______________________________________________
https://forum.xojo.com/
_______________________________________________
https://forum.xojo.com/
_______________________________________________
https://forum.xojo.com/
_______________________________________________
https://forum.xojo.com/
_______________________________________________
https://forum.xojo.com/
___________________________________________
Markus Winter
2017-05-26 21:13:48 UTC
Permalink
Try Arbed. Saved my bacon a few times.

Take care

MfG

Markus

Sent from my iPad
I have a 3 column listbox that is not selecting rows properly. When I click on row 0, row 1 is selected but only the top 25% of row 1 is highlighted. When I click on the heading, row 0 is selected. I’ve compared the settings to another listbox and cannot find any differences. I replaced the listbox with another and the problem persists. The listboxes are on a pagepanel.
Never had this problem before and I’ve been using listboxes continuously for 10+ years. Anyone else experience this problem? And if so, what is causing this? Thanks TJ
Just a thought. Was this project created in an older version of Real Studio or Real Basic?
I had one a while back with similar bizarre highlight problems. It was a fairly old project, re-opened and updated in Xojo2016. The listbox was not on a pagepanel. I replaced the listbox, typed in all new code, Nothing would make it work. I had to rewrite the program from scratch in Xojo2016.
Don
_______________________________________________
https://forum.xojo.com/
______________________________________
TJ Hanson PhD
2017-05-26 21:32:55 UTC
Permalink
OK, I was never in with the in crowd. What is Arbed?
Post by Markus Winter
Try Arbed. Saved my bacon a few times.
Take care
MfG
Markus
Sent from my iPad
I have a 3 column listbox that is not selecting rows properly. When I click on row 0, row 1 is selected but only the top 25% of row 1 is highlighted. When I click on the heading, row 0 is selected. I’ve compared the settings to another listbox and cannot find any differences. I replaced the listbox with another and the problem persists. The listboxes are on a pagepanel.
Never had this problem before and I’ve been using listboxes continuously for 10+ years. Anyone else experience this problem? And if so, what is causing this? Thanks TJ
Just a thought. Was this project created in an older version of Real Studio or Real Basic?
I had one a while back with similar bizarre highlight problems. It was a fairly old project, re-opened and updated in Xojo2016. The listbox was not on a pagepanel. I replaced the listbox, typed in all new code, Nothing would make it work. I had to rewrite the program from scratch in Xojo2016.
Don
_______________________________________________
https://forum.xojo.com/
_______________________________________________
https://forum.xojo.com/
__________________________________________
TJ Hanson PhD
2017-05-26 22:09:59 UTC
Permalink
Solved. The listbox was inside a Groupbox, which was on a pagepanel. I moved the listbox off of the groupbox and it now works as expected. So maybe the groupbox is corrupted. My other listboxes are inside groupboxes and work well. So I’ll just assume this groupbox was corrupted and move on.

Thanks to everyone that responded, TJ
Post by TJ Hanson PhD
OK, I was never in with the in crowd. What is Arbed?
Post by Markus Winter
Try Arbed. Saved my bacon a few times.
Take care
MfG
Markus
Sent from my iPad
I have a 3 column listbox that is not selecting rows properly. When I click on row 0, row 1 is selected but only the top 25% of row 1 is highlighted. When I click on the heading, row 0 is selected. I’ve compared the settings to another listbox and cannot find any differences. I replaced the listbox with another and the problem persists. The listboxes are on a pagepanel.
Never had this problem before and I’ve been using listboxes continuously for 10+ years. Anyone else experience this problem? And if so, what is causing this? Thanks TJ
Just a thought. Was this project created in an older version of Real Studio or Real Basic?
I had one a while back with similar bizarre highlight problems. It was a fairly old project, re-opened and updated in Xojo2016. The listbox was not on a pagepanel. I replaced the listbox, typed in all new code, Nothing would make it work. I had to rewrite the program from scratch in Xojo2016.
Don
_______________________________________________
https://forum.xojo.com/
_______________________________________________
https://forum.xojo.com/
_______________________________________________
https://forum.xojo.com/
_____________________________________________
Tim Jones
2017-05-27 02:10:17 UTC
Permalink
Ah - Listboxes on Groupboxes on PagePanels have always been an issue.

Tim
Post by TJ Hanson PhD
Solved. The listbox was inside a Groupbox, which was on a pagepanel. I moved the listbox off of the groupbox and it now works as expected. So maybe the groupbox is corrupted. My other listboxes are inside groupboxes and work well. So I’ll just assume this groupbox was corrupted and move on.
Thanks to everyone that responded, TJ
_______________________________________________

Xojo forum:

h
TJ Hanson PhD
2017-05-27 13:11:17 UTC
Permalink
No I haven’t; but I can give it a try.
If the groupbox is only a placeholder for the listbox, have you tried replacing the groupbox with a canvas?
Post by Tim Jones
Ah - Listboxes on Groupboxes on PagePanels have always been an issue.
Tim
Post by TJ Hanson PhD
Solved. The listbox was inside a Groupbox, which was on a pagepanel. I moved the listbox off of the groupbox and it now works as expected. So maybe the groupbox is corrupted. My other listboxes are inside groupboxes and work well. So I’ll just assume this groupbox was corrupted and move on.
Thanks to everyone that responded, TJ
_______________________________________________
https://forum.xojo.com/
Carlo
_______________________________________________
https://forum.xojo.com/
_______________________________________________

Xojo forum:

https://for

Bernd Fröhlich
2017-05-27 10:37:06 UTC
Permalink
Post by TJ Hanson PhD
OK, I was never in with the in crowd. What is Arbed?
<http://www.tempel.org/Arbed>

Saved me once as well when Xojo crashed right on opening my project.
Repaired it with Arbed and then everything was fine again.

Greetings from Germany,
Bernd Fröhlich

_______________________________________________

Xojo forum:

https://forum.xojo.com/
TJ Hanson PhD
2017-05-26 21:30:09 UTC
Permalink
I started the project on 2017 1.0 and am now running 2017 1.1. There could be a release variation, hard to tell.
I have a 3 column listbox that is not selecting rows properly. When I click on row 0, row 1 is selected but only the top 25% of row 1 is highlighted. When I click on the heading, row 0 is selected. I’ve compared the settings to another listbox and cannot find any differences. I replaced the listbox with another and the problem persists. The listboxes are on a pagepanel.
Never had this problem before and I’ve been using listboxes continuously for 10+ years. Anyone else experience this problem? And if so, what is causing this? Thanks TJ
Just a thought. Was this project created in an older version of Real Studio or Real Basic?
I had one a while back with similar bizarre highlight problems. It was a fairly old project, re-opened and updated in Xojo2016. The listbox was not on a pagepanel. I replaced the listbox, typed in all new code, Nothing would make it work. I had to rewrite the program from scratch in Xojo2016.
Don
_______________________________________________
https://forum.xojo.com/
_______________________________________________

Xojo for
Continue reading on narkive:
Loading...