Axolotl wrote: Sat Mar 15, 2025 12:43 pm
If the header is not even displayed and you have not switched it off (with #LVS_NOCOLUMNHEADER), it looks like you write somewhere with Item == -1.
Hi Axolotl,
I did not switch off the header, but I think you may be on to something. If you compare the two window captures I posted earlier it is plain to see the headers are not only blank -- they are missing. It's like it is totally disregarding instructions to create headers:
Code: Select all
CustList0.i = ListIconGadget(#CustList_0, 5, 33, lastLook_wW.i - 7 - SM_CXtotal, lastLook_wH.i - 344 - SM_CYtotal, " Parent Co.", Col0_0, #PB_ListIcon_FullRowSelect | #PB_ListIcon_AlwaysShowSelection | #PB_ListIcon_GridLines | #PB_ListIcon_MultiSelect)
SetGadgetColor(#CustList_0, #PB_Gadget_FrontColor, 0)
AddGadgetColumn(#CustList_0, 1, " DBA Name", Col1_0)
AddGadgetColumn(#CustList_0, 2, " Store ID", Col2_0)
AddGadgetColumn(#CustList_0, 3, " Store Name", Col3_0)
AddGadgetColumn(#CustList_0, 4, " Phone", Col4_0)
AddGadgetColumn(#CustList_0, 5, " Support", Col5_0)
AddGadgetColumn(#CustList_0, 6, " Ver", Col6_0)
AddGadgetColumn(#CustList_0, 7, " OS", Col7_0)
AddGadgetColumn(#CustList_0, 8, " IP Addrress", Col8_0)
This code has worked for years, and not made any changes in this area of the code.
Up until recently I only compiled using 32 bit PureBasic. Decided I should try compiling with 64 bit because they're going to be phasing out 32 bit processors and operating systems. Well, when I tested it in the 64 bit, it of course it overwrote the original file, So I'm wondering if maybe the 64 bit PureBasic caused some change in the source file. I don't know. I'm just grasping at straws here.