Hi all,
I am trying to implement Autocomplete in a text area (similar to http://www.pengoworks.com/workshop/jquery/autocomplete.htm).
What I am trying to do is when a user enters a specific set of characters (say insert:) they will get an AJAX filled div with possible selectable matches.
In a regular text box, this is of course simple...
I am working on an application which draws a simple dot grid. I would like the mouse to snap between the points on the grid, eventually to draw lines on the grid.
I have a method which takes in the current mouse location (X,Y) and calculates the nearest grid coordinate.
When I create an event and attempt to move the mouse to the new co...
Windows Form
I'm using the DragOver event on a layoutpanel and the DragEventArgs returns the X/Y coordinates of the mouse in relation to the screen. I know there is a function to translate this in to the position of the mouse over the control, but I'm having difficulty locating it.
...
I have a standard WinForms TextBox and I want to insert text at the cursor's position in the text. How can I get the cursor's position?
Thanks
...
Hello, sorry first my English language is not good.
I have developed this autosuggest script for IE (script demo). The method is from this author: character position in textarea.
The problem is when I put into the textarea dir="rtl", while the Arab written from right to left. Then I can not define the position from cursor. And OffsetLef...
I'm working with a WPF app, more specifically a Canvas with draggable elements.
Once an item is being dragged, I'd like to limit the scope of cursor movement to inside the canvas where the items are being dragged about.
The event which can start a drag is shown below
private void WidgetCanvas_PreviewHeaderLeftMouseDown(object sender,...
Basically two parts of the question.
How to put explanatory text inside textboxes in a form (like writing e-mail in the text area of a text box in a form) with styles (i.e. greyed out so that meant to suggest) like on facebook homepage.
How to put cursor focus on a particular form-field as soon as the page loads (like google sign-in or...
Hi I need to move caret to end of 'contenteditable' node like on gmail notes widget
i read threads on stackoverflow, but that solutions use input's and doesn't work with content editable
...
Visual Studio tracks cursor positions and lets you move forward and backward through these positions. For example, you can type Ctrl+- to navigate backwards and Ctrl+Shift- to navigate forwards.
I see that XCode tracks the history of which files you've visited, but does it also allow me to go forward and backward through the cursor loc...
Hi There,
I am after a definitive, cross-browser solution to set the cursor/caret position to the last known position when a contentEditable='on' <div> regains focus. It appears default functionality of a content editable div is to move the caret/cursor to the beginning of the text in the div each time you click on it, which is undesir...
I need the characters/escape sequences that move the console's cursor position. It would be nice to know the left/right/up/down cursor controls, but if that's not possible, a home (go to the first character of the first line in the console). Thanks in advance.
...
Hi there
Is it possible to change the position of the cursor in a windows mobile app?
I wanted the show Cursor.WaitCursor icon but not in the middle of the screen
as default. I want to move it to a corner or something like that.
Any idea?
...
i'm wondering if emacs has these cursor movement commands built in or if i'm going to have to write them or find a snippet somewhere. i find them pretty spiffy and use them in vim regularly. i haven't found them in emacs' documentation so far.
in vim, they look like this:
shift-h -> move cursor to the top of the screen
shift-m -> move c...
Is it possible to make Java program that will determine the absolute position (x,y on screen) of blinking keyboard cursor? That cursor can be in any text editor.
...
I try to show popup dialog at text cursor position in editor. How can I get text cursor position of active editor (Point) and show popup dialog at this point?
...
This is not an Eclipse-programming question, but rather a question about the Eclipse user-interface in general.
I am writing a verilog source-code in an Eclipse text-editor using the simplifIDE plug-in. I want to align my code so that variable names always start at offset 33 (32 spaces from the left margin)
Does Eclipse have an option...
I have a flash cs3 file where I want a mask to move on the y axis (up and down) when the user is scrolling over the navigation area.
In my code, I have:
maskMC.startdrag();
How do I limit the area where the mask will move, then make it return it back to it's original position when the user moves away from the specific area (in this ca...
I want to be able to get the current location of the mouse pointer, relative from where my form window is. So if I would put my mouse on the top left of the form, it would give me the x and y values of x=0 and y=0, while the form itself might be in the middle of the screen.
Also I want to set the position of the mouse.
How can this be ...
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
...
hi there, how can i get cursor position in a textarea using jQuery? thanks
...