Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
VFP8 Wish - a server-like component
Message
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00558803
Message ID:
00560148
Views:
33
>>However, it occurs to me that the reason we may not have seen them may be that they can't be implemented without greatly increasing the memory footprint for the resultant applications and/or
>
>Possibly, but we could always ask what the reason is?

You won't, I don't think, get a response. It's MS's policy not to comment about the inclusion of future features. I think that the same might apply to "Why didn't you include...?"

>>implemented without breaking existing applications.
>
>The MNX and FRX is just meta data. I'm not sure how they would "break" apps. And the MNX is not compatible from VFP6 tp VFP7, so its not like they've never changed the structures.

In the case of menus that metadata is used to generate code that's then compiled. You execute with DO... You'd need another mechanism (perhaps the object's Show method) in order to display the menu. If you took out the ability to DO a menu, then any existing app breaks. So, at best, you've duplicate functionality, as well as program bloat.

In the case of reports, VFP uses the metadata to process the request. You might be able to add a NAME < object > clause and not break anything. Again, however, you'd have to leave the door open to the old report writer (or do a converter) so again there's the chance of duplicate functionality and bloat.


>>I do have one other thought. OO menus and reports are usually application specific and don't lend themselves well to re-use.
>
>I have an application that I'm working on that has several hundred reports. Making a change to the standard header on those reports, or maybe, how the pages get numbered, what the Group headers look like, maybe standard footers would be a bear if we didn't come up with something nice. Report Objects and classes would be provide a standard, constitant way of doing that. Same as reports.

I agree. I have several system that utilize a report "template". I would think, however, that situations like these may be the exception and not the rule.

>Consitancy is the main goal here. How do you set a checkbox to checked in a form? chkBox.Value = .T. How about on a menu? SET MARK. How do you set the caption of a command button? cmdButton.Caption = "Caption" How about on a menu? DEFINE BAR 1 OR sysmenu PROMPT "Caption"
>
>How do you make fonts and colors dynamic in a grid? Just use the Dynamic properties. How about in a report? Hmmm, should act the same way, but it doesn't.

Sounds like the PowerBuilder data window. It'd be nice, and again, I'm not disagreeing with you. Of course, PowerBuilder's data window is lengendary, as is it's speed and application size...Slow and big.

>>It doesn't give us anything new except another way to do what we can already.
>
>Then you totally missed my point :-)

Naw, not really.< g >
George

Ubi caritas et amor, deus ibi est
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform