Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Verify each object contained in form even with class obj
Message
 
 
To
13/12/2006 15:08:46
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
01177307
Message ID:
01177364
Views:
15
>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
Previous
Reply
Map
View

Click here to load this message in the networking platform