Ciao
after updating to RC2, it seems that this method:
forms.tariff_cerca.trova_prestazione();
elements.cercatar.requestFocus (false);
doesn’t put the cursor at the end of the text present in “cercatar” global field anymore, but it moves to the beginning.
Since I use this field as a search field, as Matt suggested, I find very useful to have the cursor at the end of the text, so I can add letters and constrain the search.
OSX.2.8, servoy 2RC2
Riccardino:
Ciao
after updating to RC2, it seems that this method:
forms.tariff_cerca.trova_prestazione();
elements.cercatar.requestFocus (false);
doesn’t put the cursor at the end of the text present in “cercatar” global field anymore, but it moves to the beginning.
Since I use this field as a search field, as Matt suggested, I find very useful to have the cursor at the end of the text, so I can add letters and constrain the search.
OSX.2.8, servoy 2RC2
Addendum: the problem seems to show up especially using an unrelated tabpanel.
in a tab (unrelated or not shouldn’t have any effect of that call)
did you select onces in that field with the mouse?
if you go from design to browse and you don’t do anything except directly calling that method with that request focus..
then it goes OK yes?
i will try to fix it when you go through a javascript method (>RC2)
jcompagner:
in a tab (unrelated or not shouldn’t have any effect of that call)
did you select onces in that field with the mouse?
Yes: in the global I have a sentence like “Enter a description…” that is erased when you click on the field.
jcompagner:
if you go from design to browse and you don’t do anything except directly calling that method with that request focus..
then it goes OK yes?
I can’t verify it, at the moment, because I switched back to 2.0b6. I’ll check again this issue when the update problem under OSX will be solved. But I remember that, before deleting RC2, I noticed that in cartain cases, entering the first letter and hitting the enter key, made the cursor jump in the right place (at the end of the text). But adding more letters caused the cursor to jump after the first letter, not after the last one.
[/quote]