RibbonForm Close

Topics related to the Krypton Ribbon.

Moderators: Phil Wright, Chris Porter

RibbonForm Close

Postby Keigan » Mon Jun 04, 2007 10:01 am

Was noticing today as I am trying out your RibbonForm (great work btw) that when you click on the close button, the X in the top right, that the event is tied to CloseReason.TaskManagerClosing as opposed to CloseReason.UserClosing.

Not a big deal, but if I want to send the form to the tray as opposed to closing it (I made a separate app exit button) then I have to qualify it for that reason on formClosing. This makes shutting it down from the task manager difficult for someone who doesn't know how to kill the process if the app should get unruly.

On a side note, I added my own event handlers to the QAT buttons because I couln't figure out how to do it otherwise. Am I missing something?

I would like to say that this is top-notch work. I very much appreaciate the number and quality of controls you are providing at a fair price. I have used some packages that do more but they cost exponentially more.
Also, letting people access your forums without having to be paying customers while actively responding to them is rare and refreshing.

Thanks for all the hard work, that is weighing heavily in my purchasing descision.
Keigan
 
Posts: 85
Joined: Mon Jun 04, 2007 9:48 am

Postby Phil Wright » Tue Jun 05, 2007 6:33 pm

Hi

Your right that you need to implement event handlers for Quick Access Toolbar entries that you add to the Ribbon.

The second issue of the CloseReason is interesting and not one I had noticed. I will add this to the bug list and get it resolved for the next release.

Thanks
Phil
Phil Wright
Site Admin
 
Posts: 2720
Joined: Thu Apr 13, 2006 2:55 pm
Location: Melbourne, Australia

Postby Phil Wright » Tue Jun 12, 2007 5:38 pm

Just a quick note to let you know I have fixed the close reason bug for the next release. When the user clicks the button it now return CloseReason.UserAction.
Phil Wright
Site Admin
 
Posts: 2720
Joined: Thu Apr 13, 2006 2:55 pm
Location: Melbourne, Australia


Return to Krypton Ribbon

Who is online

Users browsing this forum: No registered users and 0 guests