OpenDCL Forums

OpenDCL => Runtime/AutoLISP => Topic started by: copter on March 24, 2015, 05:06:32 AM

Title: dcl-TextBox-SetSel issue
Post by: copter on March 24, 2015, 05:06:32 AM
Hello

On 8.00 the  (dcl-TextBox-SetSel TextBox 0 -1) no more works regardless off the event . (Works fine with release 7)
I tried also with  (dcl_TextBox_SetSel TextBox 0 -1) since the 2 spellings  seems coexist (?)
Any workaround ?
Thanks for your help
Title: Re: dcl-TextBox-SetSel issue
Post by: owenwengerd on March 24, 2015, 03:14:05 PM
How are you determining that the function doesn't work? I suspect it works, but you are fooled because you don't see highlighted text. You can verify that text is selected by using the dcl-TextBox-GetSel (http://www.opendcl.com/HelpFiles/index.php?page=Reference/Method/TextBox/GetSel.htm) function.
Title: Re: dcl-TextBox-SetSel issue
Post by: copter on March 25, 2015, 02:20:28 AM
OK I understand. I used dcl-Control-ZOrder and I get the focus. I did not know that it was possible to change the Zorder property at initialize.
Thanks for your help