LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

XControl Method - deprecate

Is there a way to deprecate a method in an XControl?

"If you weren't supposed to push it, it wouldn't be a button."
0 Kudos
Message 1 of 7
(3,194 Views)
Only if you can access the control's source code.

Mike...

Certified Professional Instructor
Certified LabVIEW Architect
LabVIEW Champion

"... after all, He's not a tame lion..."

For help with grief and grieving.
0 Kudos
Message 2 of 7
(3,141 Views)

Mike,

 

i think that Paul is asking if it is possible to mark a method of an XControl, which is available as invoke node, as deprecated (dark red/brown color) in the invoke node itself.

Is my assumption correct, Paul?

 

Norbert

Norbert
----------------------------------------------------------------------------------------------------
CEO: What exactly is stopping us from doing this?
Expert: Geometry
Marketing Manager: Just ignore it.
0 Kudos
Message 3 of 7
(3,133 Views)

Yes.  I have the source code; I want 2 of the old methods to show up in pink.

"If you weren't supposed to push it, it wouldn't be a button."
0 Kudos
Message 4 of 7
(3,114 Views)

@paul_cardinale wrote:

[...]; I want 2 of the old methods to show up in pink.


If you talk about the VI icon itself, you can modify it. For the invoke node: I don't think that you can modify the color it uses....

 

Norbert

Norbert
----------------------------------------------------------------------------------------------------
CEO: What exactly is stopping us from doing this?
Expert: Geometry
Marketing Manager: Just ignore it.
0 Kudos
Message 5 of 7
(3,111 Views)

Invoke nodes do have flags, but I haven't found a way to set them.  I tried guessing some items to insert into the .xctl file, but nothing worked.Invoke Flags.png

"If you weren't supposed to push it, it wouldn't be a button."
0 Kudos
Message 6 of 7
(3,031 Views)

I've never needed this functionality, but I can see why it might be useful.  I'd suggest posting this idea on the idea exchange so other users can vote on it.

0 Kudos
Message 7 of 7
(3,022 Views)