text

How can I set the android preference summary text color?

On my preference screen I have a preference that when clicked opens a color picker dialog. What I would like to do is when the user selects a color, that the text summary of the preference is displayed in that color. I know I can have the summary set up like this, Currently <font color="#ff0000">this color</font> and have it display in...

Copy and paste text with automated URL added

Hi, I just copied a couple of lines of text of businessinsider.com in to a word document. With that I pasted the text, two lines were automatically aded. It sais read more: http:// the url of the article. I was surprised so I tried the same copy and paste with text from other websites but I didn;t got the same result. I've looked in th...

Crystal Reports: Text field flow justified around image/margin indentation

I'm creating a report that outputs a letter. The first page contains is a large left margin containing static company information. The letter output can be multiple pages, however I only want the text on the first page indented to the right away from the left margin. How can I accomplish this with one text field (the letter body is all o...

Large text file dictionary of random words for benchmarking purposes?

I was wondering if anyone could point me to a very very large dictionary of random words that could be used to test some high performance string data structures? I'm finding some that are in the ~2MB range... however I'd like some larger if possible. I'm guessing there has to be some large standard string dataset somewhere that could b...

Python trailing comma after print executes next instruction

If a trailing comma is added to the end of a print statement, the next statement is executed first. Why is this? For example, this executes 10000 ** 10000 before it prints "Hi ": print "Hi", print 10000 ** 10000 And this takes a while before printing "Hi Hello": def sayHello(): for i in [0] * 100000000: pass print "Hello" pri...

How to display pictures, video, text, and audio all on the same view on the iphone?

I am trying to have a view that has four buttons on the top: a picture button, video button, audio button, and text button and an imageView below the buttons. If you click on the picture button, the imageView displays the picture. but if I click the video button i want the imageView to display a picture of the video that you can click an...

Output the text

Hi, Is there a way i can output in SQL Oracle as follow with a single quote at the beginning and end, plus a comma (,). Many thanks in advance! original output: Number 0910000001 0910000002 0910000003 0910000004 0910000018 0910000019 0910000020 Desired output: Number '0910000001', '0910000002', '0910000003', '0910000004', '09100000...

Idea for Implementing new or modifying existing algo.

Hello Everyone, I am doing a class project. I want to implement new algo or modify existing ones (like dimension reduction, clustering, bagging, boosting, SVM, FPtree, text mining, etc). Please give me some ideas for project. Thanks ...

Excel VBA puts extra blank line at end of text file when exporting

I have an Excel VBA macro that outputs to a text file. There is always a blank row at the bottom of the text file and I am having trouble getting rid of it. Any useful suggestions would be greatly appreciated! Thanks Here is a sample text file generated from this code: link. You would probably have to download it and open it in notepad ...

Text Filter: strange behavior with SimpleCursorAdapter

Hello all I have a problem with a filter on my listview. In fact that work pretty well with an IndexAdapter, but not with a SimpleCursorAdapter. In the following example, if isCursor==false, the filter work pretty well but if it is == true, the filter does not work! By the way, the adapter work pretty well. if(isCursor){ mCursorA...

Flash Dynamic Text Field - Embeded Image Shrink and Stretch when appying width and height to dynamic text field

Pardon me if this post was already answered in any post or forum, I tried searching but could not able to find any solution. Please help! ACTION SCRIPT CODE private function addContent ($mcBox,$x,$y,$w,$h):void { if($mcBox.getChildByName("TextAreaMC")){ $mcBox.removeChild($mcBox.getChildByName("TextAreaMC")); } var padd...

Item in listview to be displayed in single line each

Hi there, I have created a simple listview and added a few items in it. I am trying to add really long text in each item. I want this text to be displayed in single line only. the text that does not fit should fade in the corners. I have seen this kind of list in samsung galaxy s but somehow I am not able to achieve this. Can anyone hel...

how to filter Excel data, by text length?

Hi. In Excel 2007 , i want to filter rows by one of my columns text length, eg. hide the rows with text lengths less or greater than 12 characters. what should i do? Thanks. ...

Unable get Label.text in ASP.Net Repeater using FindControl

I can access the text within a textbox within my repeater, but I am unable to pull the text value from a label within my repeater. The repeater is populated from a datatable with row(x) being filled by sqlreader(x), I don't know if that makes a difference. I cannot use javascript for this. I need to access the label value from the codebe...

Android: Launch activity from clickable text

Is there any way I can launch an activity from a portion of a string. eg I have this in my strings.xml file: <string name="clickable_string">This is a <u>clickable string</u></string> I would like the text between the u tags to be underlined and launch an activity when clicked when inserted in to a TextView ...

importing ofstream to sqlite db

Hi, Right now, in my c++ code, I am writing my ofstream to an output xls file. I also want to direct it to a sqlite database from my c++ code. Is there anyway for doing this? ...

Python text to image generation problems

I'm using PIL to load in various fonts and draw text to images. At the basic level, it all works. However, I am running into a number of problems such as letters being clipped (mainly cursive or stylistic fonts with lots of tails and such). textsize() does return width/height values, yet letters are still clipped. There also doesn't see...

ActionScript 3.0

Hi . Can give an example of how to send jpg and some texts from flash to php in ONE CLICK ? I`m realy annoyed of that .. ...

Clearing a text written on a NSRect

Hi, How to clear a text written on a NSRect? If I write anything on the previously written rect, it just overlaps! Thanks in advance. ...

Drawing text with gradient fill in Cocoa

Hello all, I have a project that needs to draw text in a view with a gradient fill in a custom subclass of NSView, like this example below. http://cl.ly/2znx I'm wondering how I can achieve this, as I'm pretty new to Cocoa drawing. ...