02-17-2007 05:43 AM
02-17-2007 07:40 AM
As with all questions of this type, you would do well to look first in the CVI help at the attributes available for the control you want to manipulate.
Set the ATTR_TEXT_SELECTION_START and ATTR_TEXT_SELECTION_LENGTH attributes to select the portion of the string you want.
02-19-2007 12:10 AM
Dear Martin ,
Having gone through your answer I have come to know the names of the control attributes , but I can't make out how to set the Attributes that you mentioned .I set that ,
ATTR_TEXT_SELECTION_START =1;
ATTR_TEXT_SELECTION_LENGTH=3;
But telling "Lvalue required " .
So,if possible plz write the function regarding a particular character selection of a string in string control .
Subrata
02-19-2007 12:30 AM
Hello Martin ,
Finally I have come to know how to set . Thanks ........
subrata
02-19-2007 12:19 PM