i am taking the property list of PBObjects/Controls. So i need to take the property. I got the property values throug variable definition.
for ex
vd_def = cd_def.variablelist[li_i]
vd_def.name
vd_def.initialvalue // if this initial value is enumerated, then how can i get this v开发者_运维技巧alue
please help me.
Thanks in advance.
i got the answer for my question
using typedefinition object from here i'm getting the datatypeof that enumerated type(it shows the property name). and passing the any value and datatypeof that property name to a function which is like
If IsNull(aws_windowstate) Then
String ls_null
SetNull(ls_null)
Return ls_null
End If
Choose Case aws_windowstate
Case Normal!
Return "normal!"
Case Maximized!
Return "maximized!"
Case Minimized!
Return "minimized!"
case else
return "!"
End Choose
精彩评论