Copy and paste a string into a blank in a Rich Edit object.
Printable View
Copy and paste a string into a blank in a Rich Edit object.
Version2 is a bit more polished <img src="/center/images/graemlins/smile.gif" alt="" />
Hi.
Just tried this one, too and discovered a little glitch.
Every time the user clicks into the text field the (even
without dragging the fill-in-text) 'paste this in for me'
is added to the box.
Exercise for the reader <img src="/center/images/graemlins/smile.gif" alt="" />
Make these changes:
1) (line6) When the User clicks on the ordinary string, set internal flag 0 of the Static string to ON.
2) On line 12, add another condition to the Repeat while left mouse-Key is pressed event:
+ (static string) internal flag O is ON
3) To the same event on line 12, add a further action last: (Static string) Set internal flag 0 OFF.
That should fix it <img src="/center/images/graemlins/smile.gif" alt="" />
This is just a concept really. It would be great if the static string could have a truly transparent background that updated as it moved.
Multiple blanks are a hefty complication. You'd need to check the Y position of the mouse when the User releases the mouse button - and use that to calculate which blank is nearest.