Message 1 of 1
Custom Property Type

Not applicable
07-30-2010
08:32 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
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