Hi.
I need that the user can select the text or value of the TTIWAdvEdit/TTIWDBAdvEdit when the user make a click on this component.
I see that the TTIWAdvEdit/TTIWDBAdvEdit has a property name SelectAll, I change the value to True and I don't see any change.
Can you guide me?
TIA an sorry for my poor english...
Bart
(Bart)
2
Hi,
Unfortunately this is currently not supported in the TTIWAdvEdit component.
As an alternative you can add the following JavaScript to the ScriptEvents onFocus:
setTimeout(function () { document.activeElement.select(); }, 0);
Hi.
Thanks Bart Holvoet, this code works fine.
But we have several forms and several controls this would be a lot of work. Do you plan to support this built-in?
TIA
Bart
(Bart)
4
This is a good suggestion and we'll consider adding this feature in a future version of the TMS IntraWeb Component Pack.