Discussions related to Visual Prolog
Harrison Pratt
VIP Member
Posts: 443
Joined: 5 Nov 2000 0:01

Listbox control - setting specific tab columns in a 64 bit application

Unread post by Harrison Pratt »

I have a 64 bit VIP 9x application in which I cannot set custom tab stops in a dialog listbox control.
The listbox uses the default tab stops, no matter how I set the custom tab stops.

So, I created a tiny test application and found that custom tab stops work when compiled to a 32 bit application, but NOT when compiled to a 64 bit application with VIP 9x -- I haven't tested 10x yet.

64 BIT Dialog
Screenshot 2023-10-04 102150 64 BIT.png
Screenshot 2023-10-04 102150 64 BIT.png (4.78 KiB) Viewed 199729 times
32 BIT Dialog
Screenshot 2023-10-04 102053 32 BIT.png
Screenshot 2023-10-04 102053 32 BIT.png (5.02 KiB) Viewed 199729 times
User avatar
Thomas Linder Puls
VIP Member
Posts: 1401
Joined: 28 Feb 2000 0:01

Re: Listbox control - setting specific tab columns in a 64 bit application

Unread post by Thomas Linder Puls »

Perhaps you could zip and attach the project (without exe(64) and obj(64) directories).
Regards Thomas Linder Puls
PDC
Harrison Pratt
VIP Member
Posts: 443
Joined: 5 Nov 2000 0:01

Re: Listbox control - setting specific tab columns in a 64 bit application

Unread post by Harrison Pratt »

Test project is attached.
Press F8 to open the dialog, as usual.

Unravelling that glitch was breaking my brain for a while. :?
Attachments
lboxTEST.zip
(25.23 KiB) Downloaded 1710 times
User avatar
Thomas Linder Puls
VIP Member
Posts: 1401
Joined: 28 Feb 2000 0:01

Re: Listbox control - setting specific tab columns in a 64 bit application

Unread post by Thomas Linder Puls »

I think it may be caused by a violation of some restrictions on the run stack. If that is indeed the case then it is caused by some kind of code generation bug. We will of course investigate it further.
Regards Thomas Linder Puls
PDC
Post Reply