Forum Discussion
mtsmith
10 years agoContributor
This example is from a Java SWT project:
//oTCControl is the child to start searching at and continue back up the tree looking for the first parent containing with a string value in the data field.
for (var i = aTCFullName.length - 1; i > 1; i--) {
if (aqObject.IsSupported(oTCControl,"JavaClassName") && oTCControl.getData() != null
&& oTCControl.getData().JavaClassName == 'String' ) {
sTemp = oTCControl.getData().OleValue;
sTemp = sTemp.replace(/ /g, '');
break;
}
oTCControl = oTCControl.Parent;
}
Related Content
- 7 years agodanalu
Recent Discussions
- 10 hours agotramuntana
- 2 days agoSlickRick