{"id":505,"date":"2005-03-04T01:18:09","date_gmt":"2005-03-03T23:18:09","guid":{"rendered":"http:\/\/10.0.0.2\/wordpress\/?p=505"},"modified":"2005-03-04T01:18:09","modified_gmt":"2005-03-03T23:18:09","slug":"trareedit_class_tedit_part_2","status":"publish","type":"post","link":"https:\/\/www.switchbl8.nl\/blog\/2005\/03\/trareedit_class_tedit_part_2\/","title":{"rendered":"TRaReEdit = class(TEdit) &#8211; part 2"},"content":{"rendered":"<p>My TRaReEdit now has an OnPaste and an AfterPaste event. To check that they fire at different moments, you could put a ShowMessage in both of them, showing the Text-property in a ShowMessage.<\/p>\n<p>With that in place, I can create the procedure to split the image-URL into base-URL, base-filename, starting picture number and image-type (not handled yet, but needs to be in place to handle different filetypes, like .png, .tiff, etc).<\/p>\n","protected":false},"excerpt":{"rendered":"<p>My TRaReEdit now has an OnPaste and an AfterPaste event. To check that they fire at different moments, you could put a ShowMessage in both of them, showing the Text-property in a ShowMessage. With that in place, I can create the procedure to split the image-URL into base-URL, base-filename, starting picture number and image-type (not <a href='https:\/\/www.switchbl8.nl\/blog\/2005\/03\/trareedit_class_tedit_part_2\/' class='excerpt-more'>[&#8230;]<\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[41,8],"tags":[],"class_list":["post-505","post","type-post","status-publish","format-standard","hentry","category-delphi","category-development","category-41-id","category-8-id","post-seq-1","post-parity-odd","meta-position-corners","fix"],"_links":{"self":[{"href":"https:\/\/www.switchbl8.nl\/blog\/wp-json\/wp\/v2\/posts\/505","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.switchbl8.nl\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.switchbl8.nl\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.switchbl8.nl\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.switchbl8.nl\/blog\/wp-json\/wp\/v2\/comments?post=505"}],"version-history":[{"count":0,"href":"https:\/\/www.switchbl8.nl\/blog\/wp-json\/wp\/v2\/posts\/505\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.switchbl8.nl\/blog\/wp-json\/wp\/v2\/media?parent=505"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.switchbl8.nl\/blog\/wp-json\/wp\/v2\/categories?post=505"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.switchbl8.nl\/blog\/wp-json\/wp\/v2\/tags?post=505"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}