Print Page | Close Window

xtpButtonIcon Problem

Printed From: Codejock Forums
Category: Codejock Products
Forum Name: Toolkit Pro
Forum Description: Topics Related to Codejock Toolkit Pro
URL: http://forum.codejock.com/forum_posts.asp?TID=462
Printed Date: 27 September 2024 at 10:53am
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: xtpButtonIcon Problem
Posted By: douglashogan
Subject: xtpButtonIcon Problem
Date Posted: 21 February 2004 at 9:02am

A control created with the following styles...

   lpCreateControl->controlType = xtpControlPopup;
   lpCreateControl->buttonStyle = xtpButtonIcon;

should have tooltip and status bar text because it is a button. However, the SetID function which extracts the tooltip and stauts text never gets called. Instead you take the string from the popup menu. Should have option somewhere to set this via string table entry with the same ID.

 



-------------
Regards
Douglas Hogan



Replies:
Posted By: Oleg
Date Posted: 23 February 2004 at 11:09am

you can use xtpControlButtonPopup



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


Posted By: douglashogan
Date Posted: 23 February 2004 at 7:12pm
Problem is that we lose the downarrow button then.

-------------
Regards
Douglas Hogan


Posted By: SuperMario
Date Posted: 23 February 2004 at 9:16pm
I am not sure what you mean by a down arrow.  I am assuming you are adding this control to the active menubar so you don't want an icon on the button.  How about xtpControlSplitButtonPopup without an icon? You would have to click on the arrow to get the menu though.  This gives a down arrown next to the text.  Not sure if that is what you meant.


Posted By: douglashogan
Date Posted: 24 February 2004 at 10:44am

I mean that I want to click on a toolbar button which generates a popup menu. The issue is that I also want the little down arrow next to the button which indicates clearly that it is a toolbar button which displays a menu as opposed to an ordinary toolbar button. xtpControlSplitButtonPopup is OK but it separates the buttton from the downarrow. I want it to work as a unit.

 



-------------
Regards
Douglas Hogan



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