Focusing revolution app

LiveCode is the premier environment for creating multi-platform solutions for all major operating systems - Windows, Mac OS X, Linux, the Web, Server environments and Mobile platforms. Brand new to LiveCode? Welcome!

Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller

Post Reply
Srdjan
Posts: 26
Joined: Mon Aug 04, 2008 7:17 am

Focusing revolution app

Post by Srdjan » Mon Jan 26, 2009 10:02 am

I am working on simple slideshow with backdrop in background. Beacuse I want it to be kiosk like app, I am using hideTaskbar in preopenstack which works fine. Navigation uses left/right arrowkeys which works ok too...
Problem is that when I go to other app by using atl+tab and then return to my slideshow the taskbar is not hidden an I need to click within the window in order to get arrowkeys to work...
Is it possible to hide taskbar and get the focus on return to rev app using alt+tab?

Thanks

Mark
Livecode Opensource Backer
Livecode Opensource Backer
Posts: 5150
Joined: Thu Feb 23, 2006 9:24 pm
Contact:

Post by Mark » Mon Jan 26, 2009 11:17 am

Hi Srdjan,

That looks like Revolution bug. Until it has been fixed, you should be able to hide the taskbar in a resume handler.

Code: Select all

on resume
  hide taskbar
end resume
I don't know what's wrong with the arrow keys in your programme. Perhaps the text cursor is in a field when you resume the standalone?

Best,

Mark
The biggest LiveCode group on Facebook: https://www.facebook.com/groups/livecode.developers
The book "Programming LiveCode for the Real Beginner"! Get it here! http://tinyurl.com/book-livecode

Srdjan
Posts: 26
Joined: Mon Aug 04, 2008 7:17 am

Post by Srdjan » Tue Jan 27, 2009 6:01 pm

I am already using on resume handler in my mainstack with the same command(hide taskbar).

There is on rawKeyUp handler which switches images backward/forward (using arrowkeys) in the same mainstack too.

When I use alt+tab to switch back to revolution app it doesnt hide taskbar - but if I do it again then it hides it. It looks that I need to do it twice.
Plus, the app loses its focus because I am forced to click within its area in order to enable arrowkeys again...
I just want to be sure that I've tried everything before I post it as a bug...

Regards

Post Reply