I think use CARET_CB to check Auto-Completion is workable but not effective. I
will still try to update caret pos manually in VALUECHANGED_CB temporarily,
then use AUTOCSHOWid in VALUECHANGED_CB.
All roads lead to Rome. Thank you.
@Scuri:
It seems when delete operation, the caretpos will be updated in VALUECHANGED_CB
(not need to wait in CARET_CB) (,but the insert operation won't).
@Ola:
Thanks for your test.
I think it's not flexible. Have to fix the length(here is 2) of chars already
input. However, it's just a test, and works!
and BTW,
1. I think it's not necessary to use "insert" in "autocselection_cb", if won't
cancel auto-completion or delete/insert something manually. The completion will
auto insert according to "pos" of "AUTOCSHOWpos" from AUTOCPOSSTART to the
other part of string to be completion.
2. Not necessary to convert explicitly from number to string in ".." concat
operation. (but necessary before arithmetical operation)
Best,
Robert
------------------------------------------------------------------------------
Transform Data into Opportunity.
Accelerate data analysis in your applications with
Intel Data Analytics Acceleration Library.
Click to learn more.
http://pubads.g.doubleclick.net/gampad/clk?id=278785231&iu=/4140
_______________________________________________
Iup-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/iup-users