|
- Forum - iziBasic
Warning: A non-numeric value encountered in /web5/aldweb/www/aldweb_com/www/thread.php on line 257
Sujet n° 1573 |
TEXTFIELD displayed by INPUT c|v |
le 22/08/2007 @ 19:32 par roy sommers
|
Hi, Other than by tapping on it, how can one assign focus to the TEXTFIELD supplied by the statement: INPUT c|v ? In other words what number should be supplied to the SETFOCUS statement for this purpose? Thanks, Roy |
|
|
Warning: A non-numeric value encountered in /web5/aldweb/www/aldweb_com/www/thread.php on line 497
Réponse n° 1 -------- le 26/08/2007 @ 19:12 par aldweb
visiteur |
Hello Roy,
The parameter number to give to SETFOCUS is the ID of the TEXTFIELD.
Cheers, aldweb
|
|
|
Warning: A non-numeric value encountered in /web5/aldweb/www/aldweb_com/www/thread.php on line 497
Réponse n° 2 -------- le 27/08/2007 @ 15:10 par roy sommers
visiteur |
Hellow aldweb,
When you use INPUT [c|t,] c|v without the c|t parameter it supplies a TEXTFIELD without disclosing it's ID. If you activate it by tapping on it, and then using GETFOCUS, it returns an ID that looks like a zero, but this is unusable since SETFOCUS #0 according to the NOTE for SETFOCUS unsets the FOCUS. Puzzled, Roy |
|
|
Warning: A non-numeric value encountered in /web5/aldweb/www/aldweb_com/www/thread.php on line 497
Réponse n° 3 -------- le 27/08/2007 @ 19:16 par aldweb
visiteur |
Hello Roy,
Sorry, my answer was too fast, I had not got the point that you wanted to get the focus of an INPUT statement.
INPUT does not supply a TEXTFIELD, it works with tracking key presses and direct displaying of text on the screen. So, there is no way that you can set the focus to it. You then have to find another way to present things on your form...
Cheers, aldweb
|
|
|
sujet actif
sujet clos
Important!
Nouveau message -
Rectifier message
Clôturer sujet
Remonter
|
|