04-08-2021 05:08 AM - edited 04-08-2021 05:11 AM
@drjdpowell wrote:
Note: it seems by making an array of clusters containing a string and three buttons, you can paste in the entire Scale Legend structure at once.
I got some weird behavior when doing this.
LV did replace the array with my array, but the moving Booleans moved them out of the cluster.
LV crashed right after that.
EDIT: Only when moving it by mouse. Even if you move them within the cluster, it's moved outside the cluster. Moving it by cursor works.
04-08-2021 05:33 AM - edited 04-08-2021 05:34 AM
I clicked Customise (right click) on the graph itself and then it opens the graph in the control editor. Within the control editor you can select the scale legend separately (i think in edit mode), then I clicked Edit -->> Customise Control again from the menu and this is what I get: Just the scale legend control without the X/Y and X.XX/Y/YY icons applied.
04-08-2021 05:42 AM
@Arrowin wrote:
I clicked Customise (right click) on the graph itself and then it opens the graph in the control editor. Within the control editor you can select the scale legend separately (i think in edit mode), then I clicked Edit -->> Customise Control again from the menu and this is what I get: Just the scale legend control without the X/Y and X.XX/Y/YY icons applied.
You can customize the array element. Tried that before and failed, but I probably missed it.
It makes sense that the decals are not added, because the graph's routines are not active there.
I don't think it will do you much good, as the end result is the same as replacing the cluster or boolean. Once it's replaced in the graph's scale legend, the graph's routines become active again.
04-08-2021 05:56 AM
@Arrowin wrote:
I clicked Customise (right click) on the graph itself and then it opens the graph in the control editor. Within the control editor you can select the scale legend separately (i think in edit mode), then I clicked Edit -->> Customise Control again from the menu and this is what I get: Just the scale legend control without the X/Y and X.XX/Y/YY icons applied.
I don't have that option; does anyone know why I wouldnt?
04-08-2021 06:10 AM - edited 04-08-2021 06:12 AM
@drjdpowell wrote:
@Arrowin wrote:
I clicked Customise (right click) on the graph itself and then it opens the graph in the control editor. Within the control editor you can select the scale legend separately (i think in edit mode), then I clicked Edit -->> Customise Control again from the menu and this is what I get: Just the scale legend control without the X/Y and X.XX/Y/YY icons applied.
I don't have that option; does anyone know why I wouldnt?
1) you have to click (select) the cluster (the array element, not the array)
2) use the Edit>Customize Control..., not the right click.
04-08-2021 07:09 AM
wiebe@CARYA wrote:
2) use the Edit>Customize Control..., not the right click.
That damn right-click menu, with its greyed out "Customize.." item, has been lying to me for years!
04-08-2021 07:37 AM - edited 04-08-2021 07:42 AM
I just noticed when the boolean control has a width or height that is smaller than 14 pixels, the X/Y icon will not be drawn on top of the button. So it is of course possible to change the button by a customised one but you'll have to make sure the size doesn't exceed 14 pixels in both height AND width. If it is bigger, then the routine kicks in and draws the icons on top of them.
For the X.XX/Y.YY icon, the size is a different up to 18 pixels in width and 13 pixels in height, so go below that in either width or height and the icon will not be drawn for the second boolean.
04-08-2021 08:45 AM
wiebe@CARYA wrote:
@drjdpowell wrote:
Note: it seems by making an array of clusters containing a string and three buttons, you can paste in the entire Scale Legend structure at once.
I got some weird behavior when doing this.
LV did replace the array with my array, but the moving Booleans moved them out of the cluster.
LV crashed right after that.
EDIT: Only when moving it by mouse. Even if you move them within the cluster, it's moved outside the cluster. Moving it by cursor works.
Yeah, this is seems to be a special cluster in a special array, that prevents removing the controls. Swapping out either Cluster or Array means this crash can happen.
04-08-2021 11:18 AM
I went into this and tried a few things. I did find a way to do what you are looking to do. Fist open the control in advanced --> Customize. Click on the control then go to the edit menu item and select:
This will bring up the The graph control in a different window. It should look like this:
Now click on the button you want to change and do the same thing you did above:
It should look like this:
Now you can replace the pictures that are default with the ones that you want to use:
Like this:
Use the import from file options. Switch to the other image and replace it again. Now save and replace and you have your custom control.
04-08-2021 11:24 AM
I was able to get this to work: