Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Release a form
Message
From
18/11/2004 13:52:39
Thomas Ganss (Online)
Main Trend
Frankfurt, Germany
 
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Title:
Environment versions
Visual FoxPro:
VFP 7 SP1
Database:
Visual FoxPro
Miscellaneous
Thread ID:
00960885
Message ID:
00962744
Views:
15
Hi David,

>Miroslav started the thread talking about huge numbers visible form objects.
Ok - guilty of [unconcious] thread drift ;-)
>
>But I just leave these classes as container and never redefine them, but they are never visible components at runtime.

Making them visible is just a way to fire rules individually. You'ld get the same effect if you AddObject() a standard commandbutton onto your container calling your standard busrulemethod on the buttons .parent in the click - which probably is a better design, since it allows aggregation in the "small" rule objects as well. Since "my" click also fires my polymorph "busrulemethod" both approaches are not too different - but it helps tremendously to be able to fire specific business rule methods directly from the GUI to find the errors... Give it a try sometimes: if you have a pageframe, add a page with your bus rules container[s]and add controls to interactively fire them. Presto: RAD for the bus layer <g>. Much better than to set breakpoints and let the debugger stop you into the interesting parts.

>If they are created via CreateObject() they can't be visible.
Which is not a bad thing in the finished product, if you never want to use the debugger and the visible "interface" later on. It cuts to ways <g>.

regards

thomas
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform