PDA

View Full Version : BasicFR Advanced Functions


Cliff King
11-13-2007, 07:02 PM
The current documentation for the Advanced Functions trigger for a BasicFR is limited, so I'm guessing not too many users take advantage of all it can do. By using the Advanced Functions trigger, you can customize what happens when the BasicFR object:

is queried for it's classtype
a port connection is made to or from it
is clicked, double-clicked, or right-clicked
is clicked, double-clicked, or right-clicked while a key is held downThis flexibility allows you to create some pretty fancy interface options for the BasicFR. One idea would be to use the BasicFR as a container and define your own connection schemes for when a drag connection is made to/from it.

I've attached a pdf file which has code that can be pasted into the Advanced Functions trigger of a BasicFR. I've shown all four cases that the trigger is designed to fire on. My code doesn't have the cases do anything more than print out information to the Output Console to educate you on the functionality of each case. Hopefully I've documented the code well enough for you to understand what it does. If not, please ask your questions and I will do my best to answer them.