Using DevExpress controls in SF...


Author
Message
Rainer Kempf, RK
Rainer Kempf, RK
StrataFrame Novice (95 reputation)StrataFrame Novice (95 reputation)StrataFrame Novice (95 reputation)StrataFrame Novice (95 reputation)StrataFrame Novice (95 reputation)StrataFrame Novice (95 reputation)StrataFrame Novice (95 reputation)StrataFrame Novice (95 reputation)StrataFrame Novice (95 reputation)
Group: StrataFrame Users
Posts: 55, Visits: 1.4K
Hello



I try these Example all i read in this thread but i am

still not able to run the code based on DevExpress RibbonForm.



Seems i am too stupid for this simple task.



Can anyone send me maybe sample project to setup

this problem.



Thank you very much



Rainer
Juan Carlos Pazos
Juan Carlos Pazos
StrataFrame User (228 reputation)StrataFrame User (228 reputation)StrataFrame User (228 reputation)StrataFrame User (228 reputation)StrataFrame User (228 reputation)StrataFrame User (228 reputation)StrataFrame User (228 reputation)StrataFrame User (228 reputation)StrataFrame User (228 reputation)
Group: Forum Members
Posts: 144, Visits: 227
Hi Trent



ll, basically you are creating your own BaseForm and cutting out the code from our BaseForm. In that sample, I just took all of the code in the BaseForm class, created another class that inherited from the XtraForm, then added our code in that class. So at this point you are not inheriting anything from the actual SF class....the code has just been copied over (or as we like to say "backed up" [BigGrin] ). So if we make a change to the BaseForm, you would not be inheriting that change. You would have to go over and copy that code out and update your base form.




I will try to do this more clear. I download and check the sample you post for use the XtraRibbon form. Then I copy the forms to my own application and implement a Ribbon in my main form.



Everthing works fine, but I have a small concern:



The sample code in MyBaseForm.vb has a copyright leyend form you that says: "' © Copyright, 2005 MicroFour, Inc., All rights reserved."



You post that if you change something in the BaseForm then as the code is not inherited we have to copy the code and update the base form.



I look for the BaseForm in SF last version, the one I found has a more recent Copyright and if a copy all that code and put in the form of the sample gives me an error in this line:



Implements MicroFour.StrataFrame.UI.Windows.Forms.IContainerControl



As I first test the sample code and works, I use the code of the sample. My questions is how safe is use that code at this point. And what file is BaseForm.vb in the SF source code, and what modifications must I do in order to replace MyBaseForm.vb just as you do in the sample.



Hope this time has more sense to you.



Regards

Smile Everything is possible, just keep trying...
Trent Taylor
Trent Taylor
StrataFrame Developer (10K reputation)StrataFrame Developer (10K reputation)StrataFrame Developer (10K reputation)StrataFrame Developer (10K reputation)StrataFrame Developer (10K reputation)StrataFrame Developer (10K reputation)StrataFrame Developer (10K reputation)StrataFrame Developer (10K reputation)StrataFrame Developer (10K reputation)
Group: StrataFrame Developers
Posts: 6.6K, Visits: 6.9K
I really don't understand what you are asking or what your problem is here...sorry Ermm  You will need to elaborate.
Juan Carlos Pazos
Juan Carlos Pazos
StrataFrame User (228 reputation)StrataFrame User (228 reputation)StrataFrame User (228 reputation)StrataFrame User (228 reputation)StrataFrame User (228 reputation)StrataFrame User (228 reputation)StrataFrame User (228 reputation)StrataFrame User (228 reputation)StrataFrame User (228 reputation)
Group: Forum Members
Posts: 144, Visits: 227
Hi Trent



Any comments about the last post.



Regards

Smile Everything is possible, just keep trying...
Juan Carlos Pazos
Juan Carlos Pazos
StrataFrame User (228 reputation)StrataFrame User (228 reputation)StrataFrame User (228 reputation)StrataFrame User (228 reputation)StrataFrame User (228 reputation)StrataFrame User (228 reputation)StrataFrame User (228 reputation)StrataFrame User (228 reputation)StrataFrame User (228 reputation)
Group: Forum Members
Posts: 144, Visits: 227
Hi



I'm playing too with the Ribbon, just do the same that you do in your sample app. and all works fine.



I note that the sample in MyBaseForm.vb the code is from 2005, it says "' © Copyright, 2005 MicroFour, Inc., All rights reserved."



