I would like to check if some text node is 'in a button'. As for checcking if the text is 'part of a link' we use isInAnchor, what would be needed for the button issue?
Thanks.
I need to detect whether the text within a cell is struck out or not. I'm using this:
Cell cc = sheet.getCell("B1");
CellFormat format = cc.getCellFormat();
System.out.println(format.getFont().isStruckout());
but I remember I read somewhere that CellFormat is deprecated and CellFeatures should be used instead. How could one find out whether a text is struck out using CellFeatures?
Currently i have sql-server nvarchar(max) column which has text that starts with
"""
The only thing that varies in the pattern is the < in the class name.
The common part is
""
Some sample values are
""
""
""
All the
These span text are present only at the beginning of the column. Any such matching span in the middle should not be removed or matched.
Whats the sql server query with regex to remove all these occurance of span?
I'm trying to validate the entry of text using Python/tkInter
def validate_text():
return False
text = Entry(textframe, validate="focusout", validatecommand=validate_text)
where validate_text is the function - I've tried always returning False and always returning True and there's no difference in the outcome..? Is there a set of arguments in the function that I need to include?
Edit - changed from NONE to focusout...still not working
i used jquery's jqrte text editor which u can download from jqframework.com/jqrte but it has many draw backs.
could any one please suggest me lite weight jquery text editor with common tools as well as table, image upload link with browse button.
thanks in advance..
Hi,
i need to dump my sql query result into the text file. i have created the following query,
DECLARE @cmd VARCHAR(2048)
SET @cmd = 'OSQL -localhost -CRN370 '
+ ' -UCRN370 -PCRN370'
+ ' -Q"SELECT TOP 5 GageId FROM EwQMS370..msgages"'
+ ' -oc:\authors.txt'
EXEC master..xp_cmdshell @cmd, NO_OUTPUT
The above query created the text file authors.txt. But the content of the file shows the following error message
" Error: Conflicting switches : -U and -E "
Any help really appreciated
You know the neat text zoom feature in VS2010 where you hold down Ctrl and then use your scroll wheel? Well, this seems to happen by default (and without ever pressing Ctrl) to nearly every file I open.
Usually I open a file and have to scroll to some lower point, but instead it starts zooming the text! I have found that by tapping the Ctrl key VS then realizes that it should scroll instead of zoom, but it's still very annoying.
Any ideas?
i am trying to do
public string str = txtText.Text;
but it wont let me use txtText.txt so how would I declare that so it can be used everywhere?
I can't use it in the button1_click event because if I do it messes it up because I am having a string retrieve from the textbox and set to the textbox so it doesn't work right so I have to have it retrieve the textbox's text somewhere else then set to it.
Hi guys
Just wondering how you would go about creating the effect as seen in the following image:
Image
The part i'd like to attempt to recreate is the gradient within the text field itself along with the line border surrounding the text box.
Thanks.
Hi,
I have here a view with an image and the text view (with finite frame size) .
I've already implemented the textview keyboard notification but the problem is that when inputting in the textview it still behind the keyboard (the text is not visible). It seems this problem occur when I have an Image view as background.
Pls advise me how to fix this.
Here's my sample code:
http://snipplr.com/view/35758/textview-input-is-behind-the-keyboard/
Thanks
Hi all
I use a Wizard control in the page with some steps. Is there possible to change the text for Next button of each step. The text for each step is different.
Best Regards,
I need to Pass some data to a text file and save that text file in a SQL Server 2005 database.
Then I'll need to be able to load that textfile into a C# WinForms DataGrid.
How do I do that in C#?
I'm implementing a little chat application where I receive messages from a server, which I would like to display to a user. As I'm more of a backend guy, and lacking experience in frontend development, I don't know which element would be suited best to output the text.
Two options come to my mind:
Using a plain div
Using a textarea (as far as I understand, this is intended to be used for input).
(Would also be nice if I could somehow fade in the text using JQuery).
I'm implementing an MD-5 Hashing algorithm and I want to convert the text I have to bits so I can start manipulating them. As you know Hashing require taking block of bits and then manipulating them. There are many ways to do that but I can't determine the best/easiest way to just convert the text (string) into array of bits. Any clue ? In C#
I've got a cocoa application that reads in a text file. I'd like to display that text in a multi-line label, but I for the life of me can't figure it out. I opened up my .nib file and poped a multi-line label down but after that I'm stuck.
I don't have any experience working with XCode or Cocoa, mostly Eclipse, Visual Studio, and pretty much every other IDE except XCode which seems very foreign.
I was wondering if there was any way to, using jQuery, animate properties of text-shadow like size or colour.
It's annoying that there aren't individual properties like text-shadow-color instead of the statement only being available in combined form.
i have text such as
http://pastebin.com/H8zTbG54
we can say this text is set of rules splitted by "OR" at the end of lines
i need to put set of lines(rules) into buckets (bash array members) but i have character limit for each array member which is 1024
so each array member should contain set of rules but character count for each array member can not exceed 1024
can anybody help me to do that
solaris 10
I am looking to split up multiple lines of text to single them out, for example:
Url/Host:ftp://server.com/1
Login:Admin1
Password:Password1
Url/Host:ftp://server.com/2
Login:Admin2
Password:Password2
Url/Host:ftp://server.com/3
Login:Admin3
Password:Password3
How can I split each section into a different textbox, so that section one would be put into TextBox1.Text on its own:
Url/Host:ftp://server.com/1
Login:Admin1
Password:Password1
Thanks in advance :)!
Hi, i am building a context menu for a WPF c# application and just for simplicity's sake, if i have text and then i add an image, the text is always aligned at the top of the menu items cell and i cant figure out how to align it to the center. i have tried the veticalalignment property and veticalcontentalignment property but they dont help.. any ideas?
I have a contenteditable div where I need to insert text at the caret position,
This can be done in IE by document.selection.createRange().text = "banana"
Is there a similar way of implementing this in Firefox/Chrome?
(I know a solution exists here , but it looks sorta clumsy)
Thank you!
G'day friends
i want to justify my text using sIFR, Whe i researched on that, i found that sIFR just have 3 options, textalign=center/left/right. But i wanna know how to justify the text..? is there any way i can use textalign=justify ?
Please help
Kind regards
I am running the same AIR application under windows, linux and Mac OSX
Windows and Linux look fine, but under mac OS-X the controls are not showing any text.
Button, Tooltips, Labels, Check boxes, everything is blank.
I just ported that app to Flex 4. Flex 3 versions of the same app on the same OSX machine works.
How can I get controls to show text under Max OSX?
Is this a font problem?
using the g.drawText function (two calls one for each text) is it possible to write text in two different sizes?
g.drawText("abc",0,0);
//whatever code to change font goes here
g.drawText("def",30,30);
I have some financial values stored as text in a mysql db. the significance of financial is that negative numbers are stored enclosed in paranthesis. is there a way to automatically get the numeric value associated with that text. (like '5' shoudl be retuned as 5 and '(5)' should be returned as -5)
Hi I am new to IPhone paltfom.
And I wonder how can I underline a text with UIWebView?
I know this is quite simple, but I couldn't get any clue from the menual
can anybody show me some code snippet?
The text should be a passed-in parameter.
thank you very much.