2009-08-10 09:47 UTC
Hello, I'm new to openDCL.
My question is:
I made a textbox in openDCL.
When I wanted to retrieve the user input (see below statement) somthing strange happend.
(setq fabricwidth (dcl_TextBox_GetLine TreeView_Main_TxtBox1 0))
If I have a user input of 2 digits or more it works fine. => input "1234" retrieved value fabricwidht "1234"
If theire is only 1 digit user input. this happens. => input "1" retrieved value fabricwidht ""
Can anybody tell me how I can get a textbox to accept a single digit input??
Best regards,
Martijn
My question is:
I made a textbox in openDCL.
When I wanted to retrieve the user input (see below statement) somthing strange happend.
(setq fabricwidth (dcl_TextBox_GetLine TreeView_Main_TxtBox1 0))
If I have a user input of 2 digits or more it works fine. => input "1234" retrieved value fabricwidht "1234"
If theire is only 1 digit user input. this happens. => input "1" retrieved value fabricwidht ""
Can anybody tell me how I can get a textbox to accept a single digit input??
Best regards,
Martijn