Bunifu Button - Bunifu Framework | Empowering software developers craft great user experiences in less time. Productivity tools for C# & VB.NET UX/UI design

Bunifu Button

This topic contains 2 replies, has 2 voices, and was last updated by  steven8579 1 month, 2 weeks ago.

  • Author
    Posts
  • #144538

    steven8579
    Participant

    Good Evening,

    I’m trying to select a Bunifu Button when I click on it but I have been unable to do so. All of the tutorials and documentation I found uses the Bunifu Flat Button but I don’t have that control. Any help would be greatly appreciated. I want to click on a button and have the button be selected. I’m using the Trial Version.

    Thanks,
    Steven

  • #144943

    Wilfred Kimura
    Keymaster

    Hello Steven,

    We have included this feature to be part of our next release. As of now, you can call the method Focus() in the button’s Click event. Here’s an example:

  • #145044

    steven8579
    Participant

    I tried the Focus() method and it doesn’t do anything. My user interface has the buttons in a left panel. When I click on the button, I want the button to appear a certain color indicating that it is selected. I’ve set the button to appear in a purple color when clicked setting the OnPressedState method. Am I missing something else? Am I supposed to set another property for this to happen? I put the BunifuButton1.Focus() in the Click method as you said.

    Thanks

You must be logged in to reply to this topic.