Hello,
I have inherited a PowerBuilder application. Apologies and condolences accepted. lol. It was migrated from PB12.6 to PB2017 recently.
I am working on a screen that uses an RTE control. I am trying to detect whether or not the RTE contents has changed. When I am testing, for some reason unknown to me, the Modified indicator is falsely indicating that the RTE contents changed even though I did nothing to change them.
I noticed that the existing code uses rte_1.copyRTF() and rte_1.PasteRTF() to initialize the RTE with data from the DW and to write it back before a save. I am guessing that this might be what is setting the modified flag.
Does anybody have any good examples of how to detect when the contents of an RTE truly has changed?
Thanks
Bill
My development machine is off-line right now, otherwise I would upload a screen shot.
I have an RTE sitting on a screen object.
When I am viewing other object event code in PB and then select the RTE control from the PB IDE screen object dropdown, Modified is not in the list of events. Do I need to add it? I will try to get a screen shot next week.
thanks