Special

Introducing the “Welcome to Xojo” Bundle!

New to Xojo and looking for guidance? We've put together a terrific bundle to welcome you! Xojo Bundle

This bundle includes six back issues of the magazine -- all of year 14 in printed book and digital formats -- plus a one-year subscription so you'll be learning all about Xojo for the next year. It's the perfect way to get started programming with Xojo. And you save as much as $35 over the non-bundle price!

This offer is only available for a limited time as supplies are limited, so hurry today and order this special bundle before the offer goes away!

Article Preview


Buy Now

PDF:

Feature

R1 Web Updates

The latest Web app updates

Issue: 10.6 (September/October 2012)
Author: Paul Lefebvre
Article Description: No description available.
Article Length (in bytes): 2,945
Starting Page Number: 82
RBD Number: 10613
Resource File(s): None
Related Link(s): None
Known Limitations: None

Excerpt of article text...

New Session Events

Real Studio 2012 Release 1 added several new events to the Session, all of which I'm sure you will find quite handy. They are OrientationChanged, AllowUnsupportedBrowser, PrepareSession and Timeout.

OrientationChanged

This event handler is called when the device is rotated. Obviously, mobile devices are more likely to trigger this event. It supplies an angle parameter that tells you the direction (in degrees) that the orientation changed.

Use this event to perhaps re-align controls on the page or maybe even show an entirely new page.

AllowUnsupportedBrowser

This event is called when an unsupported browser connects to a web application. If you do nothing in the event, an error page is displayed that explains the problem and links to supported browsers.

But you can override this behavior by providing a custom error message (either as text or HTML). And if you're feeling adventurous, you can allow the browser to connect anyway by returning True.

...End of Excerpt. Please purchase the magazine to read the full article.

Article copyrighted by REALbasic Developer magazine. All rights reserved.


 


|

 


Weblog Commenting and Trackback by HaloScan.com