I have a need for an array of checkboxes with a precisely customized element spacing (the default element gaps are too small) so I created a strict type def customized checkbox with enlarged bounds called ZVMS Enlarged Checkbox.ctl. (The classic checkbox appears unchanged but the surrounding boundary is enlarged.) Then I created a strict type def custom 1D array called ZVMS Checkbox Array with elements of type ZVMS Enlarged Checkbox. When I place a ZVMS Checkbox Array control in a vi, it initially has the proper appearance and the ArrElem.Bounds property returns the custom bounds of width=17, and height=21. But after closing and reopening the vi, the ArrElem.Bounds are reset to default classic checkbox bounds of width=13 and height=13 and the appearance matches (at least it does after the window is refreshed).
If I reopen the ZVMS Checkbox Array.ctl type def and resize the array twice to enable Apply Changes, I can restore the proper element bounds in the instantiated control in my vi but only temporarily, i.e. until it is reopened again after being resaved.
Since the ArrElem.Bounds property is not even a writeable property, I can't even fix this problem programatically.
Is there a procedure for maintaining the bounds of a custom array element in a type def control?
Thanks!
Larry