Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Hacking the SCX
Message
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
Miscellaneous
Thread ID:
00651635
Message ID:
00652081
Views:
35
David,
I got the problem on hacking the SCX sorted... the OBJCode field seems to hold some refernce to the methods field but by repacing all objcode with "" and compiling the form, hey presto I was able to see ALL the method correctly in the form designer.

I am currenly upgrading a FPW 2.6 project to VFP. I have decided to go the route of upgrading, taking into account reservations from UT respondents.

What I am endevouring to do is 'Objectify' all the 2,6 code i.e. Replace : Store x to MyVAr with ---> ThisForm.Myobj.Field = x and Show get Myfield Enable to ThisForm.Myfiled.Enabled = .T. etc.

An ambitious enough project but I think I can see light at the end of the tunnel.

Thanks again for your help

regards,

Gerard





>Gerard,
>
>You can programatically open the form designer
>
>
n = adir( laFiles, "*.scx" )
>for i = 1 to n
>   modi form (laFiles[i,1]) nowait
>endfor
>
>I don't think there's hard documentation of the intricacies of the SCX/VCX.
>
>What kind of global changes are you making to these forms? I ask because I wonder if it's something that would be better done by a form class.
>
>>I need to programatically write to these method fields .(about 200 forms)
>>Going through the form designer will not br practacal because I will need to re-run at a later stage also.
>>
>>Is there any publication which details layout ot the scx memo fields
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform