Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
V6s5 - FOR EACH OBJECT infinite recursion for PageFrames
Message
From
27/01/2004 10:43:09
 
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00870966
Message ID:
00870982
Views:
18
hello,

i think you have to pass the page objects into the setlocale method .. not the Pageframe itself ..

e.g

SetLocale Method:
LPARAMETERS tcObj

DO CASE

CASE PEMSTATUS(tcObj,'Controls',5)
FOR EACH loObj IN tcObj.Controls
SetLocale(loObj)
ENDFOR

CASE PEMSTATUS(tcObj,'Pages',5)
FOR EACH loPage IN tcObj.Pages
SetLocale(loPage)
ENDFOR

ENDCASE

now passing a form reference to the SetLocale Method should iterate over all controls in the form

Regards

Christian
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform