04-15-2014 03:36 AM
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
04-16-2014 08:08 AM
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 |
04-16-2014 08:18 AM - edited 04-16-2014 08:28 AM
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.
04-16-2014 09:50 AM
Dear RavensFan,
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 |