Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Combobox question
Message
De
24/04/2004 17:29:26
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00897797
Message ID:
00897952
Vues:
13
A start point:
* Keypress event
LPARAMETERS nKeyCode, nShiftAltCtrl
IF m.nKeyCode=32 AND m.nShiftAltCtrl=0
  NODEFAULT
  PRIVATE uniqueVarSelStart
  IF ISNULL(M.THIS.DisplayValue)
    uniqueVarSelStart = 1
  	THIS.DisplayValue = ' '
  ELSE
	uniqueVarSelStart = m.this.SelStart+1
    THIS.DisplayValue = STUFF(M.THIS.DisplayValue,m.uniqueVarSelStart,IIF(INSMODE(),0,1),' ')
  ENDIF
  this.SelStart = m.uniqueVarSelStart
ENDIF

*ProgrammaticChange
IF VARTYPE(M.uniqueVarSelStart)=="N"
	NODEFAULT
ENDIF
Fabio
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform