I am using check boxes for non touch device. I want when the the focus come from above field to the check box, the rectangle box of the check box should be highlighted. How it is possible?
Related
When publishing a dashboard from PowerBI Desktop to PowerBI's web interface, I've encountered spurious black dots appearing along the bottom of a text box.
I've tried moving the text box, checking other objects nearby, and changing its border settings, but the dots are definitely being produced by the text box itself, regardless of its attributes.
What could cause this?
Not all text boxes and fonts display identically in Desktop and Online. Check that the word spacing in your text box has not increased when you published it - if additional spaces have appeared and pushed one or more words off the end of the text box, these may have appeared on a second line, and then been clipped by the text box size to only show the tops of the lettering.
Right before I enter on SO, I detected that when I select an item on Project>Options dialog, it became dark blue with an black font (in other words, almost unreadable). Other items (not highlighted) are ok.
An example: when you enter in the Project>Options dialog the item highlighted is the "Conditional defines" on the Compiling Options notebook. In this case, it became unreadable. If I select another item, like "DCP Output Directory", THAT item become too dark and the other become readable. Here's an example where text below 'Conditional defines' is unreadable:
Because of that, I guessed that was an problem with the color scheme used by that dialog.
Looking on the "Environment Options" of the IDE, I didn't found an specific setting for Project>Options.
Anyone know where is configured the colors used by Project>Options... dialog?
I discovered while searching on Google (which doesn't gave any good clue) that the Object Inspector colors are also used by Project>Options notebooks. In particular, the highlight color is from 'Highlight Color' of OI and the text color is from 'Name' color of OI.
When I changed from the custom scheme to the default, all became ok...
I have looked at example code that uses the native textField on Android. I would like to be able to type into the text field without having to touch a button to show the text field, and then touch inside the text field to start typing. Is there a way to show the text field and set focus to it, where I can start typing without touching other buttons. I am working on an app and I don't want the users to have to take extra steps to begin typing text. Thanks for any advice.
You can call native.setKeyboardFocus(yourField) to show the keyboard.
http://docs.coronalabs.com/api/library/native/setKeyboardFocus.html
I am making an application for iOS and eventually Android with Adobe Air.
It's a crossword puzzle. Many crossword puzzles apps/games have this feature where you can tap a letter square and the selected square will highlight along with the rest of the letters in the word. I.e. you tap the first letter square of a five letter word and all letter squares that make up that word highlight.
Another thing many crossword puzzles do is to allow the user to tap the same square again and changing the orientation. If you would for example tap the first letter square in the upper left corner of the puzzle once, it would highlight the word that goes horizontally from the corner. If you would tap that same letter square again, it would highlight the word going vertically.
I have all of this working as intended but my problem lies with the iOS softKeyboard. When the softKeyboard is up it won't register the tap. I have to tap away to hide the softKeyboard and then tap the same letter square again.
The square is just a simple sprite with a TextField on top of it.
Has it something to do with the softKeyboard being up or maybe because the TextField has focus it intercepts the event dispatching?
One interesting thing to note is that when I tap the letter square the second time, with the softKeyboard up and the cursor blinking in the TextField, I get the Paste option hovering above the textfield. Perhaps that is what is intercepting my listener? If so, can it be disabled?
Can somebody shed a light on this?
For the letter square I use
square.addEventListener(TouchEvent.TOUCH_TAP, tileTapped);
Mobile AIR apps replace TextInput and TextArea with StageText by default. StageText allows access to native input behaviours (copy/paste, predictive text etc).
To remove this functionality, explicitly define the skin classes for TextInput and/or TextArea:
<s:TextInput skinClass="spark.skins.mobile.TextInputSkin" />
<s:TextArea skinClass="spark.skins.mobile.TextAreaSkin" />
This way StageText will not be used and you wont get the annoying paste option popup
I have a <div> with some text and I would like the user to be able to natively select the text. The issue is that when I attach any mouse event handler to the element or it's parent (besides document element) the selection won't work any longer.
This could be observe on the site linked below. If you sink mouse events the selection won't work for the first line.
http://rafalrybacki.com/lab/selection_ios/
What happens after clicking "sink mouse events" is:
main.sinkEvents(Event.MOUSEEVENTS);
Checked with iOS5.
I would like make the text selecting work (keeping the mouse events). How to do this?