I look for the corresponding code of the BaseForm from the last SF version, and if I put that code replacinng the one in the sample it always give me an error in this line



Implements MicroFour.StrataFrame.UI.Windows.Forms.IContainerControl



Is safly use the code from the sample?



If not, can you tell me exactly wich code should I look for?



Regards

Smile Everything is possible, just keep trying...
Trent Taylor
Trent Taylor
StrataFrame Developer (10K reputation)StrataFrame Developer (10K reputation)StrataFrame Developer (10K reputation)StrataFrame Developer (10K reputation)StrataFrame Developer (10K reputation)StrataFrame Developer (10K reputation)StrataFrame Developer (10K reputation)StrataFrame Developer (10K reputation)StrataFrame Developer (10K reputation)
Group: StrataFrame Developers
Posts: 6.6K, Visits: 6.9K
Well, basically you are creating your own BaseForm and cutting out the code from our BaseForm.  In that sample, I just took all of the code in the BaseForm class, created another class that inherited from the XtraForm, then added our code in that class.  So at this point you are not inheriting anything from the actual SF class....the code has just been copied over (or as we like to say "backed up" BigGrin).  So if we make a change to the BaseForm, you would not be inheriting that change.  You would have to go over and copy that code out and update your base form.
Edhy Rijo
E
StrataFrame VIP (4.6K reputation)StrataFrame VIP (4.6K reputation)StrataFrame VIP (4.6K reputation)StrataFrame VIP (4.6K reputation)StrataFrame VIP (4.6K reputation)StrataFrame VIP (4.6K reputation)StrataFrame VIP (4.6K reputation)StrataFrame VIP (4.6K reputation)StrataFrame VIP (4.6K reputation)
Group: StrataFrame Users
Posts: 2.4K, Visits: 23K
Hi Trent,

Trent L. Taylor (04/01/2008)
Keep in mind that this could inadvertantly set you adrift if we make a change to the BaseForm class.

Can you be more specific in this comment, I am not looking for trouble, just nice solutions Tongue

Edhy Rijo

Trent Taylor
Trent Taylor
StrataFrame Developer (10K reputation)StrataFrame Developer (10K reputation)StrataFrame Developer (10K reputation)StrataFrame Developer (10K reputation)StrataFrame Developer (10K reputation)StrataFrame Developer (10K reputation)StrataFrame Developer (10K reputation)StrataFrame Developer (10K reputation)StrataFrame Developer (10K reputation)
Group: StrataFrame Developers
Posts: 6.6K, Visits: 6.9K
You can refer to this post about creating your own SF base form.  Keep in mind that this could inadvertantly set you adrift if we make a change to the BaseForm class.  But this will get you want you want: http://forum.strataframe.net/FindPost14003.aspx
Edhy Rijo
E
StrataFrame VIP (4.6K reputation)StrataFrame VIP (4.6K reputation)StrataFrame VIP (4.6K reputation)StrataFrame VIP (4.6K reputation)StrataFrame VIP (4.6K reputation)StrataFrame VIP (4.6K reputation)StrataFrame VIP (4.6K reputation)StrataFrame VIP (4.6K reputation)StrataFrame VIP (4.6K reputation)
Group: StrataFrame Users
Posts: 2.4K, Visits: 23K
Trent,

One more thing, DevEx has a RibbonForm class which is very nice and may fit some of my needs, this form inherits from a DevExpress class not SF ...

Inherits DevExpress.XtraBars.Ribbon.RibbonForm

All SF forms inherits from MicroFour.StrataFrame.UI.Windows.Forms.StandardForm, so how can I have the best of both worlds, the DevEx RibbonForm that will work with SF Security, Localization, etc.?



Edhy Rijo

Trent Taylor
Trent Taylor
StrataFrame Developer (10K reputation)StrataFrame Developer (10K reputation)StrataFrame Developer (10K reputation)StrataFrame Developer (10K reputation)StrataFrame Developer (10K reputation)StrataFrame Developer (10K reputation)StrataFrame Developer (10K reputation)StrataFrame Developer (10K reputation)StrataFrame Developer (10K reputation)
Group: StrataFrame Developers
Posts: 6.6K, Visits: 6.9K
Nope...drop and go Smile
GO

Merge Selected

Merge into selected topic...



Merge into merge target...



Merge into a specific topic ID...




Similar Topics

Reading This Topic

Login

Explore
Messages
Mentions
Search