Custom Property Type

Custom Property Type

Anonymous
Not applicable
348 Views
0 Replies
Message 1 of 1

Custom Property Type

Anonymous
Not applicable

Hi,

 

Please help with the following:

 

I am reading the iproperties into a VB editor.

What I need to do is resume next iProp if the property type in 'Date'

 

 

Snippet:

 

 oDTP9 = oPropset.Item(DTP9)

  

Dim oDTP9 As [Property]

If oDTP9.Value > "" Then

True

InventorFrm.DateTimePicker9.Value = oDTP9.Value

InventorFrm.DateTimePicker9.Checked =

 

 Else : InventorFrm.DateTimePicker9.Checked = False

End If

 

 

This is reading in the date but i need to skip the property if it is already set as a type 'Date. In the custom iProps you have the option to set as Text / Date / Number / Yes or No.

something like:

If oDTP9.Type = CustomPropertyEnum.KDatePropertType Then Resume Next

 

I have tried several ways without success. Can anyone please help with this.

Regards

Simon

 

0 Likes
349 Views
0 Replies
Replies (0)