>I need to evaluate it runtime when the form initializes.
I would just build it into the .Init of the Label to make the change.
>
>>>Hi all,
>>>
>>>I have a form with a pageframe containg 4 pages. There are several Label objects in each of the page. Some of the label's caption has the word "Week" in it. I would like to do a wholesale programmatic replace, STRTRAN() if you may, for each occurence of "Week" in a Label.Caption with "Month". I think I cannot use Form.SetAll() for this. I am using AMEMBERS() but I think I may have to drill down for each container objects where they may exist (ie. PageFrame). Is there a better way to do this?
>>
>>
>>
>>SELECT * from yourform.scx INTO TABLE newform
>>REPLACE properties WITH STRTRAN(properties,"Week","Month") ALL FOR ALLTRIM(baseclass)="label"
>>USE
>>RENAME newform.dbf to newform.scx
>>RENAME newform.fpt to newform.sct
>>MODIFY FORM curform.scx
>>
>>