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


12»»

Janus Controls WrapperExpand / Collapse
Author
Message
Posted 01/09/2008 8:19:58 AM
StrataFrame Novice

StrataFrame NoviceStrataFrame NoviceStrataFrame NoviceStrataFrame NoviceStrataFrame NoviceStrataFrame NoviceStrataFrame NoviceStrataFrame Novice

Group: Forum Members
Last Login: 08/01/2009 8:16:13 AM
Posts: 107, Visits: 2,026
Thanks everyone for helping me through the forum posts, I'm attaching the source code of a wrapper I'm working on. The Janus Grid Control is still a work in progress since I'm working on a several enhancements.

I'm open to suggestions and criticism too

------------------------------------------------------------------------
I would like to change the world, but they don´t give me the source code.
MS Windows XP SP2 64-Bit
Intel(R) Core(TM)2 Quad CPU Q9300 2.50 GHz
6.00 GB of RAM, NVIDIA GeForce 9800 GT

  Post Attachments 
MicroFour StrataFrame Janus Wrapper.zip (239 views, 66.85 KB)

Post #13316
Posted 02/14/2008 8:31:10 AM
StrataFrame Beginner

StrataFrame BeginnerStrataFrame BeginnerStrataFrame BeginnerStrataFrame BeginnerStrataFrame BeginnerStrataFrame BeginnerStrataFrame BeginnerStrataFrame Beginner

Group: Forum Members
Last Login: 11/19/2009 5:58:17 AM
Posts: 5, Visits: 218
Hi,

how can i use your wrapper?

Thanks

Post #14386
Posted 02/15/2008 11:37:15 AM
StrataFrame Novice

StrataFrame NoviceStrataFrame NoviceStrataFrame NoviceStrataFrame NoviceStrataFrame NoviceStrataFrame NoviceStrataFrame NoviceStrataFrame Novice

Group: Forum Members
Last Login: 08/01/2009 8:16:13 AM
Posts: 107, Visits: 2,026
Hi Fabrizio
In the first place you need to have a license of the Janus Windows Controls V.3.5, so you can reference the assemblies correctly in the source project I posted.
Then, you need to build the project to generate a dll that you will need to add in the Visual Studio tool box.
And last you can add any of the wrapped controls to your StandarForms or UserControls.

If you need screenshots just let me know.

Cheers

------------------------------------------------------------------------
I would like to change the world, but they don´t give me the source code.
MS Windows XP SP2 64-Bit
Intel(R) Core(TM)2 Quad CPU Q9300 2.50 GHz
6.00 GB of RAM, NVIDIA GeForce 9800 GT
Post #14401
Posted 06/25/2008 4:44:33 AM
StrataFrame Beginner

StrataFrame BeginnerStrataFrame BeginnerStrataFrame BeginnerStrataFrame BeginnerStrataFrame BeginnerStrataFrame BeginnerStrataFrame BeginnerStrataFrame Beginner

Group: Forum Members
Last Login: 11/19/2009 5:58:17 AM
Posts: 5, Visits: 218

Hello Guillermo,

you have any update for your wrapper? especially for the GridEX?

tnx
Post #17308
Posted 06/25/2008 4:57:22 AM
StrataFrame Beginner

StrataFrame BeginnerStrataFrame BeginnerStrataFrame BeginnerStrataFrame BeginnerStrataFrame BeginnerStrataFrame BeginnerStrataFrame BeginnerStrataFrame Beginner

Group: Forum Members
Last Login: 11/19/2009 5:58:17 AM
Posts: 5, Visits: 218
Fabrizio Galanti (06/25/2008)

Hello Guillermo,

you have any update for your wrapper? especially for the GridEX?

tnx


And Timeline
Post #17309
Posted 06/25/2008 11:09:58 AM
StrataFrame Team Member

StrataFrame Team Member

Group: StrataFrame Developers
Last Login: 07/23/2010 11:23:08 AM
Posts: 352, Visits: 715
Fabrizio,

There really isn't any reason to wrap a grid. Just use a BusinessBindingSource to talk to the grid directly. No wrapper needed .

Post #17327
Posted 06/25/2008 11:47:11 AM
StrataFrame Novice

StrataFrame NoviceStrataFrame NoviceStrataFrame NoviceStrataFrame NoviceStrataFrame NoviceStrataFrame NoviceStrataFrame NoviceStrataFrame Novice

Group: Forum Members
Last Login: 08/01/2009 8:16:13 AM
Posts: 107, Visits: 2,026
Dustin is right,
The Janus GridEX is a monster, and with the BusinessBindigSource works just great!!.

------------------------------------------------------------------------
I would like to change the world, but they don´t give me the source code.
MS Windows XP SP2 64-Bit
Intel(R) Core(TM)2 Quad CPU Q9300 2.50 GHz
6.00 GB of RAM, NVIDIA GeForce 9800 GT
Post #17333
Posted 07/08/2008 9:32:25 AM
StrataFrame Beginner

StrataFrame BeginnerStrataFrame BeginnerStrataFrame BeginnerStrataFrame BeginnerStrataFrame BeginnerStrataFrame BeginnerStrataFrame BeginnerStrataFrame Beginner

