Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Squirrelly grid behavior
Message
 
 
À
15/09/1998 10:38:22
Information générale
Forum:
Visual FoxPro
Catégorie:
Classes - VCX
Divers
Thread ID:
00135480
Message ID:
00136982
Vues:
29
The code correctly formatted:

cTextBox.GotFocus():
* provide SelectOnEntry even if focus is coming to this control via mouse click

if ( this.SelectOnEntry )
   TextBox::GotFocus()
   nodefault

   this.SelStart = 0
   do case
      case ( this.MaxLength > 0 )
         this.SelLength = this.MaxLength
      case ( len( this.InputMask ) > 0 )
         this.SelLength = len( this.InputMask )
   endcase
endif
df (was a 10 time MVP)

df FoxPro website
FoxPro Wiki site online, editable knowledgebase
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform