|
ED
|
avaliable
|
RT
|
not used
|
Sets the 'UserProperty' strings for Remas/Limits.
'insert UserProperties when project is loaded in the editor. Private Sub ZenWorkspace_OnProjectLoaded(ByVal obProject As IProject) Dim arrProps(4) As String Dim arrTexts As Variant 'insert UserPropertyStrings for Remas/Limits Stop arrProps(0) = "Property 1" arrProps(1) = "Property 2" arrProps(2) = "Property 3" arrProps(3) = "Property 4" arrProps(4) = "Property 5" arrTexts = arrProps 'insert texts into "UserProperty1" Call obProject.SetUserPropertyStrings("UserProperty1", arrTexts) 'insert texts into "UserProperty2" Call obProject.SetUserPropertyStrings("UserProperty2", arrTexts) End Sub Sub ReadUserProps() 'returns the UserProperty1 as string from the specific limit Debug.Print thisProject.Variables.Item("WIZ_VAR_10").Limits.Item(0).DynProperties("UserProperty1") 'it works also with remas... End Sub