Create Button? Modify X Y coordinates of a button?
jgreer9514
Junior Member
I have a requirement on a Vista Systems Spyder to keep the panel preview in sync with the output. Meaning I need transparent buttons where the workstation displays will be. Upon selecting the display (transparent button) I will popup a list of inputs to select. I will have to count how many layers, figure out the x / y, perform offset and create transparent buttons on the page. I'm trying to do this dynamically so the presets can change and the panels files don't have to be updated.
So you cannot modify an X / Y coordinate of a button. I'm told you can create a new button programmatically and specify the X / Y coordinates? Non documented api call?
I don't think it can be done at this point.
So you cannot modify an X / Y coordinate of a button. I'm told you can create a new button programmatically and specify the X / Y coordinates? Non documented api call?
I don't think it can be done at this point.
Comments
-
You can not create a button from nothing, but you can change x, y, width, height of existing buttons.
http://amxforums.com/showpost.php?p=41455&postcount=20 -
You could just put a joystick button over the entire display image and then use the coordinates touched to do what you need.
Jeff -
You can also show and hide buttons with either ^BMF or ^SHO. So, you can make buttons appear and disappear and you can position them and you can change just about any attribute with ^BMF.
Categories
- All Categories
- 2.5K AMX General Discussion
- 922 AMX Technical Discussion
- 514 AMX Hardware
- 502 AMX Control Products
- 3 AMX Video Distribution Products
- 9 AMX Networked AV (SVSI) Products
- AMX Workspace & Collaboration Products
- 3.4K AMX Software
- 151 AMX Resource Management Suite Software
- 386 AMX Design Tools
- 2.4K NetLinx Studio
- 135 Duet/Cafe Duet
- 248 NetLinx Modules & Duet Modules
- 57 AMX RPM Forum
- 228 MODPEDIA - The Public Repository of Modules for Everyone
- 943 AMX Specialty Forums
- 2.6K AMXForums Archive
- 2.6K AMXForums Archive Threads
- 1.5K AMX Hardware
- 432 AMX Applications and Solutions
- 249 Residential Forum
- 182 Tips and Tricks
- 146 AMX Website/Forums