LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

LVFontTypeDef.ctl "Size" has other datatype than size of property size

Hi,

 

the Datatype of the property size of an control (for example caption --> size) has an other datatype than the size in the used LVFontTypeDef.ctl.

 

Here we have a difference between u16 --> datatype of size of LVFontTypeDef.ctl and the property size of caption or label or anything else --> u32

 

Whats the correct one? Hope its u16.

 

regards,

 

Daniel

Download All
0 Kudos
Message 1 of 4
(2,509 Views)

Dear Daniel,

 

I didn't get your problem.

 

Where are this Controls from and who created the TypDef?

 

And what is exaclty your problem, why are you trying to do?

 

 

Kind Regards,

Oleg, M.Eng | Applications Engineering | National Instruments | NIG |

0 Kudos
Message 2 of 4
(2,461 Views)

Does it matter?  Whether it is a U16 or a U32, the largest possible number is still way larger than any reasonable font size you'll ever use.

 

From where did you get the context help that shows font size as a U32?

 

Okay, I see where the other Font.Size came from.  It seems like the Font Size is sized as a U16 when it is a part of the Caption.Font cluster, but becomes a U32 when it is Caption.Font.Size as a property node.

 

It seems like a very inconsistent definition of that property and probably should be flagged for investigation by NI.

 

This image should give a clearer picture.

 

0 Kudos
Message 3 of 4
(2,459 Views)

Dear ,

 

Thank you for figuring out the issue.

 

I created a CAR #465975 for this issue which will be forwarded to R&D.

 

 

 

Kind Regards,

Oleg, M.Eng | Applications Engineering | National Instruments | NIG |

0 Kudos
Message 4 of 4
(2,447 Views)