StrataFrame Forum
Home      Members   Calendar   Who's On
Welcome Guest ( Login | Register )
      



More classesExpand / Collapse
Author
Message
Posted 12/17/2006 11:53:03 PM
StrataFrame Beginner

StrataFrame BeginnerStrataFrame BeginnerStrataFrame BeginnerStrataFrame BeginnerStrataFrame BeginnerStrataFrame BeginnerStrataFrame BeginnerStrataFrame Beginner

Group: StrataFrame Users
Last Login: 01/12/2007 12:20:28 PM
Posts: 48, Visits: 97
Hi,
I would like to request to have more utility classes such as factory, systemsetting manager, form manager, mover control/form.

Any plan for this?

Thank you
Post #5373
Posted 12/18/2006 8:06:42 AM


StrataFrame Developer

StrataFrame Developer

Group: StrataFrame Developers
Last Login: Yesterday @ 4:50:35 PM
Posts: 4,796, Visits: 4,766
classes such as factory

There are a number of factory classes within the framework.  They are more customized to certain tasks and functionality.  What type of factory classes are you looking for? 

systemsetting manager

What type of system settings?  Again, we have a large number of classes for different types of settings.

form manager

You really do not need a custom class for this in .NET.  You can do this one of two ways.  First, is if your parent form is an MDI for, simply reference the MDIChilren collection within the MDI form.  This will have all of the the forms.  Second, you should always have a single method launch your forms.  You can create a custom dictionary or list that houses all of your forms in a single collection this way.

Private _FormCollection As New System.Collections.Generic.List(Of System.Windows.Forms.Form)

Private Sub LaunchForm(ByVal FormType As System.Type)
    '-- Establish Locals
    Dim loForm As System.Windows.Forms.Form

    loForm = CType(Activator.CreateInstance(FormType), System.Windows.Forms.Form)

    '-- Add the form to the collection
    _FormCollection.Add(loForm)

    '-- Show the form, etc....
End Sub

mover control/form

We have a CheckedTreeView that has really taken place of the mover control.  Early on we had tried to push mover controls, but as many of our users indicated, this was an older technology and preferred the CheckedTreeView.  After we tried this we came to agree with this position and have adopted it ourselves.

Post #5376
Posted 12/18/2006 8:53:35 AM
StrataFrame Beginner

StrataFrame BeginnerStrataFrame BeginnerStrataFrame BeginnerStrataFrame BeginnerStrataFrame BeginnerStrataFrame BeginnerStrataFrame BeginnerStrataFrame Beginner

Group: StrataFrame Users
Last Login: 01/12/2007 12:20:28 PM
Posts: 48, Visits: 97
There are a number of factory classes within the framework. They are more customized to certain tasks and functionality. What type of factory classes are you looking for?


May I know the class name? I didn't see any mention in help file (may b I miss out). I am evaluating Strataframe.net, therefore I couldn't access source code.

We have a CheckedTreeView that has really taken place of the mover control. Early on we had tried to push mover controls, but as many of our users indicated, this was an older technology and preferred the CheckedTreeView. After we tried this we came to agree with this position and have adopted it ourselves.


Well, I am not sure CheckedTreeView is newer/older technology. However, I used to have customers complaint that they have no easy way to to determine which records were selected using checked list/treeview. They got to keep scrolling up and down for checking. By using mover control, they can simply scroll selected list.

BTW, do you have any plan for picklist textbox? It is more critical for me. The picklist textbox should able to delect if it is bind to FK. If so, an additional command will be added to form (behind textbox) during runtime. User click on picklist button to launch browse form.

Thank you
Post #5380
Posted 12/18/2006 9:20:18 AM


StrataFrame Developer

StrataFrame Developer

Group: StrataFrame Developers
Last Login: Yesterday @ 4:50:35 PM
Posts: 4,796, Visits: 4,766
BTW, do you have any plan for picklist textbox?

You can already do this several ways.  First, you can use our list population to load up a combo or list using another BO to which the foreign key is bound.  You can see this in the CRM sample as well as the sales video on the website.  The second option is the BrowseDialog control.  You can "pre-set" the initial search values and launch the BrowseDialog and use it as a "picklist."

May I know the class name?

We do not have a "generic" factory class that will allow you to spawn any type of class.  Is this what you are looking for?

Post #5381
« Prev Topic | Next Topic »


Reading This TopicExpand / Collapse
Active Users: 0 (0 guests, 0 members, 0 anonymous members)
No members currently viewing this topic.
Forum Moderators: Ben Chase, Trent L. Taylor, Steve L. Taylor

PermissionsExpand / Collapse

All times are GMT -6:00, Time now is 6:08am

Powered by InstantForum.NET v4.1.4 © 2008
Execution: 0.125. 10 queries. Compression Enabled.
Site Map - Home - My Account - Forum - About Us - Contact Us - Try It - Buy It

Microsoft, Visual Studio, and the Visual Studio logo are trademarks or registered trademarks of Microsoft Corporation in the United States and/or other countries.