cancel
Showing results for 
Search instead for 
Did you mean: 

XControl Method - deprecate

paul_cardinale
Trusted Enthusiast

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."
6 REPLIES 6
mikeporter
Proven Zealot

Re: XControl Method - deprecate

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.
Norbert_B
Proven Zealot

Re: XControl Method - deprecate

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.
paul_cardinale
Trusted Enthusiast

Re: XControl Method - deprecate

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."
Highlighted
Norbert_B
Proven Zealot

Re: XControl Method - deprecate


@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.
paul_cardinale
Trusted Enthusiast

Re: XControl Method - deprecate

Message contains an image

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."
Hooovahh
Proven Zealot

Re: XControl Method - deprecate

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.