Rich text control

Discussion forum about all things Team Developer 5.x and 6.x
User avatar
keuer4711
Germany
Posts: 69
Joined: 23 Mar 2017, 08:34
Location: Elze, Germany

Rich text control

Post by keuer4711 » 27 Jul 2017, 08:25

Hello everyone,

we use for the first time the Rich text control.

- after entering text SAM_Validate is being fired, fine.
- after Pasteing in text, SAM_RTFFileModified is being fired, fine.
- but after loading a document with the yellow toolbar button apparently nothing is being fired.

Of course i need a message to decide wether to save the changed content.
Does anybody have an advoce for me? Thanks in advance.
Michael Keuer
moveta r.V.k.V.
http://www.moveta.de

Dave Rabelink
Founder/Site Admin
Founder/Site Admin
Netherlands
Posts: 3439
Joined: 24 Feb 2017, 09:12
Location: Gouda, The Netherlands

Re: Rich text control

Post by Dave Rabelink » 10 Aug 2017, 06:08

Hi Michael,

Try coding On SAM_AnyEdit under the Rich text control.
I tried in TD 7.0.2 and when opening a file from disk using the toolbar button it is fired.
(SAM_RTFFileModified is not fired).

Please try using the TD version you use.
Regards,
Dave Rabelink

Image
Articles and information on Team Developer Tips & Tricks Wiki
Download samples, documents and resources from TD Sample Vault
Videos on TDWiki YouTube Channel

User avatar
keuer4711
Germany
Posts: 69
Joined: 23 Mar 2017, 08:34
Location: Elze, Germany

Re: Rich text control

Post by keuer4711 » 10 Aug 2017, 07:03

Hi Dave,

Thanks for your help. It works!
Michael Keuer
moveta r.V.k.V.
http://www.moveta.de

Return to “General Discussion TD 5.x and 6.x”

Who is online

Users browsing this forum: [Ccbot] and 0 guests