DynProperties("Text") of a static text

DynProperties("Text") of a static text

Hello!
Is it possible to set the DynProperties("Text") of a static text element from VBA code?
I use following code:
___
Dim KomScr As DynPicture
Set KomScr = thisProject.DynPictures.Item("KOMANDA")
KomScr.Elements.Item("sig_txt").DynProperties("Text") = "TEST1"
___
"sig_txt" is the name of a ststic text element on screen "KOMANDA"
But it does not function?
What is wrang there??
Additionaly I am trying to find out how to open a screen from VBA (screen switch)??
Thanks and best regards!
Jurij.

This is a migrated post! Originally posted on 08.06.2012 by user jurijcadez. Please be aware that information can be outdated.