Why are new files I've created not showing their listboxes when reopened?

But you maintain that rows exist.
What is the staus of the gridline properties in the IDE?

Have you tried writing out 2 lines from the old API1 version and the same lines from the new version and compared the 2 files?

Have you tried Xojo 2025r2.1, which was released yesterday?

I turned “both” gridlines on for the journal listboxes, for the sidebar I turned horizontal grid on.

Those gridlines do not appear on these crippled files I’ve ended up with. My personal check register is performing awesome using this API.2 build. A customer looked at it for a few days and and after fixing couple of cosmetic issues, he has had no issues either (his transaction was already created using Corona 4.7 (API.1) He did confirm the issue I’m seeing here with new files.

You are welcome to contact me from my web site if you would like to receive this current Corona project file via email. After twenty five years with this labor of love, I’m ready to open source it simply for the UI I worked up. This was the embodiment of my undergraduate work in the early eighties.

Two lines of what? Data? Code?

Just downloaded and ran it. No change, and I noticed prior to saving that the Account Chart listbox is hosed before saving the file. That I need to understand and fix if I’m to have a chance to fix this.

I meant data. If you have an API1 file that loads correcty in API2, and an API2 file that does not load correctly in API2, I would guess there is some difference between the files, either in content or in formatting. Do you save color values in the file? If so, look closely at them in particular.

I have now been looking at the code.

There is a routine that sets the defaultrowheight of the listboxes , and under some circumstances, it was setting the row height to 0
Data was there, but with a row height of zero, it couldn’t be seen.

4 Likes

Been there, done that. :man_facepalming:t4:

Finally figured it out when I used * System.DebugLog to list RowCount for the listbox after loading data.

Then logged the data from the first column of the listbox to confirm it was loading even if it wasn’t showing.

2 Likes

Now wondering how moving from API1 to API2 led to that :man_shrugging:.

My software uses up/down arrows to adjust font size.

Many thanks to Jeff. He found a variable I was using to control FontSize was errantly being set to zero. I need to find the cause.

While refactoring, I remember looking and making decisions about it. I know where to step through now.

Jeff provided additional advice about using “self” more often has me back at work again. He’s a valuable resource as all of you are here.

The paint-related posts here reinforced my understanding and confirmed I was on a good track handling the paint aspects.

I feel very lucky I posted here for professional advice. Y’all are besties.

1 Like