Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Hacking the SCX
Message
 
To
02/05/2002 07:13:55
Walter Meester
HoogkarspelNetherlands
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
Miscellaneous
Thread ID:
00651635
Message ID:
00651846
Views:
24
Walter, I eventually got this sorted.

Yes, you do need Chr(13) + Chr(10) on each line which I had .

It was the following which needed to be done:

The ObjCode field on the Scx , as well as having the 'Actual Object' code, also holds some pointers to the data in the Properties field

This is why, even though I was amending the Properties field,it seemed to be seeing only the ORIGINAL no. of lines in form designer.
Following got round it:

Change Properties field
Replace all ObjCode with ""
Close all
Compile Form MyForm

The Compile recompiles the form and fixes up the properties

Regards,

Gerard


>Gerald,
>
>>Is there antwhere I can get details on exactly what is required (Help or any publication) ?
>
>No that I'm aware of. Just check if the methods field contains any CHR(10) character. I guess you're up to a little experiment once more.
>
>Walter,
>
>>Regards,
>>
>>Gerard
>>
>>
>>>Hi gerard,
>>>
>>>I Seem to remember that some fields require a CHR(10)+CHR(13) (or was it CHR(13)+CHR(10)) as termination of a textline. I've had some simular problems when programaticly modifying the Properties field.
>>>
>>>Walter,
>>>
>>>
>>>>I have a requirement to Insert lines into the .methods field of the Scx file.
>>>>
>>>>That bit is working, but when I go in and Modify the Form, in some of the methods (particularly the Load Event) some of the text is being truncated.
>>>>
>>>>If I go back to the Scx file, all the stuff seems to be there ok.
>>>>
>>>>After doing a bit of experimenting, It would seem to me that there is some other variable held somewhere which holds either the no. of lines or charcters in some /all of the event method code .
>>>>
>>>>Can anybody throw some light on this ?
>>>>
>>>>Regards,
>>>>
>>>>Gerard
Previous
Reply
Map
View

Click here to load this message in the networking platform