Oh, thanks agian,:) I see your meaning, which is the same with my guess. Thanks.
Best regards Wei xuqiang ----- Original Message ----- From: "Fredrik Haegg" <[EMAIL PROTECTED]> To: <[email protected]> Sent: Monday, April 28, 2008 4:37 PM Subject: Re: [qa-dev] [Automation]a question about buttons method tearsoff of toolbar > There are two functions with the button: > 1. Click: use the (color/function) currently assigned to the button. > 2. TearOff: Open the menu/dialog in which you can choose which > color/function the button should be assigned to use. > > > Best wishes > / Fredrik > > > weixq wrote: >> Hi Fredrik, >> I see qutie clearly now. Thanks very much for your detailed answer! >> >> Best wishes >> Wei xuqiang >> ----- Original Message ----- >> From: "Fredrik Haegg" <[EMAIL PROTECTED]> >> To: <[email protected]> >> Sent: Monday, April 28, 2008 4:03 PM >> Subject: Re: [qa-dev] [Automation]a question about buttons method tearsoff >> of toolbar >> >> >> >>> Hi Weixq, >>> >>> >>> weixq wrote: >>> >>>> Hello all, >>>> I want to ask the use of the method 'TearsOff' of toolbar. And an example >>>> is that when you open the Font color window through clicking the Font >>>> color button of Text Formatting toolbar. I find we always use it. And can >>>> I guess that if a button can be clicked to pop up a dialog, we can use >>>> this method? >>>> >>>> >>> Click works to click the button. TearOff to open the menu/dialog which >>> has the "small triangle". >>> Then you can select the color or whatever thing you want to select in >>> the dialog/menu. >>> If you then click on something in the office, the dialog will close. If >>> you want the opened dialog >>> to stay open you have to move it a little first, then it stays open >>> until you ".close" it. >>> >>> >>>> But I don't understand something. For example, there are two kinds of >>>> buttons that can be clicked to make a dialog or window show out. But >>>> sometimes we can just click the button itself, just like the Character of >>>> Text Formatting toolbar. But sometimes we should click a small triangle >>>> button beside the button itself to let the window open, like the button >>>> Font color. So which one is this method be used usually? Is the second >>>> kind? But what can I do to the first one, use the click method only? >>>> >>>> >>> TearOff is the method for Toolbars. If it doesn't work it's probably no >>> Toolbar but a button. Which you have to ".OpenMenu" to open instead. >>> >>> >>> Best regards >>> / Fredrik >>> >>> --------------------------------------------------------------------- >>> To unsubscribe, e-mail: [EMAIL PROTECTED] >>> For additional commands, e-mail: [EMAIL PROTECTED] >>> > > -- > Sun Microsystems GmbH Fredrik Haegg > Nagelsweg 55 Software > 20097 Hamburg Phone: +49 (0)40 23646 634 > Germany Fax: +49 (0)40 23646 650 > http://www.sun.de mailto:[EMAIL PROTECTED] > > Sitz der Gesellschaft: Sun Microsystems GmbH, Sonnenallee 1, > D-85551 Kirchheim-Heimstetten > Amtsgericht Muenchen: HRB 161028 > Geschaeftsfuehrer: Thomas Schroeder, Wolfgang Engels, Dr. Roland Boemer > Vorsitzender des Aufsichtsrates: Martin Haering > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED]
