Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Verify each object contained in form even with class obj
Message
 
 
À
13/12/2006 15:08:46
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
01177307
Message ID:
01177364
Vues:
16
>Nice, let me tell you exactly what is my problem
>User gave me this table with their company meaning for some of app captions and they want that i change all of that, but i'm not able to do that in development mode, i like to let them use that table to continue doing it for themselves. By Example: Work -> Task ... PO -> Int.Order ... Customer -> Client ... PI -> Quotation ... etc.. so i want to go for each caption in form when user open it and change that caption for their desired caption. Is it possible?

Yes. In the method ChangeLanguage (or in your case could be ChangeCaption) you will do

ChangeCaption method
lparameter toLabel
local lcNewCaption
if seek(m.toLabel.Caption, "WordsTable", ...)
  lcNewCaption = alltrim(WordsTable.Replacement)
  toLabel.caption = m.lcNewCaption && Here you may have a problem with the label width not enough, etc.
  toLabel.refresh() && VFP9
endif
If it's not broken, fix it until it is.


My Blog
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform