Applies To: |
|
Summary: |
One of the new version 6 libraries is called xp_controls, which resides in the Include project. If you try to use genies from this library in your own project, you will get a compile error: "FUNCTION expected" with context "Line[1]:{DspGetMouseDown}()". This is caused by three functions, DspGetMouseDown, DspIsMouseDown and DspRegisterMouseDown being defined in a cicode file "ProcessLine_Simulation.ci" which resides in the Example project. |
Solution: |
To solve the compile errors and use the
genies, copy the following code into a new cicode file (e.g.
MouseDownFunctions.ci) in your project:
// MODULE VARIABLES // Note: You may have to call DspRegisterMouseDown manually to have the button animate correctly at // runtime, however during testing here it was shown not to be necessary. |
Keywords: |
Related Links
Attachments