[bug in b1706]control not added to commandbar

Add-in Express™ Support Service
That's what is more important than anything else

[bug in b1706]control not added to commandbar
 
Sven Heitmann




Posts: 193
Joined: 2004-08-23
hi,

i have issues to add some controls to a commandbar

the controls are all commandbarcontrols with id>1 (2061,2062,2063)

adx is running well, adding all the other bars and controls but not that 3

i've tested it also with a new project, just adding a new bar with these 3 controls, but they are not shown...

the 3 controls are builtincontrols setting the vertical align of a tablecell

i am using visual c# .net 2003, .net framework 1.1 with sp1 and office 2003 with sp1

mysterious is... if i add the controls manually to a commandbar (the classic way with Word.Application.Commandbars[1].Add... the controls are shown, both the added and the controls of adx...
Best regards,

Sven Heitmann
Posted 04 Sep, 2004 11:19:39 Top
Eugene Starostin


Guest


Hi Sven,

What conponent (within the Controls collection) do you use to add these controls - ADXCommandBarButton or ADXCommandBarControl ?
Posted 05 Sep, 2004 05:02:51 Top
Eugene Starostin


Guest


Sven,

We have just tested these controls (we use ADXCommandBarButton to add them). Work fine. Could you please send your project to Sergey.
Posted 05 Sep, 2004 05:25:47 Top
Sven Heitmann




Posts: 193
Joined: 2004-08-23
ok i will send him the project

i am using the commandbarcontrol however if i use the commandbarbutton it is working...

when i am adding a control and a button both are added sometimes... really strange...

does the variety of available builtin command depend on what pias i am using?
Best regards,

Sven Heitmann
Posted 05 Sep, 2004 07:25:35 Top
Sven Heitmann




Posts: 193
Joined: 2004-08-23
any news about this?
Best regards,

Sven Heitmann
Posted 06 Sep, 2004 06:46:40 Top
Eugene Starostin


Guest


Hi Sven,

All the bugs and alters you described have been fixed. But we have decided to add some features. I think we will publish a new premium build on Tuesday.
Posted 06 Sep, 2004 07:05:58 Top
Sven Heitmann




Posts: 193
Joined: 2004-08-23
ok, just wanted to know if it realy was a bug or a mistake by me ;)

thanks for your answer
Best regards,

Sven Heitmann
Posted 06 Sep, 2004 07:11:00 Top
Eugene Starostin


Guest


Hmm... For these controls you should use ADXCommandBarButton as these controls are buttons themselves. You can use them now without waitng for a new build.
Posted 06 Sep, 2004 07:22:32 Top
Sven Heitmann




Posts: 193
Joined: 2004-08-23
ok, i will do it this way... however i wonder why it is working in office then, or when i add them manually with the commandbars object but with adx not...
Best regards,

Sven Heitmann
Posted 06 Sep, 2004 07:32:18 Top
Eugene Starostin


Guest


Sven,

the ADXCommandBarControl from build 1706 couldn't add any controls and it was a bug. That is why I have told you that you can use ADXCommandBarButton to add these controls. But with build 1707 you will be able to add any built-in controls through ADXCommandBarControl if you needn't handle its events.
Posted 06 Sep, 2004 08:04:59 Top