textfield

ActionScript 3 Distributing TextFields

Actionscript 3 I have been wrecking my head most today on the best way of going about this, but i end up over complicating what i would believe to be a simple task. I have some TextFields lined up next to each other all fixed width, i.e ( [ width ]) tf1 tf2 tf3 tf4 tf5 [ 80 ][ 50 ][ 50 ...

How can I auto focus on a textfield using Win32 GUI in Perl?

I'm following an online Win32::Gui tutorial to learn how to add a GUI to my Perl application. So far everything's been good. But I'm having some pesky small problems. So I'm asking for help here again. One problem is, I have to click my mouse in the textfield before I can type. I tried something lie this: $Object->AddTextfield( ...

TextField getCharBoundaries not giving proper co-ordinates

Hi all, I'm developing one AS3 application in which I need to add blank editable box between string. I use tag to define blank. The problem I'm having is, getCharBoundries may b not giving proper bounding box for characters. to get boundingBox of word, I use getCharBourndries of First char of word and last char of word and calculate x,...

AlertView with TextField Problem.

Hey guys, I'm having trouble obtaining the value/text from a AlertView TextField. Maybe someone can look at my code and see what I'm doing wrong. Every time I press OK, the label get's a (null) value. I must be missing something here. TextFieldINAlertViewController.h #import <UIKit/UIKit.h> @interface TextFieldInAlertViewControlle...

Setting textfield value back to null for login j2me program

Below is some code which simply allows a user to log in, however i want to be able to reset the value of the text fields userName and password to nothing in the else statement if the user enters the name or password wrong so that is no longer displays their previously entered details. Can anyone tell me how i do this? Also how do you set...

Flash Custom Font with Dynamic Text Field

I am creating a textfield using this code: window_title = p.createTextField("border"+diepixWindow.NextBorderDepth, p.getNextHighestDepth(), wx1+TITLE_OFFSETX, wy1+TITLE_OFFSETY, ww, 64); var fformat:TextFormat = new TextFormat(); fformat.font = "TF2 Build"; fformat.size = 36; window_title.setTextFormat(fformat); window_titl...

Flex: How to embed fonts with CSS

Hello, I have two questions: I am trying to embed fonts via this page in the livedocs. Can anyone tell me what I need to do to use an external style sheet? Should it be a style sheet or an mxml file? I saw this tutorial, which offers quite a bit of good information (some of which I also found in the livedocs) via the comments. EDIT...

AS3 TextField - unwanted carriage return when setting value to ""

I have an input TextField and have a KeyboardEvent.KEY_DOWN even listener on the stage to listen for the Keyboard.ENTER event. The event listener adds the entered text to an array or whatever, and then clears the TextField. The problem is that when the Enter key event fires and the TextField value is set to "", it leaves a carriage ret...

YUI Calendar, How can I implement it like the jQuery UI Calendar?

With jQuery UI I can simply use .datePicker() or similar and it will automatically attach it to the focus and blur events of a text field. How can I do this with YUI calendar, sample code would be great!! Thanks. ...

JQuery append text to text field

Sorry folks, still being thick on JQuery. Had great help creating a selectable ul li list like this $(document).ready(function(){ $('.selectoption li').not(':first').hide(); $('.prev, .next').click(function() { // Determine the direction var dir = $(this).hasClass('prev') ? 'prev' : 'next'; // Get the ...

Change TextField selection color in AS3

How can I change the select ("highlight") color of an TextField in actionscript 3? I've got an input textfield with white text on a black backdrop and as a result, selections are invisible, which is horrible for usability. Thanks! ...

iPhone keyboard with 0-9 and decimal point?

I'm writing an iPhone app that has a textField for the user to enter a "dollar amount" like 12.34 None of the SDK keyboards seem to have a decimal point. (OR do they?) So I decided to just let the user type in "1234" and I would add the decimal point for him... as he types.... by using EDITING CHANGED. But each time my code adds the d...

Disable HTML escaping in Django's TextField

How can I turn off Django's automatic HTML escaping, when I write into model's TextField? ...

FBConnect (IPHONE) , custom publish dialog

Hi all, is possible custominzing the FBdialog??, i have already modify the attachment on the dialog when the user wants to publish a post; but i need to make hidden the textfield that the dialog presents...there is a way to access to this property or it's just a webView that load a page from facebook's server? sorry for my bad english!...

Speedup setTextFormat()

Hi, i've a text with a very long list of words to highlight and calling setTextFormat() one for each word takes ages. There's some way to speedup this operation ? i've tried with a TextField not instantiate in the DisplayObject's list, to bypass the rendering stage but i've founded that the performance are the same. Any ideas ? ...

Actionscript TextFormat resets when changing TextField.text

I have a TextField that is formatted with bold and blue. Then, when I change the TextField.text, the formatting of the textfield resets and I have to setTextFormat again. This is the code I use to set my TextField. myText is the variable for my TextField. (this is just part of my code, it is part of a function for my EventListener. ...

Displaying Flash output window data into text field

Hi, is it possible to display the output window's contents into a textField so it can be seen in the SWF? Has anyone tried this? ...

iphone textfield focus clears the value

Hi, I have 4 textfields in a screen. Consider all textfields have some text in it. When i focus/ click on any textfield the value previously entered in the textfield disappears. How can I restrict this behavior? Any ideas? Thanks, TF ...

How do I hide the textfield cursor on the iPhone?

How do I hide the textfield cursor on the iPhone? ...

Saving new lines in a textfield to mysql field

Quick and simple (I hope) question; If a user inputs new lines in a text field, ie: 43 Dennis Beeston How can I save the new line rather than have it transferred to the mysql server as one line?! I am using PHP and mysql. Many thanks ...