hi,
i am pretty new to the gwt framework and i am using it for building the ui of my web site,
i would like to make the text box have a text in it that once the user clicks on it for the first time, the text disappears. and in the rest of the time it behaves like a normal text box
any ideas on how to do it?
...
I am displaying Mac Address in a WPF application.
I want that mac address to be selectable to be copy/paste, so I am using ReadOnly TextBox
When the user double click I want to select the whole MacAddress
The default behavior by the WPF and Windows, is by double click select part of the number between colons
so when the mac address is ...
I have a PHP form, with various input fields and textboxes. If you submit and go back, all of the data that was submitted in the input fields remains, however the textboxes are blank. How can I get the data entered in the textbox to cache like the regular text inputs?
...
I have a textbox that I want to change text property of it with javascript, but I can't do.
My sample code below, Can anyone say what is wrong? Thanks...
function openAdresYeni(p) {
document.getElementById('hdnAdresIndex').innerText = p;
}
}
...
hello all,
please tell me how to give the id to the html textbox
my html tag looks like this
<%=Html.TextBox("username")%>
please help me
Thanks
Ritz
...
I cannot seem to figure out how to send a text box control to print in Java.
The Program creates word search puzzles, now I would like to print them.
I simply want to print the text Box control as it is... But I had to try other methods as follows.
My first problem is when I attempt to send it txtEasy.getText() it attempts to prin...
I'm trying to create a TextBox that only allows positive integer input, and that should display the input with culture-specific formatting automatically (in this case en-US, so it should use the ',' sign as a separator for larger numbers). So:
An entry of 1000 should show as '1,000' in the TextBox
An entry of 1,000 should show as such,...
Hai Guys, I have a multiline textbox and I have set MaxLength="160" ,also i have a label indicating number of characters remaining.... Now i want to get the number of characters selected by the user he may delete it and i have to add to the count representing total number of characters left inside that label..... I want this to be done i...
Hai Guys,
How to add events like oncopy,onpaste to a dynamically generated textbox in a windows form applications...
...
Hai Guys,
I want to set cursor at a position of length 14 on a textbox which will not have a value.. Iknow initially cursor will be at 0 i want it to be at 14
...
Hello, how I can use TextEdit component for passwords input?I want to se some "*" or "#" or another symbol when I type the password. Is there some property, where i can set such a thing?
...
Hello...
I need to validate a textbox as follows:
When the user changes focus from that textbox, I want to show the properly formated currency value, but without lost the real user-entered value, Because i need it for later Calculations, and if is the case, for later editing from the user...
Can i do that? i don't want to have another...
Hi
Our application starts several background processes and put their output into TextBoxes - each in a separate TabItem in a TabControl. I want the TextBoxes to automatically scroll to show the last output line, so in the data handling function that adds the output/error line to the text box, I also call TextBox.ScrollToEnd():
void OnSe...
I load files to a TextBox, and I would like some of the information to be hidden and replaced with a LinkLabel (that says something like 'click me to see more'). only when the LinkLabel is clicked will the extra information be shown.
the information to be hidden is marked with "/" in the file.
Can you think of a way to do this? Is it pos...
I need to draw a textbox in a Compact Framework app, but using directly a Graphics object.
I've found the Control.DrawToBitmap method, which I could use for drawing with GDI, but it's not available on Compact Framework.
Any hints?
...
I have a textbox in a listview itemtemplate. I want to change the background color of the textbox to red whenever the length is greater than 75 characters, and I need the background color to update as the user types. What is the best way to achieve this in WPF?
...
The standard WPF TextBox control does not scroll the overflowing text into caret position as one types text into the control. Is it possible to create this behavior in a singeline WPF TextBox control? If so - How?
An example of this behavior is the default way a HTML input type=text acts in most (if not all?) browsers.
...
Hi all,
I want to combine a textbox and several validator controls into 1 usercontrol.
Is this possible with the intent to keep some fields dynamic like
textbox:cssclass
textbox:id
textbox:width
I'm asking this because i find myself putting a lot of validator controls
for every (same textbox type) field in my form and it's getting kin...
I have a form that has textboxes that display various code values. If I click within one of the textboxes that displays a code, how do i show the description value from the listview subitem into an adjacent textbox? The user clicks on a button to select a list of codes from a Listview that displays both the code and description values fr...
Hi,
How can I link a variable and a text box in the simplest possible way?
I.e. If the user changes the text box contents the variable changes and if the program changes the variable the text in the text box changes.
N.B. I'm using the swing and awt libraries.
Thanks in advance.
...