Page 1 of 1

pgTBObjSet

PostPosted: Tue Nov 12, 2024 11:41 am
by John Robin Dove
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

Re: pgTBObjSet

PostPosted: Tue Nov 12, 2024 12:30 pm
by Clifton
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.

Re: pgTBObjSet

PostPosted: Tue Nov 12, 2024 12:51 pm
by Clifton
An updated bug fix version v15.541.3 has been uploaded.

Re: pgTBObjSet

PostPosted: Wed Nov 13, 2024 7:19 am
by John Robin Dove
Thanks Clifton,
I have installed 15.542.0 and I will re-export anything I made after July 4th 2024.
John