09-19-2011 07:28 AM
When a panel has the option "Use Windows Visual Style for Controls" enabled, a Check Box control can't be resized.
I mean that I can set its size through "Edit Check Box" or "Control Coordinates and Dimensions" (SHIFT+F10) window, but the size of the check box doesn't change (see attached)
Is this an expected behavior?
The size of Square Radio Button can be easily changed.
09-19-2011 12:00 PM
Vix,
Unfortunately, Windows does not allow you to resize checkboxes. This is a common problem for many Windows developers and the workaround is typically to create your own checkbox. The good news is that since CVI has it's own version of the checkbox for non Window's styled controls. Use the Disable Panel Theme attribute of the checkbox control to disconnect it from the Windows visual style and use the CVI version.
11-28-2018 12:10 PM
@D_Biel wrote:
The good news is that since CVI has it's own version of the checkbox for non Window's styled controls. Use the Disable Panel Theme attribute of the checkbox control to disconnect it from the Windows visual style and use the CVI version.
Returning to this issue 8 years later, I can't find Disable Panel Theme among the property nodes or the Properties page of the checkbox. How would I do it? Does this ability still exist?
11-29-2018 06:13 AM - edited 11-29-2018 06:13 AM
"Property node" sounds like you are programming in LabVIEW, while in this board we are discussing on LabWindows/CVI controls. Since I see that you usually post in the LV board, it seems today you have landed to the wrong one