Skip to Content
0
Former Member
May 07, 2008 at 03:18 PM

FontSize property returns -1

17 Views

I'm trying to retreive the FontSize property from a form item. But it returns a -1.

I have tried:

>ReadOnly Property FormItemFontSize() As Integer

>

> Get

>

> oForm = oSboApp.Forms.Item(FormUID_PropVal)

> oFormItem = oForm.Items.Item(ItemUID_PropVal)

> Return oFormItem.FontSize

>

> End Get

>

>End Property

...and:

> intB1FontSize = oSboApp.Forms.Item(FormUID).Items.Item("230").FontSize