PDA

View Full Version : Event for change to textframe



crossharu
11-12-2017, 12:27 PM
Hi,

I am attempting to write an add-in to allow textboxes to be linked across slides so that text will flow naturally between them. Unfortunately I am struggling to find a suitable event to trigger the code - what I am looking for is an event triggered when a textframe of a shape which is selected is edited. The code would then test for overflow and move any excess text to the next box.

The best I have found so far is the event for changing your selection - this could be used to assess any textbox overflow once typing has finished and the selection is changed but this would make it difficult and prevent real-time adjustment.

Does anyone have any ideas that might work?

Thanks a lot!

John Wilson
11-13-2017, 03:24 AM
The WindowSelectionChange Event should fire every time a textframe is changed (not just when it is first selected.)

crossharu
11-13-2017, 03:46 AM
Thanks John - I'll give that a go.