PC SOFT

FORUMS PROFESSIONNELS
WINDEVWEBDEV et WINDEV Mobile

Accueil → WEBDEV 2024 → Edit control
Edit control
Débuté par Mimmo Ghiara, 21 mai 2020 09:42 - 3 réponses
Posté le 21 mai 2020 - 09:42
Two things I can't find in the manual; as in a screen, automatically enter an edit control (define the first editable field) and put the cursor to insert text.
Secondly, there is a way to validate an entry without necessarily leaving the field (edit control)
Thanks
Mimmo
Posté le 21 mai 2020 - 21:56
Mimmo Ghiara a écrit :
> Two things I can't find in the manual; as in a screen, automatically enter an edit control (define the first editable field) and put the cursor to insert text.

Two ways:
1. in the editor, change the TAB order so that your desired field is the first one
2. by code, do a returntocapture of the desired field at the end of the page init code

Secondly, there is a way to validate an entry without necessarily leaving the field (edit control)


1. in the code event 'each modification'/on change...
2. on a timer

Thanks
Mimmo
Posté le 22 mai 2020 - 08:37
Thanks
Posté le 04 juin 2020 - 08:59
hI

in a loper returntocapture dont' work
I use a popup to selsect iem in a database table and after the query i would like the next item to be selected
But even if i change the TAB order or use returntiocapture, the next item is not selected for entry

Is there another way to select the next item?

Thanks

Mimmo