![]() |
Problem with Button Style |
Post Reply ![]() |
Author | |
cory ![]() Groupie ![]() Joined: 31 August 2004 Location: Italy Status: Offline Points: 26 |
![]() ![]() ![]() ![]() ![]() Posted: 13 April 2006 at 8:31am |
Sorry for my english...... I have a button toolbar, if change style button from "only icon" to "icon and text" from the customize dialog. If into events "CutomizationDone" i check when button style have changed the code not return the correct style but style is always "tpButtonAutomatic" Example Sub Form_Load() With CmdBars.Controls .Add xtpControlButton, ID_FILE_EXIT, "Exit" .Add(xtpControlButton, ID_FILE_OPEN, "Open" .Add(xtpControlButton, ID_FILE_CLOSE, "Close" end with end sub
Private Sub CmdBars_CustomizationDone() Dim ToolBar As CommandBar Set ToolBar = CmdBars.Item(2) ' .Controls(i).style is always "tpButtonAutomatic" if .Controls(i).style = xtpButtonIconAndCaption then ................ endif Next end sub
|
|
![]() |
|
Oleg ![]() Admin Group ![]() Joined: 21 May 2003 Location: United States Status: Offline Points: 11234 |
![]() ![]() ![]() ![]() ![]() |
Hello, Right :( Style don't return User customized Style :( We fixed it for upcoming 10.1.1 quick fix release. Thanks! |
|
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS |
|
![]() |
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 |