Prev: How to record macro clicks to ribbon bar?
Next: Can I use macros and templates in Word for MAC?
From: BulionCuBranza on 8 Feb 2010 18:12 Hi, I have 2 commandbutton controls ,one with an inLineWithText wrapping style , the other with a different wrapping style, say behind text.Why is one missing the top and left properties?..i know wrapping style has something to do with the inlineshape and shape control but in object browser both commandbutton-s show up as being of commandbutton type thus belonging to commandbutton class; how come they have different properties since they are objects of the same class? what am i missing here?
From: Fumei2 via OfficeKB.com on 9 Feb 2010 14:48 Because one is an Shape, and the other is a InlineShape. The one with BehindText is a Shape, and thus has a Top and Left. The one with InLine with Text is an InlineShape, and thus does NOT have a Top and Left. These are attributes of the Format Control. Both are still commandbutton, and of the same class - AS COMMANDBUTTONS. However, one is an InlineShape, and the other is a Shape - two very different beasties. BulionCuBranza wrote: >Hi, >I have 2 commandbutton controls ,one with an inLineWithText wrapping >style , the other with a different wrapping style, say behind text.Why >is one missing the top and left properties?..i know wrapping style has >something to do with the inlineshape and shape control but in object >browser both commandbutton-s show up as being of commandbutton type >thus belonging to commandbutton class; how come they have different >properties since they are objects of the same class? what am i missing >here? -- Message posted via OfficeKB.com http://www.officekb.com/Uwe/Forums.aspx/word-programming/201002/1
|
Pages: 1 Prev: How to record macro clicks to ribbon bar? Next: Can I use macros and templates in Word for MAC? |