Hi  David,<br><br>Thanks for the reply. The problem is that I want a generic bit of code that will read a couple of easily edited integer variables to determine how many text objects I need and to then work out how to position them (I want to create a grid of varying size and then capture which grid square the user clicks in) so I need a way to create slidetext objects at runtime and then to associate them with a particular slide.<br><br>Any more thoughts?<br><br>Many thanks,<br><br>John<br><br>On Wednesday, December 19, 2012 3:23:31 PM UTC, McFarlane, David wrote:<blockquote class="gmail_quote" style="margin: 0;margin-left: 0.8ex;border-left: 1px #ccc solid;padding-left: 1ex;">Hmm, it just occurs to me, why not just add new text to existing 
<br>SlideText sub-objects instead of adding entirely new SlideText 
<br>sub-objects at run time?  Start by adding SlideText objects as 
<br>placeholders into your Slide, and into each one put an attribute 
<br>reference, e.g., [Text1], [Text2], ...  Define those attributes 
<br>before running your Slide, with empty text if you do not want any 
<br>text.  Then just assign new values to the attributes as needed, and 
<br>rerun or redraw the Slide to have the new text appear.
<br>
<br>-- David McFarlane
<br>
<br>
<br>At 12/19/2012 10:07 AM Wednesday, JACanterbury wrote:
<br>>Hi Tobias,
<br>>
<br>>I'm looking to do the same thing (ie add new text objects to an 
<br>>existing slide at runtime)
<br>>
<br>>Did you work out how to do it? If so, could you post a code snippet 
<br>>to show how?
<br>>
<br>>many thanks,
<br>>
<br>>john
<br>>
<br>>On Thursday, 12 July 2012 14:45:56 UTC+1, Tobias wrote:
<br>>Hi,
<br>>
<br>>I want to run a slide called "SearchSlide".
<br>>Within a trial, I want to add a textdisplay.
<br>>
<br>>I tried:
<br>>
<br>>set SearchContext
<br>>set textACC = New TextDisplay
<br>>
<br>>textACC.X = "50%"
<br>>textACC.Y = "2%"
<br>>textACC.Width = "34%"
<br>>textACC.Height = "3%"
<br>>textACC.FontSize = "16"
<br>>textACC.FontName = "Arial"
<br>>textACC.backcolor = "128,128,128"
<br>>textACC.text = "correct"
<br>>
<br>>however the "set" command needs an "=". How can I refer to an 
<br>>already existing slide?
<br>>
<br>>Thanks,
<br>>Tobias
<br>
<br></blockquote>

<p></p>

-- <br />
You received this message because you are subscribed to the Google Groups "E-Prime" group.<br />
To post to this group, send email to e-prime@googlegroups.com.<br />
To unsubscribe from this group, send email to e-prime+unsubscribe@googlegroups.com.<br />
To view this discussion on the web visit <a href="https://groups.google.com/d/msg/e-prime/-/D1LWSwUyO-wJ">https://groups.google.com/d/msg/e-prime/-/D1LWSwUyO-wJ</a>.<br />
For more options, visit <a href="https://groups.google.com/groups/opt_out">https://groups.google.com/groups/opt_out</a>.<br />
 <br />
 <br />