Quantcast
Channel: Appcelerator Developer Center Q&A Tag Feed (currentwindow)
Browsing all 20 articles
Browse latest View live

NavigationGroup Last Child Reference

Is there a way to find out what the last child added to a navigationGroup is? So that I can discover it's parents, etc? I'm already setting a parent reference, but I currently do not have a wait to see...

View Article



A simple question about Titanium.UI.currentWindow

What I want to do is very simple but I have not managed to do it. I have made a menu using "createMenu()" and I want by clicking the Items to open a different html file from the resources folder to the...

View Article

DESKTOP API - Open new html file on currentWindow?

This is about DESKTOP API What I want to do is very simple but I have not managed to do it. I have made a menu using "createMenu()" and I want by clicking the Items to open a different html file from...

View Article

Search Bar

hi there.. i have problem.,, i have search bar in tableview in screen one and default posisition is hide..searchbar show if i press the button search.. and the problem : if i move to another screen and...

View Article

Current window not preserved on back button click in Android

Hi. I'm using Android APIs 2.2 and Titanium 1.5.1. I'm trying to implement a button which fires an event to current window (for example, winA). A modal window, winB can be accessed from winA. To get...

View Article


V8 - object reference in window property

Hi, i update to sdk 1.8.0.1 app.jscore = { // object };   ... Ti.UI.createWindow({ navBarHidden:true, exitOnClose:true, core:core, // <-- add reference }); in window:win = Titanium.UI.currentWindow;...

View Article

Titanium.UI.currentWindow.close() is closing all sub-windows and returning me...

Hello, For a new app I'm working on I'm creating my own navigation bar so I decided to have a back button present on all sub-windows under the root. Windows are launched in the following way:var...

View Article

Error with CurrentWindow operation (result of expression is not an object)

Hello, I was hoping anyone with some experience can help me solve this issue. I've created a function called myFunction() and in there, i'm doing a few things, but the code is breaking at the...

View Article


currentWindow

I am not able to use currentWindow.det_win = Titanium.UI.createWindow({ title:e.rowData.title, backgroundColor:'#fff', translucent:true, barColor:'#000' });   det_win.hideNavBar();more code follows,...

View Article


TabGroup + CurrentTab + CreateWindow

I have a single context app that uses the 'window' property instead of 'url' to open and create a new window. I do not know how to access the current window because the app does not have access to...

View Article

var win = Ti.UI.currentWindow() is not a function, but works verbose in code?

Hi there, why does: var win = Ti.UI.currentWindow(); Crash with object "TiUIWindow is not a function" error, but var foo = Ti.UI.currentWindow.myProperty; Works perfectly? Also - it's not consistent....

View Article

Current Window is not the right one

Hi all, I have a problem while navigating throughout my app. here is the code. first.js contact_button.addEventListener('click', function() { var slide_it_left = Titanium.UI.createAnimation();...

View Article

Ti.UI.currentWindow.center no longer work in Ti SDK 2.0.1GA

I am using Ti SDK to 2.0.1GA with Xcode 4.3 My code can be successfully built but prompt error when reaching the line: var x = Ti.UI.currentWindow.center.x; Here is the error message: message =...

View Article


How to Check whether window property exists

Hey , I have the following code Titanium.UI.createWindow({ url:'somenewcode.js', title:'your new window', oldWin:Ti.currentWindow // this gets you a pointer }); I want to check whether the oldWin...

View Article

How can I get currentWindow when I create project with 'Master/Detail...

After I create project with that template, I can get DetailView.js automatically. and I want to get access to currentWindow at DetailView.js but it always return 'null'var videoWin =...

View Article


Load event doesn't work

Hello everybody, I have this code: var win = Ti.UI.currentWindow;   win.backgroundImage="/images/img1.png";   win.addEventListener("load",function(e){   // Some tasks! }); The some tasks part didn't...

View Article

Mobile: Something is not right with the animation of currentWindow.close()...

Hi Guys, This has been troubling me for a while so please help if you can! With the following code: var winNew = Ti.UI.createWindow({title:'Test Window', ...(other properties) });...

View Article


Titanium.UI.currentWindow and the parameters

Hello, I would like to pass the parameters in a new Window. 1 - I create a new window ( Titanium.UI.createWindow ) 2 - I must found the parameter ( Titanium.UI.currentWindow...

View Article

currentwindow not working in device

Hi I make application for ios, and now I want make it for android, but if I try run application in device Samsung Galaxy S4, the button with name b1 from form.js not working. Any idea? app.jstry{ var...

View Article

How to close the current window from module?

I am programming app for Android on Windows 7 using Titanium SDK 3.1.2. Following some tutorials I created my windows this way (creating elements using external...

View Article
Browsing all 20 articles
Browse latest View live




Latest Images