pgTBObjSet

Workarounds and usability notes.

pgTBObjSet

Postby John Robin Dove » Tue Nov 12, 2024 11:41 am

Hi Clifton,
I have a problem. I had seen it before in the past without realizing what caused it. pgTBObjSet will not change the text of a field if the text parameter is sent as an integer. So far as I can remember this never used to happen. I noticed it today on one of my previous programs which is supposed to display integers using pgTBObjSet. I can't believe that this just happened spontaneously. The more probable explanation is that I re-exported and uploaded it without noticing that the problem existed. My guess is that my buggy Toolbook 9.01 is to blame. You could confirm this by writing a similar test app using your Toolbook 9.01.

I have put a test app. here https://www.mediacours.com/tb_examples/setText.zip

Thanks for your time.
John
John Robin Dove
 
Posts: 538
Joined: Thu Jan 23, 2014 4:35 am

Re: pgTBObjSet

Postby Clifton » Tue Nov 12, 2024 12:30 pm

Thank you for reporting this!

This appears to a bug introduced in v15.530.1.

I will post an update shortly.

In the meantime, you can use:
pgTBObjSet( [name], "htmlText", [num] );

Thanks again.
Clifton
Site Admin
 
Posts: 781
Joined: Tue Jan 14, 2014 1:04 am

Re: pgTBObjSet

Postby Clifton » Tue Nov 12, 2024 12:51 pm

An updated bug fix version v15.541.3 has been uploaded.
Clifton
Site Admin
 
Posts: 781
Joined: Tue Jan 14, 2014 1:04 am

Re: pgTBObjSet

Postby John Robin Dove » Wed Nov 13, 2024 7:19 am

Thanks Clifton,
I have installed 15.542.0 and I will re-export anything I made after July 4th 2024.
John
John Robin Dove
 
Posts: 538
Joined: Thu Jan 23, 2014 4:35 am


Return to General Discussion

Who is online

Users browsing this forum: No registered users and 1 guest

cron