I have an item with jqcmitText as type.
I Would like to get the value of the input text on the event KeyDown of the item.
I did :
- Code: Select all
lKeyInt := StrToInt(AParams.Values['Key']);
lItem := TIWCGJQContextMenuItemTypeText(TIWCGJQEvents(Sender).Owner);
if lKeyInt = 13 then
begin
lValueStr := lItem.Value;
end;
The problem is value is not assigned here... If I enter "abc" then "enter", i expected to get "abc" in lValueStr.
Do you have a soluce to get the input text in the event KeyDown ?