Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Object in Report
Message
From
24/09/1998 03:30:28
Cetin Basoz
Engineerica Inc.
Izmir, Turkey
 
General information
Forum:
Visual FoxPro
Category:
Reports & Report designer
Miscellaneous
Thread ID:
00140244
Message ID:
00140246
Views:
21
>Hi,
>
>Is there any way to create report objects purely from code, ie can I have a menu button on a toolbar that, when clicked, creates a report object in the upper left corner of the detail area where expression is "TestFunction()" and the field can stretch (or something like this) ??
Klas,
Since report file (.frx and .frt) is another fox table answer is yes. But you should study its layout a lot to be able to do it and it would be easier to create what you want in report designer first and then browse to see what it writes. Some report extensions change frx this way. ie: To change color for an object, you locate the object in frx, change penred, pengreen, penblue, fillred, fillgreen, fillblue values. My colleague does something like that, keeping the original frx in form.DE and uses form as preview (for fonts only - header, title, footer ...), changing frx via a toolbar.
Cetin
Çetin Basöz

The way to Go
Flutter - For mobile, web and desktop.
World's most advanced open source relational database.
.Net for foxheads - Blog (main)
FoxSharp - Blog (mirror)
Welcome to FoxyClasses

LinqPad - C#,VB,F#,SQL,eSQL ... scratchpad
Previous
Reply
Map
View

Click here to load this message in the networking platform