Print Page | Close Window

CXTPButton bug

Printed From: Codejock Forums
Category: Codejock Products
Forum Name: Controls
Forum Description: Topics Related to Codejock Controls
URL: http://forum.codejock.com/forum_posts.asp?TID=12161
Printed Date: 23 September 2024 at 11:24pm
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: CXTPButton bug
Posted By: znakeeye
Subject: CXTPButton bug
Date Posted: 15 September 2008 at 11:43am
XTP 12.0.1.
 
I have a dialog with a CXTPButton mapped to a "BUTTON"-control. This button has a dropdown. Very nice indeed!
 
m_btnWithMenu.SetPushButtonStyle(xtpButtonDropDown);
 
The problem is that when using the keyboard neither <space> nor <return> expands the menu. It seems impossible.
 
I believe it should expand when space is being pressed! A fast fix would be appreciated, since this functionality is a must-have in our software.



Replies:
Posted By: Oleg
Date Posted: 15 September 2008 at 1:38pm
Hi,
 
Do you catch CBN_DROPDOWN ? Check our Button sample - both Enter and Space work.


-------------
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS


Posted By: znakeeye
Date Posted: 16 September 2008 at 9:36am

Couldn't catch CBN_DROPDOWN, but I sense it's a mistake on my side. Will check your sample later.

Thanks for the hint!



Print Page | Close Window

Forum Software by Web Wiz Forums® version 12.04 - http://www.webwizforums.com
Copyright ©2001-2021 Web Wiz Ltd. - https://www.webwiz.net