Community Questions & Answers

Keyboard not hiding upon blur() on iPad

Hi everyone, Have anyone had a problem where the `blur()` function was removing focus from the textField but wasn't hiding the keyboard? I'm running on iPad (SDK 2.1.4, a little old, I know, but that's another topic) and noticed this happens on a modal...

dismiss 2 modal views gets error

HI! I have 3 views. A present B modally, then B present C modally. when user selects item on C i want to dismiss both C & B and return to A. in C i implement so it will call ~~~ window.close() ~~~ and post notification to B when selection is made. B...

Modal pop ups and opacity

I'm following the Window (stand alone) example in trying to create a modal popup (Open animation fun on kitchen sink). The example button do not inherit the transparency but when I try to use an image it does. I've tried setting the opacity to 1.0 just for...

Close modal window on form submit.

I am opening a modal window to have the user enter some text into a textField then on submit I am passing that text to another page to display a list filtered by the text just passed. This all works great the problem I am having is it is opening the page...

Modal Window Smaller than Full Screen

In the image example for Modal windows ([here](http://img.skitch.com/20100406-bqb3f8pb6e4ger7wkcdcw5mbar.png), [Window API Reference](http://developer.appcelerator.com/apidoc/mobile/latest/Titanium.UI.Window-object)) The modal window is shown smaller than...

POP-UP window :)

Hello folks, Yesterday I'm able to create my own pop-up window.. and as what i promised with Sir. Trevor (a.k.a thewarpedcoder) i'll share this code to you :).. In this pop-up window i use 3 objects.. The window (container of 2 views) -createWindow 1st...

Open emailDialog in TableView

I would like to open the modal of emailDialog inside the TableView. Right now I it opens a new window, since I open mail.js (which contains emailDialog). It works, but I don't like this new window. I prefer to see the modal right away. Now I have been...

concept question about navbar in modal window

i have a situation in an app where a user has a prev/next to display windows - and this could be 1 or 50 views either way - since i dont want the prev/next in new nav window (a user could have to use "back" a number of times) i thought about...

Can't create a modal window in 2.1.3

I opened a project from last year, and when compiled in 2.1.3GA I get this warning: `[WARN] Trying to open a new window from within a Modal Window is unsupported.` I had been opening a modal window at launch: ~~~ wIntro.open({ modal : true, ...

Setting Partial Curl Distance

In the Kitchen Sink app, in the section that previews animations for modal windows, the Partial Curl demo on curls the page up halfway, but when I add this into my app, the page always curls up 95% of the way. At first I thought it was because of the...

Modal Transition Flip shows back BEFORE flipping

I got a simple modal window that opens like so. ~~~ _mapWindow.open({modal: true, modalTransitionStyle: Ti.UI.iPhone.MODAL_TRANSITION_STYLE_FLIP_HORIZONTAL}); ~~~ The window is built like so: ~~~ var _self = Ti.UI.createWindow({ title:...

Modal Window in Android

I trying to create a modal window that when opens will cover approx 80% of the previous window. The screen that I'm getting is fullscreen, completely covering the prior screen and displays the nav bar even though I have set navBar set to false. Here is...

Window Open Transition Issue

I have a problem when I want to open a window with a transition. When I click the button the window opens first then the transition happens. So what you get is: - Window A is the one that open when the app starts - Click button - Window B opens - Window...

FORMSHEET Email Dialog on iPad

[This Link](http://docs.appcelerator.com/titanium/2.1/index.html#!/api/Titanium.UI.Window) gives a wonderful example showing an iPad with a formsheet email dialog window. The code below it works to create a window. But, is there a way to simply bring the...

Setting focus on textarea doesn't work in modal window

I have a modal window with a textarea. If I call textarea.focus() nothing happens. I've been able to go around it by putting the textarea.focus() in the window's 'open' event listener. But not being able to set it directly during the creation process...

Modal Window Text Field Value 'undefined'

I have a modal window that opens a form for user input, but when I add an event listener for the done button in the title bar and then try and extract the value from the text fields, the value is 'undefined. My code is: ~~~ var moreInformationButton1 =...

iPhone modal window error

Hi guys! I encountered this error message and I haven't found any solution until now, so I decided to ask the question here. Here is the error message `While executing Timer, received script error. 'Attempting to begin a modal transition from...

Refresh window after modal close

Hello, I been trying to figure this out for hours now...and no luck, maybe I can find some light here. I have an app that popups a modal window for login proposes. That window asks the user to login and saves some info on a .db and after that it closes...

Showing 1-50 of 188 1 2 3 4