07-25-2023 10:44 AM
Just built this VI that seems to work fine but I wanted to reduce the image size to 25x25 and not show the button. I didn't create a ctl per se. My theory is that I just dragged an image on top of button and somehow they merged. The version I showed below also works fine, i.e. when you select the school icon it open the school website in the default browser window.
07-25-2023 12:03 PM
You need to Right click on the button then select Make Type Def.
Then OPEN TYPE DEF. It will allow you to edit the button, Click on the TOOL on the Top left
Copy the image to the Clipboard
Then hover over the button and right click and select IMPORT FROM CLIPBARD,
click from TRUE AND FROM FALSE.
Save it as *.clt file then you can use it on your code.
07-25-2023 12:04 PM
here is an example of what could look like.
07-25-2023 03:01 PM
I don't think I explained myself very well the Link.vi and the link on the other VI work fine. However, I wanted to shrink the image to 25x25 vs 50x50. Originally, I didn't use the way you suggested. Using the Links.vi I reduce the button sizes to 21x21 and everything still works fine. If I reorder the images to the background they still maintain the same functionality but I cannot delete the buttons. The I used your suggestions and just replace the images with 25x25 images and it looks like it is working. If I save the ctl would I needed to include it when you build an executable?
Thanks
07-26-2023 05:10 AM
You don't need to explicitly add .ctrl files in the Application builder properties ( However it is good practice to maintain the proper folder structure to keep the .ctrl files along the folder structure of your Source files.