Group: Forum Members
Last Login: 11/19/2009 5:58:17 AM
Posts: 5, Visits: 218
Hello Guillermo Vilas,

I'm trying to use the Janus combobox wrapped using this example.

With the combobox Janus me back the following error:


InvalidCastException
Impossibile eseguire il cast di oggetti di tipo 'System.Object[]' sul tipo 'MicroFour.StrataFrame.UI.Windows.Forms.ComboBoxItem[]'.

Source : MicroFour StrataFrame Janus Wrapper

Stack Trace:
in MicroFour.StrataFrame.UI.Windows.Forms.JanusControls.UIComboBox.PushDataSourceItemsToComboDisplay() in C:\Users\Fabrizio\Desktop\MicroFour StrataFrame Janus Wrapper\Janus\UIComboBox.vb:riga 544
in MicroFour.StrataFrame.UI.Windows.Forms.JanusControls.UIComboBox.PopulateComboBox() in C:\Users\Fabrizio\Desktop\MicroFour StrataFrame Janus Wrapper\Janus\UIComboBox.vb:riga 502
in MicroFour.StrataFrame.UI.Windows.Forms.JanusControls.UIComboBox.set_ValueMember(String value) in C:\Users\Fabrizio\Desktop\MicroFour StrataFrame Janus Wrapper\Janus\UIComboBox.vb:riga 379
in MicroFour.StrataFrame.UI.Windows.Forms.JanusControls.UIComboBox.SetDataSource(Object DataSource, String DisplayMember, String ValueMember)
in MicroFour.StrataFrame.UI.Windows.Forms.ListControl.PopulateComboFromBusinessObject(IListControl lstControl, Object[] Parameters)
in MicroFour.StrataFrame.UI.Windows.Forms.ListControl.PopulateCombo(Control lstControl, Object[] Parameters)
in MicroFour.StrataFrame.UI.Windows.Forms.JanusControls.UIComboBox.PopulateCombo(Object[] Parameters) in C:\Users\Fabrizio\Desktop\MicroFour StrataFrame Janus Wrapper\Janus\UIComboBox.vb:riga 918
in MicroFour.StrataFrame.UI.Windows.Forms.JanusControls.UIComboBox.Requery() in C:\Users\Fabrizio\Desktop\MicroFour StrataFrame Janus Wrapper\Janus\UIComboBox.vb:riga 899
in MicroFour.StrataFrame.UI.Windows.Forms.JanusControls.UIComboBox.InitializeObject() in C:\Users\Fabrizio\Desktop\MicroFour StrataFrame Janus Wrapper\Janus\UIComboBox.vb:riga 883
in MicroFour.StrataFrame.UI.Windows.Forms.BaseForm.InitializeFormLoadObjects()
in MicroFour.StrataFrame.UI.Windows.Forms.BaseForm.OnLoad(EventArgs e)
in System.Windows.Forms.Form.OnCreateControl()
in System.Windows.Forms.Control.CreateControl(Boolean fIgnoreVisible)
in System.Windows.Forms.Control.CreateControl()
in System.Windows.Forms.Control.WmShowWindow(Message& m)
in System.Windows.Forms.Control.WndProc(Message& m)
in System.Windows.Forms.ScrollableControl.WndProc(Message& m)
in System.Windows.Forms.ContainerControl.WndProc(Message& m)
in System.Windows.Forms.Form.WmShowWindow(Message& m)
in System.Windows.Forms.Form.WndProc(Message& m)
in System.Windows.Forms.Control.ControlNativewindow.OnMessage(Message& m)
in System.Windows.Forms.Control.ControlNativewindow.WndProc(Message& m)
in System.Windows.Forms.Nativewindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)


If I use combobox StrataFrame everything works regularly.

You can help me?

Thank you

Fabrizio


P.S. Janus gridEx to explain to you my problem in the future
Post #17701
Posted 07/08/2008 9:37:50 AM
StrataFrame Novice

StrataFrame NoviceStrataFrame NoviceStrataFrame NoviceStrataFrame NoviceStrataFrame NoviceStrataFrame NoviceStrataFrame NoviceStrataFrame Novice

Group: Forum Members
Last Login: 08/01/2009 8:16:13 AM
Posts: 107, Visits: 2,026
Hi Fabrizio,
I will check the error, though I don´t use the janus combobox very often since Strataframe added the multicolumn functionality to their combobox.

PS. What are you planning to do with the GridEx?

------------------------------------------------------------------------
I would like to change the world, but they don´t give me the source code.
MS Windows XP SP2 64-Bit
Intel(R) Core(TM)2 Quad CPU Q9300 2.50 GHz
6.00 GB of RAM, NVIDIA GeForce 9800 GT
Post #17702
Posted 07/08/2008 9:48:09 AM


StrataFrame Developer

StrataFrame Developer

Group: StrataFrame Developers
Last Login: 07/06/2010 6:04:33 PM
Posts: 6,275, Visits: 6,165
Honestly I don't know that I would even try to use their combo box as you will lose all of the automated populated features of the SF combo....which is extremely nice when you get into application development.
Post #17706
« Prev Topic | Next Topic »

12»»

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

PermissionsExpand / Collapse

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

Powered by InstantForum.NET v4.1.4 © 2010
Execution: 0.063. 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.