This article applies to:
E-Prime 3.0
Symptoms
SlideButtons, SlideChoice, or SlideSlider sub-objects disappear or do not display correctly whenever .Draw is called on a Slide or Slide sub-object.
Workaround
Instead of using .Draw on a Slide or sub-object, try using a SlideButton sub-object instead.
For example, you want to display text on a Slide that contains SlideButtons. The text states "Press any button to continue" and appears after 5000 milliseconds has elapsed. Instead of calling .Draw on a SlideText that contains the text, use a SlideButton to display the text. In E-Basic, it appears as the following if the Slide is named "mySlide" and the SlideButton is named "myButton":
'Declare and set the button
Dim theSlideButton As SlideButton
Set theSlideButton = CSlideButton(mySlide.ActiveObjects("myButton"))
'Wait for 5000 ms
Sleep 5000
'Change the text
theSlideButton.Theme.Normal.Text = "Press any button to continue"
A SlideButton can be configured in a similar manner to Slides, SlideTexts, and SlideImages (e.g., Researchers can manipulate similar properties such as Frame, Text, and BackColor, etc.). The advantage of using a SlideButton sub-object is that they do not need to explicitly call .Draw in order to have their appearance change at runtime even while the Slide they are on is still executing.
See Also:
RELEASE INFO: Known Issues in E-Prime 3.0 Update 2 (3.0.3.80) [27789]
Comments
0 comments
Please sign in to leave a comment.