Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Runtime modification of FRX
Message
 
 
To
09/11/2011 17:34:19
General information
Forum:
Visual FoxPro
Category:
Reports & Report designer
Miscellaneous
Thread ID:
01528532
Message ID:
01528549
Views:
124
Check
What's New in the Visual FoxPro 9.0 Report Writer
Understanding and Extending Report Structure
FRX Cursor Foundation Class

>Are there any articles that cover topic of runtime modification of FRX/FRT files at runtime? In particular article that covers programmatically resizing of page header/footer? With some experimentation I've noticed that measurements are in some units like 1000ths of inches (though I vaguely recall that this depends on what is defined to be the "native" measurement units). I've also noticed that position of the objects appear to not be relative to the band in which they reside, but rather relative to the top of page and that "containership" is determined by the position within the page and what band resides at that position (i.e. there does not seem to be reference to "parent" container). What is confusing me is that when I try to account for the sizes of the bands, the positions end up being "off" -- it appears that there is a "gap" (of which I am unsure of how this value was determined) between each of the band objects. Upshot of this is that it appears that if I want to resize one of the bands, I need to reposition the objects that would be "below" it so that they are in the correct band (if not, the objects will "float" into the band above).
>
>This information seems to explain the occasional weirdness that I'd encountered when editing reports. Generally this occurs if I add/remove groups, which adds/removes header and footer bands. Typically at this point I need to save and close the report form, then reload it. If I were to continue editing, there is a good chance that objects will end up in the wrong position vertically. I've noticed that resizing of header and footer bands is OK -- it seems to be triggered by adding/removing bands.
--sb--
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform