Cancel
Showing results for 
Search instead for 
Did you mean: 

String Block Text change event

Valued Contributor
Valued Contributor

Hello All,

 

Is there any posibility to change value of one string block of NXBlockStyler run time which is associated with other string block value like how we do it in windows form?

 

Thanks in advance.

 

 

2 REPLIES

Re: String Block Text change event

Phenom
Phenom

Are you hoping you that for each key press in the first String Block you can update the content of a second String Block? Unfortunately that is not possible.

The only callback for String Blocks is when the entire change of the string is completed (i.e. pressing Enter or changing focus away from the String Block). Of course when this callback is executed, yes you can update another String Block with whatever value you'd like, you just can't do it on a per-character basis.

Graham Inchley Snr R&D Engineer (Systems Development), Sandvik Coromant
Lenovo ThinkPad W540, Win7, 16GB. Developing in: Java | C | KF
Production: NX8.5.3.3 MP11 64bit Testing: NX9.0.2.5

Re: String Block Text change event

Valued Contributor
Valued Contributor

Thanks @Inch. I was carrying false hope for that. Thanks for the info.