12-12-2012 08:53 AM
Hi!
I have a VI where controls are grouped inside decoration and position of the control is determined by .settings file. Problem is i want to and another control on the front pannel inside the decoration on following position
Left = -1708
Top = -1764
Area Height = 17
Area Width = 123
Caption.Left = -1708
Caption.Top = -1764
Caption.Height = 17
Caption.Width = 109
But the control always stays at postion (0,0)
I believe i am not able to link the control so that the setting file recognise the control . I am using LV 11.
12-12-2012 11:41 AM
Attach your VI. I'm sure you'll be able to do it if you have the right reference to either your control or your decoration.
The numbers of ~-1700 for the top and left are kind of far off from what I'd expect. I'd recommend moving your front panel so that its items are closer to the origin of 0,0. The best scenario is to design your FP so that 0,0 is to the top left of your window. It won't hurt things if you don't, but since you are trying to pay attention to control positions within your code, it makes sense to design your front panel so that things are in a standardized position.