Date: prev next · Thread: first prev next last
2013 Archives by date, by thread · List index


Hi :)
I think Progress bar and Loading bar are the same thing
http://www.google.co.uk/search?q=loading+bar&hl=en&client=ubuntu&hs=7F5&channel=fs&gl=uk&tbm=isch&tbo=u&source=univ&sa=X&ei=AnhMUYivOcLoOpfWgdAG&ved=0CDgQsAQ&biw=1024&bih=568&sei=EXhMUcKWIIOrOry8gLAD

Errr, i don't know how to show either but then i had no idea about getting the mouse arrow to 
change shape either.  

The idea is to show that it's just the 1 app that is busy doing something but that people are free 
to try usign other apps/games while they are waiting?  
Regards from
Tom :)  





________________________________
From: "mcmurchy1917-libreoffice@yahoo.co.uk" <mcmurchy1917-libreoffice@yahoo.co.uk>
To: "users@global.libreoffice.org" <users@global.libreoffice.org> 
Sent: Friday, 22 March 2013, 9:39
Subject: Re: [libreoffice-users] Changing The Mouse Cursor to an HourGlass

Hi Tom

Not heard of a "loading bar" before, can you point me in the direction where I 
can read more.

I have considered maybe displaying a dialog would some message i.e. "please 
wait", maybe even with an embedded ProgressBar if such a thing is available. I 
have seen some mention of a Uno Toolkit but have not pursued it yet.

Iain




On Thursday 21 Mar 2013 22:31:14 Tom Davies wrote:

Hi :)
I think the devs list might be a better place to ask but it was good to try 
here first.  Would a loading bar be easier?  

Regards from
Tom :)  






Hi All

I've built a database, using Base, which amongst other things produces a 
mailing list. On my 10 year old DeskTop it can take several minutes to produce 
the list.

I want to show some activity to the users, so the mouse cursor morphing into 
an HourGlass would suit me fine. 

I've got this to work as long as I don't move the mouse. The code is -


oFrame = StarDesktop.CurrentFrame
oWindow = oFrame.getContainerWindow()

oPointer = createUnoService("com.sun.star.awt.Pointer")
oPointer.SetType(com.sun.star.awt.SystemPointer.WAIT)
oWindow.setPointer(oPointer)


However, If I move the mouse the cursor reverts back to the appropriate style 
for the control which it is over. 

From several discussions there seems to be an indication that I need to 
disable the mousemotionlisteners. In going any further I seem to have hit a 
brick wall. 

Can anyone advise what I should do to keep the cursor displaying the hourglass 
during the duration of a task irrespective as the whether the mouse moves or 
not.


Thanks




-- 
For unsubscribe instructions e-mail to: users+help@global.libreoffice.org
Problems? http://www.libreoffice.org/get-help/mailing-lists/how-to-unsubscribe/
Posting guidelines + more: http://wiki.documentfoundation.org/Netiquette
List archive: http://listarchives.libreoffice.org/global/users/
All messages sent to this list will be publicly archived and cannot be deleted




-- 
For unsubscribe instructions e-mail to: users+help@global.libreoffice.org
Problems? http://www.libreoffice.org/get-help/mailing-lists/how-to-unsubscribe/
Posting guidelines + more: http://wiki.documentfoundation.org/Netiquette
List archive: http://listarchives.libreoffice.org/global/users/
All messages sent to this list will be publicly archived and cannot be deleted

Context


Privacy Policy | Impressum (Legal Info) | Copyright information: Unless otherwise specified, all text and images on this website are licensed under the Creative Commons Attribution-Share Alike 3.0 License. This does not include the source code of LibreOffice, which is licensed under the Mozilla Public License (MPLv2). "LibreOffice" and "The Document Foundation" are registered trademarks of their corresponding registered owners or are in actual use as trademarks in one or more countries. Their respective logos and icons are also subject to international copyright laws. Use thereof is explained in our trademark policy.