Showing results for 
Search instead for 
Do you mean 
Reply
Solved! Go to solution

Method to grey out the OK button in block UI styler

Is there a way to grey out the ok button in block ui styler using custom code?

 

In my UI, I ask the user to put in some data but if the data isn't valid, I don't want the user to be able to click "OK" and close the dialog.

 

 

Thanks in advance.

 

Steph 

2 REPLIES
Solution
Solution
Accepted by topic author Stephan_Spears
‎06-02-2017 12:25 PM

Re: Method to grey out the OK button in block UI styler

There is a setting of the dialog that allows to add validation of the input to enable the OK button.

 

EnableOkButton.PNG

 

 

 

Everything is there, you just need to read the Block Styler documentation or check the tabs of the styler.

Stefan Pendl, Systemmanager CAx, HAIDLMAIR GmbH
Production: NX10.0.3, VERICUT 8.0, FBM, MRL 3.1.4 | TcUA 10.1 MP7 Patch 0 (10.1.7.0) | TcVis 10.1
Development: VB.NET, Tcl/Tk    Testing: NX11.0 EAP, NX12.0 EAP

How to Get the Most from Your Signature in the Community

Re: Method to grey out the OK button in block UI styler

Thank you for the prompt response. 

 

I believe this is the solution. I have been using NX7.5 and that's why I didn't see that option.