IgnaceMaes / MaterialSkin

Theming .NET WinForms, C# or VB.Net, to Google's Material Design Principles.
MIT License
2.84k stars 831 forks source link

materialTabSelector doesn't update animation #111

Open NVitanovic opened 8 years ago

NVitanovic commented 8 years ago

Hi,

I've used the materialTabSelector with materialTabControl. When I change the the tab via code on the materialTabControl, the selector just updates the color of the text but does not move the blue underline. Is there a way to force the animation to update?

Best regards!

jumper77 commented 8 years ago

hi,

I can't even get the tab control to showup when hitting the start button. When the form shows, The tab control is not visible. Did you ever have this problem?

Thank you

NVitanovic commented 8 years ago

@jumper77 are you sure you have both materialTabSelector and materialTabControl? Also you need to link the materialTabControl to the materialTabSelector via properties.

jumper77 commented 8 years ago

Hi, thanks for the response. Things are cool now. And I hope you are having a great holiday weekend (if you're in the US I guess)

jumper77 commented 8 years ago

Just thought of something. I imagine you've been asked this before, but would you like any help developing the software? I'm retired now, but don't have anything to do, so it would be fun. I have about 25 years experience. Let me know if you do. Otherwise, thanks again.

NVitanovic commented 8 years ago

@jumper77 thanks, actually it's nice of you to offer help. Yeah sure why not, I certainly would appreciate help from a senior developer. You can add me on skype if you want "nikola.vitanovic".

jumper77 commented 8 years ago

Senior is true if you're talking about age :) I should have asked, what language is it written in? I've been doing VB.net ever since I retired just because it's fun. But that also means I'm still learning. Also, I'm not much of a skype person. Never had a web cam or anything. However, a good way for me would be something like MSMesenger or whatever software.

Say hi again when you have the time, john

jumper77 commented 8 years ago

note: guess I could have just looked to see what language... I get dumb sometimes :)

jumper77 commented 8 years ago

I've been looking around your GitHub page and I see you have a few people working on it already. So I'll just sit on the sidelines. :)

thanks.

NVitanovic commented 8 years ago

I'm still a student, so we do a lot of projects for the faculty. This project in particular is finished, we used MaterialSkin with NHibernate and Entity framework. Everything was coded in C#. It's a private repository so you couldn't see it. I could add you as a contributor just so you could take a look, give some tips if you want. I specialize in PHP, MySQL, JS, HTML, CSS, also I do C# and C++. I've done some VB .NET when I was younger but I've forgotten most of it. I use skype mostly for messaging/chatting not for calls or webcam, so I would not disturb you if you added me as a contact.

What did you specialize in?

jumper77 commented 8 years ago

Morning, hope you are doing well today. That's great that you're still in school. When I went to college, what you have written is way above anything that I learned. Back then, VB wasn't OO. The things you specialize in is great for someone to know if you're still in school.

Before I retired, I was a C++ guy. But when I got bored, I switched to vb.net. I've always liked it's syntax. Right now I'm on a forum where people have been teaching me how to use modern ways of using the language.

I'm going to check out the code today and see how bad my memory is about C++ code. If we want to still work together, I hope I can stay with VB.NET. I'm not positive, but I think you can have both languages in one project. If not, I might be able to build dlls.

That's enough for now. It's way early in the morning, so if this email is a bit rough, you'll know why.

talk soon, john

On 7/3/2016 9:51 PM, Nikola Vitanović wrote:

I'm still a student, so we do a lot of projects for the faculty. This project in particular is finished we used MaterialSkin with NHibernate and Entity framework. Everything was coded in C#. It's a private repository so you couldn't see it. I could add you as a contributor just so you could take a look, give some tips if you want. I specialize in PHP, MySQL, JS, HTML, CSS, also I do C# and C++. I've done some VB .NET when I was younger but I've forgotten most of it. I use skype mostly for messaging/chatting not for calls or webcam, so I would not disturb you if you added me as a contact.

What did you specialize in?

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/IgnaceMaes/MaterialSkin/issues/111#issuecomment-230195082, or mute the thread https://github.com/notifications/unsubscribe/APDfM5so0kr2aVc8UxD3lisxe8Fuzw0gks5qSHUrgaJpZM4I48LV.

jumper77 commented 8 years ago

Forgot... If Skype is still free, that would be a great way for us to chat.

On 7/3/2016 9:51 PM, Nikola Vitanović wrote:

I'm still a student, so we do a lot of projects for the faculty. This project in particular is finished we used MaterialSkin with NHibernate and Entity framework. Everything was coded in C#. It's a private repository so you couldn't see it. I could add you as a contributor just so you could take a look, give some tips if you want. I specialize in PHP, MySQL, JS, HTML, CSS, also I do C# and C++. I've done some VB .NET when I was younger but I've forgotten most of it. I use skype mostly for messaging/chatting not for calls or webcam, so I would not disturb you if you added me as a contact.

What did you specialize in?

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/IgnaceMaes/MaterialSkin/issues/111#issuecomment-230195082, or mute the thread https://github.com/notifications/unsubscribe/APDfM5so0kr2aVc8UxD3lisxe8Fuzw0gks5qSHUrgaJpZM4I48LV.

jumper77 commented 7 years ago

Hi again, my email address has changed since the last time we talked, so I thought I would tell you in case you thought it was spam or something. Have a question. I'm just now able to get back to work on projects and I'm trying to use MaterialSkin on a form. Here's the code:

         Application.EnableVisualStyles()

         Dim ms As MaterialSkinManager
         ms = MaterialSkinManager.Instance
         ms.AddFormToManage(Me)
         ms.Theme = MaterialSkinManager.Themes.DARK
         ms.ColorScheme = New ColorScheme(Primary.BlueGrey800, 

Primary.BlueGrey900, Primary.BlueGrey500, Accent.LightBlue200, TextShade.WHITE)

The only thing the compiler didn't like was using "Me" (instead of "this"). Would you mind helping me out a bit? I did manage to get the DLL into my project and I love the way the buttons look. Great job.

Let me know something when you get a chance, john

On 7/3/2016 9:51 PM, Nikola Vitanović wrote:

I'm still a student, so we do a lot of projects for the faculty. This project in particular is finished we used MaterialSkin with NHibernate and Entity framework. Everything was coded in C#. It's a private repository so you couldn't see it. I could add you as a contributor just so you could take a look, give some tips if you want. I specialize in PHP, MySQL, JS, HTML, CSS, also I do C# and C++. I've done some VB .NET when I was younger but I've forgotten most of it. I use skype mostly for messaging/chatting not for calls or webcam, so I would not disturb you if you added me as a contact.

What did you specialize in?

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/IgnaceMaes/MaterialSkin/issues/111#issuecomment-230195082, or mute the thread https://github.com/notifications/unsubscribe/APDfM5so0kr2aVc8UxD3lisxe8Fuzw0gks5qSHUrgaJpZM4I48LV.

almaris commented 3 years ago

Hello, I'm not sure if this is still an issue for you but in case anyone else comes across this issue i've found the fix:

tabSelector.BaseTabControl = null;
tabSelector.BaseTabControl = tabControl;

where tabSelector is MaterialTabSelector and tabControl is MaterialTabControl