Hey petroz,
Maybe if you explained on what your trying to accomplish we can be of more help.
Dan
Can anyone help a newcomer to UCCNC? Is there a way to get text box input from a macro using C# or is this not possible? Thank you.
Similar Threads:
Hey petroz,
Maybe if you explained on what your trying to accomplish we can be of more help.
Dan
The easiest is to use the built-in functions, copy from the documentation:
Function: string TextQuestion(string Questiontext)
Description: This function shows a Question form waiting for a string as the answer. The text of the question shown on the Form is the parameter.
Example: string val = exec.TextQuestion("Stop code execution?");
Function: double Question(string Questiontext)
Description: This function shows a Question form waiting for a double value as the answer. The text of the question shown on the Form is the parameter.
Example: double val = exec.Question("What X position to move?");
but you can also make your own forms if you want.
Thanks
the example is what I needed.