Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Adding code to existing grid textboxes
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Versions des environnements
Visual FoxPro:
VFP 9 SP1
OS:
Vista
Network:
Windows 2003 Server
Database:
Visual FoxPro
Divers
Thread ID:
01241212
Message ID:
01241313
Vues:
32
Naomi,
you are just too quick. I fixed it with a macro but then saw your code so I redid it your way. I just keep missing the small stuff. My new glasses are supposed to be in Friday.

Thanks for the help and the sharp eye,
John.
Local mName, oCol,  oControl
FOR EACH oCol IN this.Columns
  for each oControl in oCol.controls
    if Upper(oControl.class) == 'TEXTBOX'
      mName = oControl.name  && Keep same name
      oCol.RemoveObject(mName)
      oCol.NewObject(mName,[cTextBox],[vjctrl.vcx])
      oCol.CurrentControl = mName
      store .t. to ('oCol.' + mName + '.visible')
    EndIf
  endfor
ENDFOR
Beer is proof that God loves man, and wants him to be happy. - Benjamin Franklin
John J. Henn
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform