![]() |
Toolbar Buttons with caption |
Post Reply ![]() |
Author | |
Vero ![]() Groupie ![]() ![]() Joined: 25 May 2005 Location: Spain Status: Offline Points: 13 |
![]() ![]() ![]() ![]() ![]() Posted: 24 June 2005 at 8:35am |
I want to have a toolbar button with caption visible, but the user can customize this button without text. If I do: pControlButton->SetStyle(xtpButtonIconAndCaption); the button is shown with text but the user can not customize this button without text, because the customize menu only shows: By Default, Only Text, Image And Text, and default style is the assigned in SetStyle function. I have try to change m_buttonCustomStyle property, to select initially a style without changing the default style, but this property is read only (if I change this property in watch window in debug mode, it works!!!!) What can I do???? Can I make a function to change this property? How? Thanks in advance, |
|
Vero
|
|
![]() |
|
Oleg ![]() Admin Group ![]() Joined: 21 May 2003 Location: United States Status: Offline Points: 11234 |
![]() ![]() ![]() ![]() ![]() |
Hi, Hmm... to change m_buttonCustomStyle is not good idea too because if user select reset toolbar m_buttonCustomStyle will be reset. User can delete caption to hide it... not good also... We will think about this.
|
|
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS |
|
![]() |
|
Vero ![]() Groupie ![]() ![]() Joined: 25 May 2005 Location: Spain Status: Offline Points: 13 |
![]() ![]() ![]() ![]() ![]() |
The problem is that I want to have any buttons with text by default, but I want the user can select this buttons without text too. How can I do this??? |
|
Vero
|
|
![]() |
Post Reply ![]() |
|
Tweet
|
Forum Jump | Forum Permissions ![]() You cannot post new topics in this forum You cannot reply to topics in this forum You cannot delete your posts in this forum You cannot edit your posts in this forum You cannot create polls in this forum You cannot vote in polls in this forum |