LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

Code buider - Generate Control Callback is disabled

Solved!
Go to solution

Hi,

 

Can any one say, Why Generate Control Callback is disabled ?

 

GenerateCtrlCallbak.PNG

 

 

Thank you

AD

 

 

Adarsh
CLA - Certified LabVIEW

Architect
https://www.youracclaim.com/badges/4871da75-1b8b-422a-a881-9ab206d2d36d/public_url
0 Kudos
Message 1 of 5
(3,661 Views)

Normally it happens when you have not specified a callback for the control:

 

callback3.PNG



Proud to use LW/CVI from 3.1 on.

My contributions to the Developer Community
________________________________________
If I have helped you, why not giving me a kudos?
0 Kudos
Message 2 of 5
(3,657 Views)

Hi,

 

all I can add is that the entry 'Generate Control Callback' is dimmed if more than one control has been selected. Sometimes this happens by accident...

0 Kudos
Message 3 of 5
(3,656 Views)

I have selected default events. EVENT_COMMIT, EVENT_RIGHT_CLICK

Adarsh
CLA - Certified LabVIEW

Architect
https://www.youracclaim.com/badges/4871da75-1b8b-422a-a881-9ab206d2d36d/public_url
0 Kudos
Message 4 of 5
(3,650 Views)
Solution
Accepted by topic author Adarsh

This is done in Code >> Preferences >> Default Events... menu function, but the editor does not automatically create control callbacks: you must manually set the callback for each and only the controls you want a function assigned to; this is done in the properties panels for each control.



Proud to use LW/CVI from 3.1 on.

My contributions to the Developer Community
________________________________________
If I have helped you, why not giving me a kudos?
Message 5 of 5
(3,647 Views)