>>My end users need to add/remove, position and resize a label, textbox and
>>combobox based objects in forms, change their controlsources.
>>Unfortunately, MODIFY FORM command will not work in standalone exe.
>>
>>Previously, I stored those form object specification in separate table and
>>use this.addobject(), .top=, .controlsource= etc. in form init to create those objects.
>>However, controlsource binding seems to be very slow in vfp: it takes 4 seconds every time to open EACH invoice!
>>
>>I studied the scx file and found that I need to add a record for each
>>object and set its properties in the properties memo field.
>>Also, last record in the scx file must be special, of type comment.
>>
>>So I plan to make a program which allows user to add/remove fields by deleting and adding records in scx file.
>>I don't need to change events/methods, so there is no need to compile.
>>
>>Is object instantion from scx file, without addobject, faster?
>>I discovered that special COMMENT record must be always last in scx file.
>>Are there some other restrictions to scx order?
>>Are there such kind of screen designer for available for end user?
>
>
>I don't think there is a product that does what you need. But it isn't too hard to modify the SCX yourself. OK, creating a fancy editor isn't trivial, but it can be done.
>
>If you are looking for a description of the VCX/SCX file structure, you can check out my book (
Advanced Object Oriented Programming with VFP 6.0 from
Hentzenwerke Publishing). Sorry, don't have this document online (unless you speak German...).
>
Markus,
I'm using your genrepox a long time. Than you for this product.
I will not use mostly *: commands or inheritance, I use it for my report translation driver like your sample intl driver.
I need similar driver to modify scx files in run time: genformx !
I think this will provide an uniform way to write drivers for modifying
screen files. Why to to write such program ?
Is scx file modifying + do form faster than
do form + addobject in init ?
My problem is about writing some runtime modify form editor to
allow form modification.
I'm searching for any tool to assist in scx modification.
Andrus