Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Error con setfocus
Message
De
27/06/2002 20:57:28
Hilmar Zonneveld
Independent Consultant
Cochabamba, Bolivie
 
 
À
27/06/2002 18:28:21
Information générale
Forum:
Visual FoxPro
Catégorie:
Programmation Orientée Object
Divers
Thread ID:
00673103
Message ID:
00673140
Vues:
19
>En el evento click de un commandgroup tengo la siguiente sentencia:
>thisform.text1.setfocus
>Cuando hago click en el mismo me da el siguiente error:
>Cannot call Setfocus from within a When, Valid, RangeHigh, RangeLow event.
>Me podrian explicar porque se produce dicho mensaje ???
>Desde ya muchas Gracias

Creo que significa que hay algún tipo de interferencia (contradicción) con tu intento de cambiar el foco a un objeto específico (con el Click).

Pero no sé cómo solucionarlo. Quizás se pueda usar algún otro método. Se me ocurre una acción postergada con un Timer, ¡pero me parece una solución demasiado complicada para algo que debería ser tan simple!

Hilmar.
Difference in opinions hath cost many millions of lives: for instance, whether flesh be bread, or bread be flesh; whether whistling be a vice or a virtue; whether it be better to kiss a post, or throw it into the fire... (from Gulliver's Travels)
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform