Bug 7758

Datawindow object pointer custom image not allowing valid cursor files 12 January, 2022

Mark Jones
07 January, 2022
Product: PowerBuilder Category: DataWindow
Version: 2021 Build: 1288
Classification: Appeon bug Publishing: Public
Priority: P3
Status: Scheduling Reason:
David Xiong @Appeon 10 January, 2022
Hi Mark,

Thanks for reporting this problem! We reproduced it on our end and will do further research to figure it out. We will keep you posted about the progress.

Chris Pollach @Appeon 07 January, 2022
Hi Mark;

   I was able to recreate your .CUR issue in my PB2021 build 1311.

   I was also able to reproduce this issue in PB2019 R3 build 2728.

   However, I was *not* able to reproduce this issue in PB 2017 Rx, PB2019 or PB2019R2. The .CUR was mapped OK and ran OK.

   I will now transfer this ticket over to the Engineering team as a product bug.

Regards ... Chris
Mark Jones 07 January, 2022
point_cur_issue.zip (99KB)

In the PB IDE , selecting a valid cursor file called "c:\clindev\bmp\point.cur" as a pointer for a datawindow button generates an error "Please specify a valid image file".    If the same file that is considered invalid is specified as an expression for the pointer then it displays correctly (this is the workaround).

*Reproduce Steps:
Add a picture button to a datawindow (or probably any object).   Click the Pointer properties tab, click the [...] icon to open the pointer dialog and select "Use a custom image".   Browse to a valid cursor file.  Select the file and click OK on the Pointer properties tab.   The error "Please specify a valid image file" is given.   To verify I used a different cursor file and got the same error.

Something is weird here, I am not sure if it is related to whether the cursor has already been loaded by the application. I am using 32x32 cursor
Windows 10
Database Type:
SAP SQL Anywhere
Database Version: