• RELEVANCY SCORE 4.27

    DB:4.27:Keyboard Cursor Pos js





    How can i find the current position of the keyboard cursor in a textarea?

    DB:4.27:Keyboard Cursor Pos js


    myTextArea.selectionBeginIndex

    Sincerely,

    Michael

  • RELEVANCY SCORE 4.20

    DB:4.20:Textarea Cursor Position sz





    How can I get the current cursor position in the TextArea?.

    DB:4.20:Textarea Cursor Position sz

    No way for me to test from here, but does selectionActiveIndex and selectionAnchorIndex return the same value for the current cursor position? There is a Cursor class that gives a position, but I do not see how that class ties into the TextArea class (even though it indicates that it does).



    o2 interactive | FaceBook | Blog | Twitter

  • RELEVANCY SCORE 4.00

    DB:4.00:Getting Cursor Position In Richtexteditor kk




    I found a solution for this a couple weeks ago online but
    can't find it now.

    Basically I need to grab the current cursor position within
    the RichTextEditor textArea. We can start there. I am actually then
    using the FABridge to expose it but first things first. Can someone
    please tell me how to get at this value so I can insert new text at
    that position?

    DB:4.00:Getting Cursor Position In Richtexteditor kk

    var mySelectedTextRange:TextRange = new TextRange(myTextArea,
    true);

    Look up "Selecting and modifying text" in your docs for more
    info :)

  • RELEVANCY SCORE 3.99

    DB:3.99:Adding Lov Value Into Text Editor At Cursor Position 1z


    Does anyone know of a way to add a value from an LOV into a text editor, inserting the value at the current cursor position (ie. possibility in the middle of lines of text).

    A few ideas conceptual ideas (but couldn't find a way to code it):
    * Copy the selected value from the LOV and paste it programmatically into the text editor (like simulating a Ctrl-C and Ctrl-V)
    * Figure out where the current cursor position is in the text editor, and then concatenate the first section with the LOV value with the last section

    DB:3.99:Adding Lov Value Into Text Editor At Cursor Position 1z

    Hi, I tray exactly what you said, and it doesn't work :(

  • RELEVANCY SCORE 3.82

    DB:3.82:Cursor Position And Multipule Instance 1z


    Hi Ev.Body

    When I Activate Lov , I want my Cursor Position to after the percentage sign in Find
    ...

    When I run my Main Form 'MDI' i would like to check whether it is already open or not
    how can I...

    Thanks
    null

    DB:3.82:Cursor Position And Multipule Instance 1z

    Hi Ev.Body

    When I Activate Lov , I want my Cursor Position to after the percentage sign in Find
    ...

    When I run my Main Form 'MDI' i would like to check whether it is already open or not
    how can I...

    Thanks
    null

  • RELEVANCY SCORE 3.73

    DB:3.73:Waveform Graph And Cursors Position 3x



    Dear:I analyze an FFT graph that has different cursors. By code, do that cursors are multiples of a value in a numeric control (x1, x2, x3, x4, ...) through the property "Cursor Position: Cursor X". The problem that I find is that when looking at "Cursor Legend" some cursor position on the chart (time axis) is not correct when the time scale (x-axis) is great, except for some matching cursors position.But when I decrease the scale of the time axis, all cursors tend to position themselves in the correct location.Someone can tell me how I can solve this problem?I need to take cursors correct position, independent of the size of the time scale.

    Thanked since alreadyBest Regards

    Jaime










    Attachments:







    FFT y cursor position (scale High).png ‏34 KB

    DB:3.73:Waveform Graph And Cursors Position 3x

    When the range on an axis is large, cursor positions are inherently estimations since the cursor obviously can't fall between two screen pixels.Mike...



    Certified Professional InstructorCertified LabVIEW ArchitectLabVIEW Champion"... after all, He's not a tame lion..."Be thinking ahead and mark your dance card for NI Week 2015 now: TS 6139 — Object Oriented First Steps. (sorry, no link yet to the to the abstract)

  • RELEVANCY SCORE 3.66

    DB:3.66:Macro To Add Text To Cursor Position In Outlook 2010 Email am


    Hi,
    I would like to write a macro to insert a text in a message body. The text will be added to the current cursor position.
    Thanks,
    Guy Zommer

    DB:3.66:Macro To Add Text To Cursor Position In Outlook 2010 Email am

    In the absence of any information about how and when this is going to be used, the following Outlook macro will type the text string Enter this text at the cursor at the cursor

    Sub InsertText()
    Const sText As String = Enter this text at the cursor
    On Error GoTo ErrHandler
    If TypeName(ActiveWindow) = Inspector Then
    If ActiveInspector.IsWordMail And ActiveInspector.EditorType = olEditorWord Then
    ActiveInspector.WordEditor.Application.Selection.TypeText sText
    End If
    End If
    Exit Sub
    ErrHandler:
    Beep
    End SubGraham Mayor - Word MVP
    www.gmayor.com

  • RELEVANCY SCORE 3.66

    DB:3.66:Thread: Cursor Position - When Fwd'ing Emails s1


    When fwd\'ing an email, the default cursor position has changed to the body, not the To: field. Am unable to find a setting to change this default back to the original local.

    DB:3.66:Thread: Cursor Position - When Fwd'ing Emails s1

    g, I\'m still not convinced they put it in especially for you. That said,

    the behaviour is scheduled to change back to normal in the next round of

    patches

    Cheers Dave

    -' + '-

    Dave Parkes [NSCS]

    Occasionally resident at http://support-forums.novell.com/

  • RELEVANCY SCORE 3.66

    DB:3.66:How To Tell The Position Of My Cursor? ax


    I wish to find out the position of my blicking cursor on a string so that I could cut whatever before that. What is the actual value for the cursor position. We had readkey() or something else to find our the asc value?Thanks and have a nice holiday.

    DB:3.66:How To Tell The Position Of My Cursor? ax

    Sorry, just came back from the holiday. It works great.Thanks a lot, Naom.

  • RELEVANCY SCORE 3.63

    DB:3.63:Richtexteditor - Insert Character At Current Cursor Position? kz


    I've been looking everywhere but I can't find a way to insert
    a character in a RichTextEditrs current cursor position. I'm trying
    to create a soft keyboard for spanish special letters and symbols
    for an application.

    DB:3.63:Richtexteditor - Insert Character At Current Cursor Position? kz

    There is a property
    selection of the RichTextEditor control. This is a reference
    to a TextRange, which is the current selection or if nothing is
    selected, it's a TextRange of 0 length at the current position of
    the cursor.

    All you need to do to insert a character at the current
    position is:

    [
    your rich text editor].selection.htmlText = "Insert text";

  • RELEVANCY SCORE 3.62

    DB:3.62:How Can I Get The Cursor Position In A Text?(In X,Y Coordinates) dz


    Hi

    Im trying to open a menu at the current position of the cursor.

    i can get the cursor position in characters, but i need the (x,y) coordinates for the blinking cursor.

    (the (x,y) coordinates of the character before the cursor would be fine too)

    Anyone knows how to get it?

    Thanks for help

    DB:3.62:How Can I Get The Cursor Position In A Text?(In X,Y Coordinates) dz


    We aren't planning to change this API, we just wanted to reserve the right to change it in future.

    - robin

  • RELEVANCY SCORE 3.61

    DB:3.61:Locating The Cursor Position zs


    Is it possible to locate the cursor position in a text item? in other words can I find the number of characters to the left of the cursor in a text item?
    I really appreciate any kind of input on this.
    null

    DB:3.61:Locating The Cursor Position zs

    I have to insert user selected variables that show up in a LOV into the text item at the cursor position.
    A sloppy workaround for this problem is asking the user to put in a pre defined symbol where ever he/she wants to insert the variables and then replace the variable with the value selected from the LOV using the REPLACE function. There is always a chance of error here!
    Instead if there is a way to know the cursor position, like the no. of characters to the left of the cursor or the cursor co-ordinates.............

  • RELEVANCY SCORE 3.60

    DB:3.60:Cursor Highlight 1m


    hi all
    i have a form
    what i want when my cursor move form one item to other the current position of the cursor highlighted

    Thanks And Regards
    Vikas Singhal

    DB:3.60:Cursor Highlight 1m

    Did you put :SYSTEM.CURRENT_ITEM in colons ' ?

    It should be like this

    SET_ITEM_PROPERTY(:SYSTEM.TRIGGER_ITEM, VISUAL_Attribute, '1stVisualAttributeName');btw... you shouldn't use SYSTEM.CURRENT_ITEM, use SYSTEM.CURSOR_ITEM or SYSTEM.TRIGGER_ITEM instead.

  • RELEVANCY SCORE 3.59

    DB:3.59:Getting And Setting The Mouse Cursor Position 99


    Hi people
    How can i get the current mouse position, and how can i set the mouse position on the window.
    cya

    DB:3.59:Getting And Setting The Mouse Cursor Position 99

    In the 'Search Forum' box at the top of the screen, try these searches

    get mouse position

    set mouse position

  • RELEVANCY SCORE 3.58

    DB:3.58:Robot.Mousemove Reflects Cursor About Point j3


    The subject just about says it all. The code is just

    Robot rbttutor = new Robot();
    rbttutor.mouseMove(50, 50);

    After a very confusing few dozen tries, it occured to me that the mouse wasn't moving about randomly, but it's coordinates would be reflected about 50,50. That was quite an interesting occurence, but really wasn't what i was looking for.

    If i could find a way to get the current mouse cursor position, i could use the faulty mouseMove method to make a correct one, does anyone know how to do that? Or better yet, what the heck is wrong with mouseMove ??

    DB:3.58:Robot.Mousemove Reflects Cursor About Point j3

    The short answer is - I've searched the forums and haven't found a way to get the current mouse position.

    The longer answer is - different events give you access to the mouse position. For example, MouseListeners and MouseMotionListeners give you access to the MouseEvent.

    KeyEvents don't give you acces to the mouse position, but sometimes you can use component methods to determind the position. Here is how I use the Robot class to simulate a mouse click on a cell in a JTable when the enter key is invoked.
    table = new JTable(model)
    {
    protected void processKeyEvent(KeyEvent e)
    {
    if ( e.getKeyCode() == KeyEvent.VK_ENTER
    e.getID() == KeyEvent.KEY_PRESSED )
    {
    int column = table.getSelectedColumn();
    int row = table.getSelectedRow();
    Rectangle r = getCellRect(row, column, false);
    Point p = new Point( r.x, r.y );
    SwingUtilities.convertPointToScreen(p, table);

    try
    {
    Robot robot = new Robot();
    robot.mouseMove(p.x, p.y );
    robot.mousePress(InputEvent.BUTTON1_MASK);
    robot.mouseRelease(InputEvent.BUTTON1_MASK);
    robot.mousePress(InputEvent.BUTTON1_MASK);
    robot.mouseRelease(InputEvent.BUTTON1_MASK);
    robot.mouseMove(0, 0 );
    }
    catch (Exception e2) {}
    }
    else
    {
    super.processKeyEvent(e);
    }
    }
    };This may give you ideas on how to find the mouse position for other events.

  • RELEVANCY SCORE 3.57

    DB:3.57:Find Out Cursorposition In Textedit 73


    Hello togetherhow can I find the current position or index of the curser in a textedit.Is there a Class like "cursor" or do I have to operate with the texteditclass?Greetings Rafael

    DB:3.57:Find Out Cursorposition In Textedit 73

    I think that you are not able to find out the position in edittexts of SBO.

  • RELEVANCY SCORE 3.56

    DB:3.56:How To Read Current Cursor Data fp


    how to read current cursor position data

    DB:3.56:How To Read Current Cursor Data fp

    char c=yourText.getText().toString().charAt(yourText.getCursorPosition());

  • RELEVANCY SCORE 3.52

    DB:3.52:Cl_Gui_Textedit: How To Get The Line Of The Cursor? j7


    Hello,I'am looking for a way to get the current position ofthe cursor in the cl_gui_textedit-Control. I didn'tfind any suitable method... any tips?Thanks in advanceT.

    DB:3.52:Cl_Gui_Textedit: How To Get The Line Of The Cursor? j7

    Thank you very much... I think, I was blind for a moment

  • RELEVANCY SCORE 3.52

    DB:3.52:Word For Office Web Apps Cursor Problem 3a


    When editing a Word document in IE8 the cursor showing the current position in the document does not track accurately. The vertical line indicating the cursor position is to the left of where it is supposed to be.
    The problem does not occur in the Google Chrome Browser or Mozilla Firefox.

    DB:3.52:Word For Office Web Apps Cursor Problem 3a

    You'll also see this problem if in Control Panel - Fonts - Change Font Size, you have "Medium - 125%" selected instead of "Smaller - 100%" which is the default for Win7 until its changed. Once this setting is at "Smaller - 100%" IE will show the cursor
    in the correct location. IE may change to 80% zoom but you can bump it up to 100% and still not experience the problem.

    - Fred

  • RELEVANCY SCORE 3.52

    DB:3.52:How Do I Turn On The Showing Of The Cursor Position? 1j



    I just noticed that my cursor position is not showing when I work in illustrator. I've looked through all the settings and tried to find information on the web but am having problems. I'm using CS5.5.

    Thanks for your help.

    Suzette

    DB:3.52:How Do I Turn On The Showing Of The Cursor Position? 1j


    That's much simpler and accurate that reading numbers in the ruler. Thanks!

  • RELEVANCY SCORE 3.51

    DB:3.51:Disable/Enable Menu Items Based On The Position Of The Cursor In Word 83


    Hi:
      I would like to disable/enable some menu items for both main menu and pop up menu based on the current cursor position. For example, if the cursor is on MyMagicText, I would like the to enable some menu items.
    Is it possible in WORD?
    Thanks,
    Yuhang. 

    DB:3.51:Disable/Enable Menu Items Based On The Position Of The Cursor In Word 83

    alternatives in a VSTO project: IF these areas can be targeted, assigned to bookmarks, then there's also the possibility of using the bookmark specific events Selected and SelectionChange. You'll need to do some testing in order to determine what event is most appropriate.
    Since the user will certainly do something that triggers WindowsSelectionChange, what you wish to do should be possible. You may find that a bookmark-specific event doesn't tie up as many resources as the application-level event. Plus, a bookmark event would only be active in the VSTO project. WindowsSelectionChange applies to the entire Word application, meaning you'd also have to check whether the SEL (Selection) is in the VSTO project, or not.

  • RELEVANCY SCORE 3.50

    DB:3.50:Changing Form Position On Drag And Drop. af


    Greetings,
    I'm trying to move the form around as the mouse drag and drops it.
    I tried DragDrop event at first but it didn't work.
    Then I tried MouseCaptureChanged but I was unable to get the previous position of the cursor to offset the current position of the form.
    I was using the following code to get the current position of the cursor:
    Cursor.Position.X
    Thanks.

    DB:3.50:Changing Form Position On Drag And Drop. af

    The following code moves a control more reliably than the MouseMove event version. Acamar's version can loose the mouse-control connection if the mouse is moved rapidly.
    Protected Overrides Sub OnMouseMove(e As MouseEventArgs)
    MyBase.OnMouseMove(e)
    If e.Button = MouseButtons.Left Then
    Me.Capture = False
    Me.WndProc(Message.Create(Me.Handle, HA1, New IntPtr(2), IntPtr.Zero))
    End If
    End Sub

  • RELEVANCY SCORE 3.50

    DB:3.50:Cursor Position Within A Multiline Textbox 97


    Hi, is it possible to retreive the current cursor position in am multiline textbox?

    DB:3.50:Cursor Position Within A Multiline Textbox 97

    Why do i always figure out what the answer is AFTER i post somewhere?txtbox.selectionstartMaybe I should just start posting whenever i have a problem and i'll find the answers quicker

  • RELEVANCY SCORE 3.49

    DB:3.49:How Can I Set Cursor Position Inside Textinput Or Textarea 1j



    Hallo.. I can't find the way for changing che cursor position inside a String in the TextInput or TextArea Component.. I hope you can help me..

    Thx

    Max

  • RELEVANCY SCORE 3.49

    DB:3.49:Word: How To You Determine The Current Cursor Position m7


    For one of my macros to run, I have to  ensure that the cursor position is not in a table or in a frame when the user activates the macro.
    How can I find our the current cursor position? Once I can determine that the cursor is positioned in a table or a frame, I can then code a message box to instruct the user where to put their cursor to run a certain routine.

  • RELEVANCY SCORE 3.48

    DB:3.48:Cursor Position In A Text Field In Forms 6i fk


    hi
    can anybody tell me how to find the current cursor position in forms 6i.
    my purpose is to delete one character(as done with backspace).

    thank u

    DB:3.48:Cursor Position In A Text Field In Forms 6i fk

    Hello

    My problem is that I want to delete or backspace a particular character in a particular position in a string .

    A character in the end of the string can be deleted or backspaced.

    I will be grateful to u iIf u can help me out

    Thanks regards

  • RELEVANCY SCORE 3.47

    DB:3.47:How Cd Get Current Insertion Point Of Cursor ap



    Dear all,

    Thanks for your reply, please tell me that hw can we got the current insertion point of cursor Position.

    DB:3.47:How Cd Get Current Insertion Point Of Cursor ap

    If your cursor is anywhere in the text, its insertion point is

    app.selection[0].insertionPoints[0]

    Inserting a character to its right, for example, can be done using

    app.selection[0].insertionPoints[0].contents = "!";

    -- this works because the Insertion Point is "between" characters.

    (I would also have shown you how to replace the next character, but my first try crashed ID.

  • RELEVANCY SCORE 3.45

    DB:3.45:Getting Current Row Or Cursor 7x



    Hi all,

    I'm using FM 'REUSE_ALV_GRID_DISPLAY' in my program. However, I'm having problem getting the current row or the cursor position in my ALV. If possible, I do not wish to use OO method in doing this. Is there any other way?

    DB:3.45:Getting Current Row Or Cursor 7x


    Hello Mil,

    When u double click a row we can able to capture the column value field name every thing.#

    Check this.

    FORM USER_COMMAND USING R_UCOMM LIKE SY-UCOMM
    RS_SELFIELD TYPE SLIS_SELFIELD.

    CHECK RS_SELFIELD-FIELDNAME = 'VBELN_O' OR
    RS_SELFIELD-FIELDNAME = 'VBELN'.
    CASE R_UCOMM.
    WHEN 'IC1'. "doubleclick
    SET PARAMETER ID 'AUN' FIELD RS_SELFIELD-VALUE.
    * IF RS_SELFIELD-FIELDNAME = 'VBELN_O'.
    IF RS_SELFIELD-FIELDNAME = 'VBELN_O'.
    IF NOT RS_SELFIELD-VALUE IS INITIAL.
    CALL TRANSACTION 'VA03' AND SKIP FIRST SCREEN.
    ELSE.
    MESSAGE E999(Z48MM) WITH TEXT-T02 SPACE SPACE SPACE.
    ENDIF.
    ELSEIF RS_SELFIELD-FIELDNAME = 'VBELN'.
    PERFORM CALL_TRANSACTION_VA23 USING RS_SELFIELD-VALUE.
    * CALL TRANSACTION 'VA23' AND SKIP FIRST SCREEN.
    ENDIF.

    ENDCASE.

    ENDFORM. " USER_COMMAND

  • RELEVANCY SCORE 3.44

    DB:3.44:Get Position In The Browserfield 9s



    Dear All,

    I would like to found out which part of content is displaying on the screen. Anyone know how to found out the current reading position or cursor position in the browserField

  • RELEVANCY SCORE 3.44

    DB:3.44:How To Find Cursor Position In Richtextbox ks


     
    How to find is the cursor position is in last character of a line in richtextbox.
     

    FOR EXAMPLE:
    This is a test application.
    i want to find whether cursor  position is after n in
    This is a test application.

    DB:3.44:How To Find Cursor Position In Richtextbox ks

    http://msdn.microsoft.com/en-us/library/system.windows.forms.textboxbase.selectionstart(VS.80).aspx
     
    Get the position of SelectionStart, then check the next character is a System.Environment.NewLine?

  • RELEVANCY SCORE 3.43

    DB:3.43:Cursor Moves jj


    When using any program I find that I can place the cursor in any position on the screen and it might suddenly dart away. In particular this happens when scrolling.
    Can you help?

    DB:3.43:Cursor Moves jj

    When using any program I find that I can place the cursor in any position on the screen and it might suddenly dart away. In particular this happens when scrolling.
    Can you help?

  • RELEVANCY SCORE 3.43

    DB:3.43:Current Crsor Position In Textedit? a8


    Dear all,

    How can I find out the current cursor position in TextEdit? It's bound to be possible somehow, but I don't seem to be able to find it in the TextEdit dictionary.

    I imagine there are also ways of getting the current highlighted text and its position, so if you happen to know that, please let me know!

    Regards, Max

    --------------
    I've tried this, with various synonyms for cursor:

    tell application "TextEdit"

    set x to the number of the paragraph of the cursor of the front document


    end tell

    DB:3.43:Current Crsor Position In Textedit? a8

    Tut tut - that sounds like apple setting a bad example :^) !!

    What do I want to do? lots of things but here are two of them:

    + root
    |
    - first node of my ascii tree
    | - child
    | | | discussion about
    | | | child
    | | +- grandchild
    | +- nother child
    +-

    now, when I'm typing the "discussion about child", every time I hit return I have to insert the spaces and vertical lines belonging to the ascii tree before carrying on. This is called manual labour and is a bad idea.

    no.2 is harder to show here, but you can find it linked off my (rather scrappy) homepage at www.de-minimis.com. basically imagine that you're drawing a big ascii-art text document. If you want to copy and paste an area of the document, you usually want to work on a rectangle of characters rather than a stream of characters, so I've got to change that. I'm a little less hopeful about even a highly scriptable texteditor being able to highlight arbitrary weird shapes, so I wouldn't be surprised if I had to end up changing a little bit of the editor code itself, so open source is good! On the other hand if it's going to be really painful to automate theer's no point in trying to save labour. I hope adding applescript hooks into a program is easy?

    Thanks for the refs. I've heard good things about tex-edit so I think I'll start with that. BBedit sounds big and expensive.

  • RELEVANCY SCORE 3.42

    DB:3.42:Richtextbox Question 99


    Hello!
    How can I get the current cursor position of the Richtextbox and how can I set the saved cursor position after that?

    Thank you in advance for your answers!

    Best Regards
    Echo6

    DB:3.42:Richtextbox Question 99

    Hello!
    I've found a solution and the following post (the marked answer) helps me a lot!

    http://social.msdn.microsoft.com/Forums/en-US/silverlightstart/thread/af512b9b-1a2f-4945-a885-002f349fcc03//1?multicoloredfontinatextbox

    Best Regards
    Echo6

  • RELEVANCY SCORE 3.40

    DB:3.40:Find Out Cursors Position In Textbox m3


    how can I find out what the cursor's position in a textbox is? i've created a pop-up context menu, and of of the options is PASTE... i want to paste the text i've copied in a custom clipboard to the current position of the cursor... should I use the textBox1.Text.Insert (bla-bla-bla) option? if yes, how?

    DB:3.40:Find Out Cursors Position In Textbox m3

    you can find out the caret's position by textBox.SelectionStart, even if you don't have a selection made... that was all...

  • RELEVANCY SCORE 3.38

    DB:3.38:Cursor Position Vb.Net 83


     
    How do I find out the position of the cursor in a string which is in a textboxAs the user types in a textbox, I would like to be able to trace the position of the cursor and if they click in the middle of that string with the mouse , I want to know what that cursor position is.....I tried using cursor.position , but it does not seem to work.,,,Thanx 

  • RELEVANCY SCORE 3.38

    DB:3.38:How Get Cursor/Mouse Position Even If Not Over A Window/Frame? dz


    Is there a way to find out the position of the mouse/cursor on the screen even if it's not over any component? I know that Robot can move the cursor to any point on the screen (even one not over any java awt/swing components), so why can't I find a way to get the current location anywhere on the screen?

  • RELEVANCY SCORE 3.35

    DB:3.35:How To Get The Current Cursor Position In Word Report? p1


    I am generating a word report. But I would like to keep the table in one page. However, I did not find the way to do it in labview. Somebody would give me some suggestions? I appreciate a lot.One way I think I can do is to find the current cursor position. Since I know the table size so I can figure out if the left space in the current page is enough to hold the table. But I do not know how to locate the curent cursor position in word document in labview programmatically. I appreciate any suggestions on this question.Thanks.

    DB:3.35:How To Get The Current Cursor Position In Word Report? p1

    Hi,when you insert data in a word document you have to refer to bookmarks rather than cursor position.If you are using the Report Generation Toolkit for Office it is explained in the manual chapter 3-1.See also the example: Generate Report From Template (Word).vi included in the toolkit.If you aren't using the toolkit, you still have to refer to bookmark as reference points to insert and/or fetch data.The principle is:- First create a document in which you insert bookmarks where you wish and save it as a template- In LV open your template document and insert in it your data referring to bookmarks as insertion points- At the end save your report with another name, so you still have the templateI hope I have been clear enough, if not just ask!Good luck,Alberto

  • RELEVANCY SCORE 3.35

    DB:3.35:Select (Or Delete) From Cursor To End Of Wave d8


    (How) can I select (or delete) the wave from the current cursor position to the end of the wave? (without having to drag the cursor all the way to the end)

  • RELEVANCY SCORE 3.35

    DB:3.35:Getting Cursor Position In Wm 6.X. 9k


    Hello! I want to use stylus as pen in my app, but i don't understand how to get cursor position. I used code from library, but it doesn't works
    private void MoveCursor()
    {
    // If the form's cursor is not the Default cursor,
    // set the Current cursor, move the cursor's Position,
    // and set its clipping rectangle to the form.

    if (!this.Cursor.Equals(Cursors.Default))
    {
    this.Cursor = new Cursor(Cursor.Current.Handle);
    Cursor.Position = new Point(Cursor.Position.X - 50, Cursor.Position.Y - 50);
    Cursor.Clip = new Rectangle(this.Location, this.Size);
    }
    Help plese. Also, give me some ideas how to make drawing with stylus like in default notes app in WM. :)

    DB:3.35:Getting Cursor Position In Wm 6.X. 9k

    Hi,
    You can try this code:
    public partial class Form1 : Form
    {
    public Form1()
    {
    InitializeComponent();
    }

    private void Form1_MouseDown(object sender, MouseEventArgs e)
    {
    label1.Text = e.X.ToString() ; e.Y.ToString();
    }

    private void Form1_MouseMove(object sender, MouseEventArgs e)
    {
    label1.Text = e.X.ToString() ; e.Y.ToString();
    }

    private void Form1_MouseUp(object sender, MouseEventArgs e)
    {
    label1.Text = e.X.ToString() ; e.Y.ToString();
    }
    }

    Also have a look on this sample:
    http://www.codeproject.com/script/Articles/ViewDownloads.aspx?aid=7261

    Regards,
    Malleswar

  • RELEVANCY SCORE 3.35

    DB:3.35:Find The Current Cursor Position... pm


    Hi all.
    In my application (CF.NET 2.0), I have to find the current cursor position.
    I use this code:

    ...
    Point p = this.PointToClient(Control.MousePosition);
    ...
    Bur the point p is always (0,0).
    The result dosent change   when I use a Connection to PPC or an Emulator.
    Do you have any idea?
    Thanks...

    DB:3.35:Find The Current Cursor Position... pm

    do you want Control.MousePosition, or Cursor.Position?

  • RELEVANCY SCORE 3.35

    DB:3.35:Cursor Position Error... k7


    Hello,
    Just see the tile... I would like to know what means this error :
    Invalid operation for the current cursor position

    Because I often got it, and when I resolve it , it's only because of luck.
    It happens when I use rs.next() (rs in a resultset).

    Could somenone please explain this error?
    Thank you.
    Romain.

    DB:3.35:Cursor Position Error... k7

    move the
    ArrayList prixList = new ArrayList();
    to outside the try block, else it will not be accessible in the next loop.

  • RELEVANCY SCORE 3.34

    DB:3.34:Macro: How To Test Current Cursor Line ac


     
    Can someone please point me in the right direction?
    VS2005: I'm trying to test if the current cursor position is already at the top of the text editor window.
    eg: if  CurrentCursorPosition.LineNumberInWindow = TOP
    -Marc-
     

    DB:3.34:Macro: How To Test Current Cursor Line ac

    Found the answer:  Here is some code to determine and test.Assign a macro (NUM - and NUM +) to see how it helps browsing through code.
        Sub GoScreenTop()        Dim docTextPoint As EnvDTE.TextPoint        Dim window As TextWindow        Dim pane As TextPane        Dim paneStartPoint As TextPoint
            docTextPoint = DTE.ActiveDocument.Selection.ActivePoint        window = DTE.ActiveWindow.Object        pane = window.ActivePane        paneStartPoint = pane.StartPoint
            If paneStartPoint.Line docTextPoint.Line Then            DTE.ExecuteCommand(Edit.ViewTop)        Else            DTE.ExecuteCommand(Edit.PageUp)        End If
        End Sub
        Sub GoScreenBottom()        Dim docTextPoint As EnvDTE.TextPoint        Dim window As TextWindow        Dim pane As TextPane        Dim paneStartPoint As TextPoint
            docTextPoint = DTE.ActiveDocument.Selection.ActivePoint        window = DTE.ActiveWindow.Object        pane = window.ActivePane        paneStartPoint = pane.StartPoint
            If docTextPoint.Line (paneStartPoint.Line + pane.Height - 1) Then            DTE.ExecuteCommand(Edit.ViewBottom)        Else            DTE.ExecuteCommand(Edit.PageDown)        End If
        End Sub
    -Marc-

  • RELEVANCY SCORE 3.34

    DB:3.34:Cursor Position In Jeditorpane jm


    I want to get the current position of the cursor in a text in a JEditorPane. Anyone knows some simple method to call ? Thanx ...

    DB:3.34:Cursor Position In Jeditorpane jm

    Is getCaretPosition the appropriate method?

  • RELEVANCY SCORE 3.34

    DB:3.34:Current Position Of Cursor In Text Frame jm


    Hello
    i am working to get the current position of cursor in text frame. but cannot get the exact location.
    can any one help?
    thanks
    Regards
    MS Choudry

    DB:3.34:Current Position Of Cursor In Text Frame jm

    Assuming you are after geometric position here are some alternatives, otherwise ITextFocus should give you the TextIndex of the current text selection.

    A)
    ITextSelectionSuite::QueryTextCaret-ITextCaret::GetCaretBounds claims to return the bounds in pasteboard. If you need it relative to a frame you'd need to find the text frame the caret is in and use it to transform from pasteboard to frame.

    B)
    Use ITextSelectionSuite::QueryTextFocus to find the TextIndex where the caret lies. Use IWaxIterator to find the IWaxLine that contains this TextIndex. Use IWaxHitTest ::GetLocationOf to find the position. I'd expect you'd need to transform from wax-parcel-frame co-ordinates if you want the position in frame space.

    C)
    Use ITextSelectionSuite::QueryTextFocus to find the TextIndex where the caret lies. Use IWaxIterator to find the IWaxLine that contains this TextIndex. Use IWaxLineShape::GetCaretLineAt to find the position.

    All of these approaches should account for the complexities of text on a path

    Hope this helps!
    lee

  • RELEVANCY SCORE 3.32

    DB:3.32:Change Current Line In Richtextbox 1a


    is there a way to change the cursor position to the beginning of the another line in a richtextbox?for example, if i'm on the second line, i want code that will transport my cursor position  to the beginning of the fourth line, etcfrustrated visual basic user

    DB:3.32:Change Current Line In Richtextbox 1a

    This seemed to work:
    RichTextBox1.SelectionStart = RichTextBox1.TextLength
    Hope this helps.www.insteptech.com
    We are volunteers and ask only that if we are able to help you, that you mark our reply as your answer. THANKS!

  • RELEVANCY SCORE 3.32

    DB:3.32:How To Put Cursor At Specific Textpointer Position In Richtextbox Problem xd


    Hi,
    A few characters in the richTextBox has a Red(#FFFF0000) color. I am replacing those with Black(#FF000000) color which works great. This happens when pressing an arrow key in the _KeyUp event of the richTextBox
    When this is done the cursor is jumping up to the very beginning of the richTextBox. The thing is that I want the cursor to have its current position, So I am trying to save that position before in a TextPointer and put the cursor back after the color replacement
    but that doesn´t work.
    How can we restore the cursor position at its current position?
    private void richTextBox1_KeyUp(object sender, KeyEventArgs e)
    {

    //Get current cursor position
    Rect current = richTextBox1.Selection.Start.GetCharacterRect(LogicalDirection.Forward);
    double Yaxis = current.Y 1;
    double Xaxis = current.X;

    //Replace all Red Foreground colors with Black foreground
    String getXAML = richTextBox1.Xaml.ToString();
    getXAML = getXAML.Replace(#FFFF0000, #FF000000);
    richTextBox1.Xaml = getXAML;

    //Put the cursor back at the current position
    TextPointer t = richTextBox1.GetPositionFromPoint(new Point(Xaxis, Yaxis));
    richTextBox1.Selection.Select(t, t);
    }

    DB:3.32:How To Put Cursor At Specific Textpointer Position In Richtextbox Problem xd

    Looks like you are doingxCommentsSet when some editing is done in your text box. In that case it should be done in ContentChanged event handler instead of KeyUp. i,e register for ContentChanged event and in ContentChanged event handler put your
    code in dispatcher.

  • RELEVANCY SCORE 3.30

    DB:3.30:Data Displayed From Database But Also Error Using ≪H:Datatable≫ kp


    hi

    i got the data from the db2 database using h:dataTable and even after the data is displayed on the browser ,there is a error saying

    SQLException information
    Error msg: [ibm][db2][jcc][1090][10899] Invalid operation to read at current cursor position.
    SQLSTATE: null
    Error code: -99999
    com.ibm.db2.jcc.c.SqlException: [ibm][db2][jcc][1090][10899] Invalid operation to read at current cursor position.

    what does it mean?

    DB:3.30:Data Displayed From Database But Also Error Using ≪H:Datatable≫ kp

    This is not JSF specific, but JDBC specific.

    Which data layer are you using?
    If it's custom, then debug it, most likely you're giving or expecting a wrong cursor position to the ResultSet.
    If it's a 3rd party data layer (Hibernate or so), then you may need to do a bugreport at the manfacturer site.

  • RELEVANCY SCORE 3.30

    DB:3.30:Current Cursor Position -- Console Based 9k


    Hi, I'm trying to find out a way to find the current cursor position from a console program.

    It's the actual position relative to the whole screen, not just the terminal window. Anyone know how to do this, any help would be muchly appreciated!

    DB:3.30:Current Cursor Position -- Console Based 9k

    All i can say is I love you :P

    But seriously, I tried something like that but didn't use the .getLocation()

    Oh well, now I should be well on my way to creating a very nice macro.

  • RELEVANCY SCORE 3.29

    DB:3.29:How To Start Specific Unit Test? 7s


    In VS 2010 I could start the unit test at current cursor position using run/debug test in current context. I can't find this anymore in VS11. Was it removed or I just can't find it anymore?
    In VS11 Beta I have to run all tests to get the whole list of unit tests. Then stop the run. Then find the test I need in the long list (2606 tests). Then right click on it and select run/debug selected test.
    I hope the release version will have moreconvenient way of starting single tests.

    DB:3.29:How To Start Specific Unit Test? 7s

    Hi Daniel,
    This should be fixed in the RTM. If you are still experiencing problems with this can you file a connect bug?
    http://connect.microsoft.com/VisualStudioTodd King - Visual Studio ALM team.

  • RELEVANCY SCORE 3.29

    DB:3.29:How To Move Cursor Position In Document? pp


    How can I move the cursor position inside 'insertString' function without insert new text?

    DB:3.29:How To Move Cursor Position In Document? pp

    hi u can use the function of JTextComponent..

    setCaretPosition(int position)[b]

    hope it will work...

    [b]Bhupendra Mahajan

  • RELEVANCY SCORE 3.29

    DB:3.29:Select All Keep Cursor Position m1


    Is there a way to have Dreamweaver keep current cursor
    position when I use Select All (Ctrl + A) instead of moving all the
    way down to the end of the document.

    It's very frustrating.

    DB:3.29:Select All Keep Cursor Position m1

    Is there a way to have Dreamweaver keep current cursor
    position when I use Select All (Ctrl + A) instead of moving all the
    way down to the end of the document.

    It's very frustrating.

  • RELEVANCY SCORE 3.27

    DB:3.27:Cursor Position Without Tool Suite? 98


    Hello,

    I was wondering if anyone knows whither or not it is possible to determine the current cursor position of the current tool without using the Tool Suite.

    In other words, I want to know the position of the cursor - regardless of the currently selected tool - not that of a custom tool. I hope it is possible, but I was not able to find anything...

    I greatly appreciate any tips.

    -jeshua

    DB:3.27:Cursor Position Without Tool Suite? 98

    It is not possible, but it's quite easy to tap into the OS use the AIDocumentViewSuite to translate global coordinates into document coordinates. We do something like this in our product so I can tell you it works. You just need to make sure you 'hook in' to the correct window -- namely the document window you'd like to track mouse movements in.

  • RELEVANCY SCORE 3.27

    DB:3.27:How To Set Cursor Position To The First Field In The Record dd


    Hi,

    i am using multi line data block. in that in 3rd field if that field validation is getting fail then my cursor should go to first field of that record. but cursor goes to first record of the first field.
    how can i set the cursor property to the current record and in that to perticular record..

    DB:3.27:How To Set Cursor Position To The First Field In The Record dd

    What code do you use to do the navigation? And what trigger do you use.

  • RELEVANCY SCORE 3.27

    DB:3.27:How To Get Waveform Graph's Cursor Position In Labview Pda 7.1? aj


    LabVIEW PDA module support cursor. In my code(PocketPC 2003), I can only see the cursor's position in screen. I try to get the current cursor's coordinate(position) in my code. Property node is not surported in LabVIEW PDA module. Then how to get Waveform Graph's cursor position in LabVIEW PDA 7.1?

  • RELEVANCY SCORE 3.27

    DB:3.27:Sending A Command To A Terminal Program / Waiting For A Response x7


    I was told that if I use the ESC[6n code below. I could get a response back from the terminal program if the user was connected using ansi. Then wait for a response from the terminal program. Since I never done this before. I was hoping some
    one could show me how to code this in C#.

    Query Cursor Position ESC[6n
    Requests a Report Cursor Position response from the device.

    Report Cursor Position ESC[{ROW};{COLUMN}R
    Generated by the device in response to a Query Cursor Position
    request; reports current cursor position.

    if it returns a position for cursor. That means ansi is true
    or if not. It's false.
    Joe

    Toppers BBS http://toppersbbs.dtdns.net C# Windows and Console applications. PHP, Mysql. HTML

    DB:3.27:Sending A Command To A Terminal Program / Waiting For A Response x7

    How are they connected modem/serial-port or Telnet / TCP/IP?

    Anyway to send, use something like the following:
    const char Esc = (char)27;
    byte[] buf = { (byte)Esc, (byte)'[', (byte)'6', (byte)'n' };
    Stream strm = ...
    strm.Write(buf, 0, buf.Length);
    And for reading you'll just have to check everything you receive for the relevant sequence of bytes.

    BTW my library telnetexpect.codeplex.com
    may be useful...

    http://www.alanjmcf.me.uk/ Please follow-up in the newsgroup. If I help, mark the question answered

  • RELEVANCY SCORE 3.26

    DB:3.26:Current Cursor Position c9



    Is it possible to get somehow current cursor position with jsx script. I know that it's shown in Control Panel as X position and Y position values, but I can't find function to retrive those values.

    Thanks

    DB:3.26:Current Cursor Position c9


    Harbs accidently posted in the wrong thread:

    2.
    Jul 5, 2011 6:31 AM


    in response to: கற்பனை (Imagine)

  • RELEVANCY SCORE 3.25

    DB:3.25:Trying To Read Input From Console Screen pa


    Hi!
    I'm trying to find a way to read chars from screen - not from keyboard by readline,
    but rather to get the char at current cursor position on screen. it's doable, right?

  • RELEVANCY SCORE 3.24

    DB:3.24:Cursor Position On Secondary Axis sm



    I have two plots on one XY graph, each with its own Y scale. I have a single cursor and I would like to retrieve the Y position on both axes when I move the cursor. Getting the position in terms of the first axis is straightforward, but I can't seem to find where you tell it to use the second axis.

    DB:3.24:Cursor Position On Secondary Axis sm


    I don't know if you can associate it with a different scale if it's not a free cursor, but here's a way you can calculate it based off of the secondary scale.

  • RELEVANCY SCORE 3.23

    DB:3.23:How To Set Cursor Position ? ak


    hi friends...how to set cursor position manualy like auto cad(Cursor move only in grid points)...Example the cursor position (e.x,e.y) is 20 , 30 means... the cursor ll indicate position is (30,30)...How can i do this...

    DB:3.23:How To Set Cursor Position ? ak

    Hi friend,    I am unable to set cursor position correctly .. Can u send one sample example for cursor movement..

  • RELEVANCY SCORE 3.22

    DB:3.22:[Bea][Sybase Jdbc Driver]Invalid Operation For The Current Cursor Position. pd


    Hi,
    I have a simple DAO method which would return a text for a given id(primary key). It works fine but in rare cases this gives me : java.sql.SQLException: [BEA][Sybase JDBC Driver]Invalid operation for the current cursor position. Any thoughts on this? Thx in advance.

    DB:3.22:[Bea][Sybase Jdbc Driver]Invalid Operation For The Current Cursor Position. pd

    Hi Alban,
    When the key is not there in the table, then a DataNotFoundException will be thrown which i am handling. But in this case it is throwing a SQLException - Invalid operation for the current cursor position.

  • RELEVANCY SCORE 3.22

    DB:3.22:Place Some Text At Cursor Position m9


    Probably there is an easy solution but I can not see it.

    I would like to help my users to "mark" some text as they enter it. I will display a custom dialog asking for the text to enter at the current cursor position; as they enter some text in my dialog textEditbox and press OK I will display that text,enclosed in square brackets, at the current cursor position.

    My problem is here: how can I place some text at the current cursor?

    Thank you
    carlo

    DB:3.22:Place Some Text At Cursor Position m9

    Thank you Olav,

    I grasped your point but you will admit that the selection of an insertion point is a bit more abstract with respect to the usual selection of text you copy and paste.

    Carlo

  • RELEVANCY SCORE 3.22

    DB:3.22:Getting X And Y Position ka


    Hi Guys,
    been trying to find a property that holds the richTextEditor
    current blink cursor x y position without creating a lengthy work
    around but i have not been able to find one. Has anybody got an
    idea if one exists?

    DB:3.22:Getting X And Y Position ka

    Hi Guys,
    been trying to find a property that holds the richTextEditor
    current blink cursor x y position without creating a lengthy work
    around but i have not been able to find one. Has anybody got an
    idea if one exists?

  • RELEVANCY SCORE 3.21

    DB:3.21:Cursor Lock To Center Of Screen Script Doesnt Work Please Help. pd



    As is said here, it isn't possible to set the cursor position without external .dlls. Screen.lockCursor doesn't automatically set the position of the cursor to the centre of the screen, it only locks the position of the mouse at the current mouse position.


    Also, Screen.lockCursor is already a boolean. There is no need to redeclare it as a boolean.


    Hope that helps, Klep

    DB:3.21:Cursor Lock To Center Of Screen Script Doesnt Work Please Help. pd


    You can use this script to lock and hide your cursor


    Lock:


    screen.lockCursor = true;


    Hide:


    screen.showCursor = false;

  • RELEVANCY SCORE 3.21

    DB:3.21:How To Find Browser Cursor Position x1



    Hi All,

    I am Using 8120.My application is running background. I open the browser application which has the cursor pointer

    in the screen. I want to get the x,y co-ordinate of the cursor pointer in my application.

    Is there any API available?




    kums******************************Press kudos which the post help youPlease mark posts as solved if you got a solution

    DB:3.21:How To Find Browser Cursor Position x1


    What is interesting is that some things that work in 4.3 simulator don't seem to work on 4.5 phone. Further,

    if you add the field to a custom Screen it doesn't seem possible to get the navigationmovement input ( someone

    other than the screen in which the field resides seems to be getting the nav events, or there is sometihng wrong with

    the code I wrote last night, tentative result). You can do things like getLeafFieldWithFocus but this is usually

    uninformative as the extent can be the whole screen. Feeding navigation events to your screen may get the browser to

    move the highlighted area but the cursor AFAIK won't move on 4.5 but IIRC this worked on 4.3 emulator.

    So, not sure if this helps stimulate thought but I guess if you could capture the nav movements you could calculate

    the position or at least get close but I'm a bit amazed this doesn't work. Ithought that the top screen always got these

    events, anyone with more UI knowledge care to explain why I'm wrong here? If this is true, then you have to suspect the cursor is

    its own screen that some how gets popped when anyone else can look?

  • RELEVANCY SCORE 3.21

    DB:3.21:Retrieval Of An Item Value In A Record 39


    Hi,

    I have used cursor_record system variable to find the current record position of my cursor. I need to retrieve the value of an item 'x' in this record which doe not have the cursor focus. How do I do this? Cursor_value does not solve my issue as it requires the cursor to be on that particular item. Please help.

    DB:3.21:Retrieval Of An Item Value In A Record 39

    In forms you can only access values from the current record. You will have to ue a GO_RECORD to navigate to the desired record, then retrieve its value.

  • RELEVANCY SCORE 3.21

    DB:3.21:Setting The Cursor Insertion Point 7m



    Hey, FileMaker Pro has a function to obtain the current cursor position wihtin text in a field, but is there a way to set the cursor position ?? I want to go to a field and have the cursor default to a set position, but I can't seem to see any function to do so... am I missing something??

    DB:3.21:Setting The Cursor Insertion Point 7m


    Sweet. There is far more to this solution than just this component, but this helps resolve most of it, thanks!

  • RELEVANCY SCORE 3.20

    DB:3.20:Selectionstart Always Returns 0 (Zero) In Textbox Control 3p


    Hi,I am developing a sample application on Windows mobile. Here am trying to implement Clear Key functionality (Clear the characters in the text box by pressing a button) Similer functionality like when we press back in inputpel in textbox.Please find the below code which is used to remove the character from the textbox (SearchText) text Ressigning to Textbox and setting the cursor position:public void ClearSearchText()      {int sel_len = SearchText.SelectionLength; int Cursor_pos = SearchText.SelectionStart; // used to find the index of the character which is used to remove from the text;         /* Removing the Characters from the TextBox text and Reassigning to Textbox */      SearchText.Text = SearchText.Text.Remove(Cursor_pos - 1, sel_len + 1);                                            /* Cursor Position Set */              SearchText.SelectionStart = Cursor_pos - 1;                   SearchText.Focus();     }     In the above code am getting the Current Cursor position using the SearchText.SelectionStart and removing the characters from the SearchText.Text using SearchText.Text.Remove();  After removing the characters am resigning the string to SearchText Texbox Imediately am setting the cursor Position using SearchText.SelectionStart; But the cursor will appears always at the zero position and after that cursor comes back to the position which we assigned (SearchText.SelectionStart = Cursor_pos - 1)..Because of this the text in the TextBox looks blinking.. Can you please provide a solution for this..Note: Even I tried with SearchText.Select(); am facing the same problem...Regards,Satish

    DB:3.20:Selectionstart Always Returns 0 (Zero) In Textbox Control 3p

    Hi,You can use the ScrollToCaret method on the TextBox to move the cursor to the position defined in the SelectionStart property.Hope this helps.Paul Distonhttp://www.smartmobiledevice.co.uk/

  • RELEVANCY SCORE 3.20

    DB:3.20:Is It Possible To Know The Current Position Of The Cursor During The Textbox Edition??? 7j


    HI,Is itpossibletoknowthecurrentpositionofthecursorduringtheTextboxedition???Imean,ifitheuserenters1234.567andthenifheinserts8nextto4isitpossibletogetthatpositioni.eindexno.5??Thanksforallthereplies...RegardsS.RajaSekaran

  • RELEVANCY SCORE 3.20

    DB:3.20:Cursor Position In Jtextpane jj


    Hi, all!! Trying to figure out how to get the current cursor position (line, column)... since there aren't any obvious properties of the JTextPane for this, I assume it's a matter to detemining relative position in the text, and extrapolating based on number of carriage returns... Any ideas?? Any thoughts would be helpful!

    Thanks!
    SteveB

    DB:3.20:Cursor Position In Jtextpane jj

    Thanks!! That worked perfectly!! :)

    SteveB

  • RELEVANCY SCORE 3.20

    DB:3.20:Cursor Position. dj


    Is there a way to display the cursor position in the ruler for aligning text?

    DB:3.20:Cursor Position. dj

    To align text use tabs. Don't hammer away at the spacebar. Tabs set the text to align exactly at that point. You get tabs by simply clicking on the ruler and then right clicking on those to change from left aligned to any of the alternate types ie left, right, centred and decimal.Spaces are not fixed sizes and vary, so will quickly end up a mess.Peter

  • RELEVANCY SCORE 3.20

    DB:3.20:How Can You Get Current Cursor Position? ff


    I am trying to set the size of a sub vi using “FP.PanalBounds” property. I was trying to find a way to display the current position of my cursor (position/size/select tool) to facilitate the process (just like the display on the button of any graphic design program, i.e. Photoshop). Is there any way to do so?

    DB:3.20:How Can You Get Current Cursor Position? ff

    If your using Windows, you can use the Windows API Function Utilities (32-bit) for LabVIEW. This includes a VI for getting the mouse cursor position.http://sine.ni.com/apps/we/niepd_web_display.DISPLAY_EPD4?p_guid=B45EACE3EF4556A4E034080020E74861p_node=DZ53008p_submitted=Np_rank=p_answer=p_source=ExternalGood Luck,Jim



  • RELEVANCY SCORE 3.20

    DB:3.20:Cursor Position Changes Wile Typing In Tamil In Textarea ms



    Hi,

    I want to get the linecount of textarea using cursor position concept ie., if a cursor reaches the start position of each row of textarea the count increases.For this i want to get the cursor position of textarea and its working fine while typing in english
    but it is not working while typing in tamil...

    My javascript code to find cursor position in textarea is

    I want to get the same x cursor position while i enter the first position of each row of textarea.

    Is there any idea to do this??

    Thanks

  • RELEVANCY SCORE 3.19

    DB:3.19:Cursor Position Recording Problem [Very Simple] dz


    Dear all,

    I am trying to write up a program to record the mouse position when there is a click on the button. When I run the file, i figure out that the program is missing a waiting function, so the program complete without any recording. I try to look for the function in MouseMotionAdapter package, but could not find any thing useful (I think I am wrong). Could anyone please give me some idea of generate a waiting for mouse click for the program

    thanks

    package mouserecord;
    import java.awt.*;
    import java.awt.event.*;
    import java.io.*;

    //component.addMouseMotionListener(new MyMouseMotionListener());

    public class MyMouseMotionListener extends MouseMotionAdapter {
    public void mouseDragged(MouseEvent evt) {
    // Process current position of cursor while mouse button is pressed.
    int x,y;

    x = evt.getXOnScreen();
    y = evt.getYOnScreen();
    try {
    BufferedWriter out = new BufferedWriter(new FileWriter("abc.txt", true));
    out.write(x);
    out.write(y);
    out.close();
    } catch (IOException e) {
    }
    }
    }

    DB:3.19:Cursor Position Recording Problem [Very Simple] dz

    Your method ActionListener accepts one parameter thus you cannot call it with no argument.VV.ActionListener(/*Something missing here*/);That being said I'm not sure what you're trying to accomplish with this. A MouseMotionListener (which is the interface MouseMotionAdapter is implementing) is intended to be used to listen to the mouse motion i.e. mouseDragged and mouseMoved and has nothing to do with clicking.
    A MouseListener (and it's default implementation MouseAdapter) is intended to be used to listen to mouse clicks etc.

    Edit:
    Wow I'm slow.

    Message was edited by:
    dwg

  • RELEVANCY SCORE 3.17

    DB:3.17:Macro To Add Text To Cursor Position In Outlook 2010 Email zk


    Hi,
    I would like to write a macro to insert a text in a message body. The text will be added to the current cursor position.
    Thanks,
    Guy Zommer

    DB:3.17:Macro To Add Text To Cursor Position In Outlook 2010 Email zk

    Thanks,
    By the way there is a problem in the forum my question are duplicate altough I post only one questionGuy Zommer

  • RELEVANCY SCORE 3.16

    DB:3.16:Get Cursor Position And Run Exe Application zk


    dear all
    i want to get the current position of the cursor
    and how can i run exe file through my application

    DB:3.16:Get Cursor Position And Run Exe Application zk

    MCOL() and MROW() functions are easier for mouse cursor position maybe.

  • RELEVANCY SCORE 3.16

    DB:3.16:Keyboard,Cursor Question. mj


    when the cursor in the textArea,how to forbit(ignore) the keyboard input,
    and how locate the cursor's position,(for example i press a button,
    then will show some text in the current cursor's position)

    Thank in advance.

    DB:3.16:Keyboard,Cursor Question. mj

    import java.awt.*;
    import java.awt.event.*;
    import javax.swing.*;

    public class test extends JFrame implements ActionListener {
    JButton cursorButton, highlightButton;
    JTextArea textArea;
    JLabel label;

    public test() {
    cursorButton = new JButton("Get Cursor");
    cursorButton.addActionListener(this);
    highlightButton = new JButton("Highlight");
    highlightButton.addActionListener(this);
    JPanel buttonPanel = new JPanel();
    buttonPanel.add(cursorButton);
    buttonPanel.add(highlightButton);
    textArea = new JTextArea();
    textArea.setLineWrap(true);
    textArea.setWrapStyleWord(true);
    label = new JLabel(" ");
    getContentPane().add(buttonPanel, BorderLayout.NORTH);
    getContentPane().add(textArea, BorderLayout.CENTER);
    getContentPane().add(label, BorderLayout.SOUTH);
    setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
    setSize(300,200);
    setLocation(300,200);
    setVisible(true);
    initializeTextArea();
    }

    public void actionPerformed(ActionEvent e) {
    JButton button = (JButton)e.getSource();
    int position = textArea.getCaretPosition();

    if(button == cursorButton) {
    label.setText("Cursor location: " + position);
    textArea.setCaretPosition(position);
    textArea.moveCaretPosition(position);
    textArea.requestFocus();
    }

    if(button == highlightButton) {
    int docLength = textArea.getDocument().getLength();
    int leftIndex = 5;
    if(position 5)
    leftIndex = position;
    int rightIndex = 5;
    if(docLength - position 5)
    rightIndex = docLength - position;
    int start = position - leftIndex;
    int end = position + rightIndex;
    try {
    textArea.setCaretPosition(start);
    textArea.moveCaretPosition(end);
    } catch(IllegalArgumentException iae) {
    System.out.println(iae.toString());
    return;
    }
    //System.out.println("position = " + position + "\n" +
    // "start = " + start + "\n" +
    // "end = " + end);
    label.setText("Text selection from " + start + " to " + end);
    textArea.requestFocus();
    }
    }

    private void initializeTextArea() {
    textArea.setText("abcdefghijklmnopqrstuvwxyz");
    textArea.setCaretPosition(12);
    textArea.requestFocus();
    }

    public static void main(String[] args) {
    new test();
    }
    }

  • RELEVANCY SCORE 3.16

    DB:3.16:Applescript Text Insertion At Cursor 31


    I would like to get my AppleScript to insert a textual comment at the current cursor position in a Word document. The comments are mostly longer (multi-lines) than what Word AutoText allows. Automator has insertion of text at the beginning and end of the document. But, I would like the text to be at the cursor position. In reviewing the AppleScript documentation, I cannot determine how AppleScript identifies or inserts text at the cursor position. Any suggestions?

    DB:3.16:Applescript Text Insertion At Cursor 31

    Thanks, I will try that when I M back in my office. Sent from Lou's iPhone 4S

  • RELEVANCY SCORE 3.15

    DB:3.15:Selstart Cursor Position Returning 0 For First 2 Positions In Textbox k3


    I am trying to create a help tip for each character position that is entered in a textbox, so that the user can be told whether they need to enter a number, a letter or a symbol, etc. in each character position. The problem I am running into is when I use
    the SelStart property to find the position of the cursor in the textbox, it returns 0 for both the very first position, and the position immediately following the first character. It then starts with 1 after the second character. The problem is that I want
    the tip to display before the user has typed in thecharacter and this will not allow me to display the correct help tip since it will constantly be repeating the same tip for the first two positions. I have had to add 1 to the cursor position for it look
    up the help tip, but it still repeats the 1 twice at the beginning of the text box. I have been displaying a message box to show the current position as a troublshooting measure only and it doesn't actually serve any function in the final code.Below is my
    VBA that I have been using. Is there another function I can use to find the cursor position in a textbox instead of SelStart or is this the only way to accomplish this?

    Private Sub AgentNumber_KeyPress(KeyAscii As Integer)
    Dim CurrentNumber As Variant, NumberLength As Variant, NumberFormat As Variant, CharacterFormat As String, FormatDescription As Variant
    CurrentNumber = Me.AgentNumber.SelStart
    If KeyAscii vbKeyBack And KeyAscii vbKeyLeft Then CurrentNumber = CurrentNumber + 1
    Answer = MsgBox("Current Place = " CurrentNumber)
    NumberFormat = DLookup("Format", "Formats", "CarrierID = " Forms!frmFormats!Carrier)
    CharacterFormat = Mid(NumberFormat, CurrentNumber, 1)
    If CharacterFormat = "0" Then FormatDescription = "Please enter a digit (0 to 9)"
    If CharacterFormat = "L" Then FormatDescription = "Please enter a letter"
    If CharacterFormat = "A" Then FormatDescription = "Please enter a letter or digit (0 to 9)"
    If CharacterFormat = "" Then FormatDescription = "Please enter a character or space"
    Me.Description = FormatDescription
    End Sub

  • RELEVANCY SCORE 3.15

    DB:3.15:Determining Pixel Position Of Textbox Carat (Cursor) jx


    Is there a way to determine the current pixel position of the carat (cursor) in a TextBox. I assume if you can get hold of the actual carat object it'd be pretty simple - just not sure how to do that. Thanks everyone.

    DB:3.15:Determining Pixel Position Of Textbox Carat (Cursor) jx

    check this post:http://forums.silverlight.net/forums/p/133568/318900.aspx

  • RELEVANCY SCORE 3.15

    DB:3.15:Find Out The Location Of The Cursor In Richtextbox And Then Add Some Text There cd


    I have a richtextbox I want to find the position of the cursor and then add my text at that position . 

    DB:3.15:Find Out The Location Of The Cursor In Richtextbox And Then Add Some Text There cd

    myTextBox.SelectedText = my amazing text!;Geert van Horrik - CatenaLogic
    Visit my blog: http://blog.catenalogic.com

    Looking for a way to deploy your updates to all your clients? Try Updater!

  • RELEVANCY SCORE 3.14

    DB:3.14:How Can I Make The Thumbnail Cursor In Pse8 Organizer Stay At The Current Position? a9


    Whenever I am browsing through the thumbnail view in PSE8 organizer and I delete, edit, or sometimes when I apply a tag or a filter, the cursor automatically repositions to the first thumbnail in the catalog or the folder after the operation is complete, resulting in me losing my place, having to find it again, etc. -- which is a huge incovenience considering I have over 16,000 images in my catalog. Is there some way to force organizer to keep its place in the catalog?

    DB:3.14:How Can I Make The Thumbnail Cursor In Pse8 Organizer Stay At The Current Position? a9


    I believe you're using Display Folder Location view, in which this behavior is most pronounced. In Display Thumbnail View (which sorts photos by date rather than folder), the problem generally doesn't occur. Folder Location view is the PSE stepchild: slow, buggy, and poorly designed:

    http://www.johnrellis.com/psedbtool/photoshop-elements-faq.htm#_Folder_Location_view

  • RELEVANCY SCORE 3.14

    DB:3.14:How To Insert Text To The Current Cursor Position In Word Document? z7


     
    Hi...
     
     
    I have a question about inserting a text into the current cursor position in the word document..how can I do that??
    I'm using the first version of VSTO and MS word 2003..
     
     
    Thanks in advance for any help;
     

    DB:3.14:How To Insert Text To The Current Cursor Position In Word Document? z7

    I found the solution in:
     
    http://msdn2.microsoft.com/en-us/library/6b9478cs(VS.80).aspx
     
    Thanks God...
     

  • RELEVANCY SCORE 3.14

    DB:3.14:The Cursor Position 1a


    http://img385.imageshack.us/img385/445/popflybugdy0.jpgThere is something wrong with the cursor position..

    DB:3.14:The Cursor Position 1a

    I have to say sorry that you might really want to know what the problem was..
    But it was annoying that I didn't say the reason..

  • RELEVANCY SCORE 3.13

    DB:3.13:Position Cursor In Text Field When Form Is Opened mk


    Another newbee question I'm afraid!

    I want to position the cursor in a text field when a user opens the form. I can't find a way to do it but I'm pretty sure it's straightforward!

    Also, can I remove fields from the tab order?

    Thanks (for your help and patience!)

  • RELEVANCY SCORE 3.13

    DB:3.13:Windows Live Mail: Context Menu Key Doesnt Work Properly jf


    While typing a message and using the cursor keys to move to a word Windows Live Mail spell-checker underlined red, pressing the Context Menu key didn't show the appropriate context menu: Instead of showing a context menu of the current cursor position it displayed the context menu of the current mouse position which was somewhere completely different. MS, please fix.

  • RELEVANCY SCORE 3.12

    DB:3.12:Cursor Position sz


    Hi all,

    Can we able to find the cursor position in a text item.

    for example text item contains some data as follows

    All software downloads are free, and most come with a Development License
    that allows you to use full versions of the products at no charge
    while developing and prototyping your applicationsIf the cursor is pointing near full versions ,i need the position of the cursor

    Thanks
    :8}

    DB:3.12:Cursor Position sz

    pThe Look and Feel Project can do that. Goto the "Sources Doc" tab, then consult the Single-line Text item or/and Multi-line Text item documentation./p
    Francois

  • RELEVANCY SCORE 3.12

    DB:3.12:How Can I Position A Graph Cursor Via Code? 8x


    I am trying to position a waveform graph cursor based on values obtained from other cursors, that is, I know what the Y value is and I want to find the corresponding X value in order to position that cursor on the graph

    DB:3.12:How Can I Position A Graph Cursor Via Code? 8x

    I just forgot to say that if the Y value is known without uncertainity, the corresponding index value is found using the search 1D array function (also in the Array subpalette). In this case, the Y array does not need to be ordered.CC



    Chilly Charly (aka CC)E-List Master - Kudos glutton - Press the yellow button on the left...

  • RELEVANCY SCORE 3.12

    DB:3.12:How To Get Cursor Position In A Richtextbox 9c


    i hav a richtextbox control in my form
    while pressing ctrl + spacebar i need to show a list box at the cursor position
    like (visual studio editor)
    how do i get the current cursor position of richtextbox
    please help me

    DB:3.12:How To Get Cursor Position In A Richtextbox 9c

    Try to write your code in textchange or key pree method of your Rich Text Box.

  • RELEVANCY SCORE 3.12

    DB:3.12:[Solved] Finding Mouse Position In Bash jp



    Im looking for the simplest way posible to find the absolute current mouse position for X in bash (or with a simple cli program, hopefully possible with plain X!).

    If there is no KISS way to do this Ill make my own program, but that probably shouldnt be necessary. Im just trying to make gmrun start at the mouse cursor position.

    Last edited by Statix (2008-09-21 02:05:20)

    DB:3.12:[Solved] Finding Mouse Position In Bash jp


    Thanks all. Moljacs link was exactly what I was looking for.

  • RELEVANCY SCORE 3.11

    DB:3.11:How Can I Get A Cursor Position? mk


    Hi Everyone!

    In my TextArea, there is a blinking cursor.
    How can I get the cursor position not the mouse position.

    Thanks,

    DB:3.11:How Can I Get A Cursor Position? mk

    Thanks JefferyGong!

    That is selection index number, not the coordinate point.
    I want to know point position.

    Gyi

  • RELEVANCY SCORE 3.11

    DB:3.11:Set Cursor Position k8



    hi,

    in my screen how to set the cursor position by default?

    (e.g. field with name NAME)

    DB:3.11:Set Cursor Position k8


    Hi Lana,

    Please check this link for sample code.

    http://help.sap.com/saphelp_nw04/helpdata/en/9f/dbac0b35c111d1829f0000e829fbfe/content.htm

    Hope this will help.

    Regards,

    Ferry Lianto

    Please reward points if helpful.

  • RELEVANCY SCORE 3.11

    DB:3.11:Show Cursor Column Position 88


    Is there a way to have Dreamweaver 8 display the current
    column position of the cursor? When I'm doing comment separators or
    keeping track of line lengths I copy the line into TextPad to
    determine the length of the line, and then pasting it back into
    Dreamweaver 8. Am I missing something here?

    Thanks!

    DB:3.11:Show Cursor Column Position 88

    I know this is bad netiquette, but did you ever get a reply
    to your question? (presumably not here!
    ) - thanks in advance... GREG...

  • RELEVANCY SCORE 3.11

    DB:3.11:Get Array Index From Current Cursor Position ? fj


    Is there a way to tell what element in an array has the cursor?
    I want to put the cursor on any (1D) array element, then hit a button
    to delete it. Thus, to do so, I need to determine the index from the
    cursor position.




    Richard

    DB:3.11:Get Array Index From Current Cursor Position ? fj

    Thanks Chilly. Of course! I didn't think about the position nodes, I just thought there should be an "Active Index" similar to "Active Cell" in other controls, but not so with plain old Arrays. I was able to use a much simplified version of your diagram, as shown in the attached photo.Thanks again, great answer.(p.s. the Constant 26 in my diagram is the array element's height)



    Richard

  • RELEVANCY SCORE 3.11

    DB:3.11:Cursor Or Pointer And Bufferedreader m7


    Is their any way to initialize the cursor (pointer, current position in a BufferedReader) ?
    In my program, I want to go the the begening of my BufferedReader but I can't.

    DB:3.11:Cursor Or Pointer And Bufferedreader m7

    Thank's for your reply
    But the problem is that I can't mark the beginging of the BufferedReader because I just get a BufferedReader with the pointer at the end of it.
    So the present position in the stream is the last position.
    How can I go to the begining ???

    example :BufferedReader br = someMethode.getStream();
    String str = br.readLine(); // str = null : eof

  • RELEVANCY SCORE 3.11

    DB:3.11:Inserting Word Docs At Current Cursor Position From An Add-In 8a


    We are creating an add-in that will allow a user to insert word documents(.doc) into a document that is already open. We would like this to be at the current cursor position. I have seen examples that useApplication.Selection.InsertFile()
    orSelection.TypeText() to insert content into a file, but I am having no luck in trying to use these or getting the current cursor position. Is it possible to do what I am looking to do and if so, any pointers to how I might accomplish this?

    Thanks

    DB:3.11:Inserting Word Docs At Current Cursor Position From An Add-In 8a

    Thank you everyone for your help. Sorry for all the missing details.
    I'm targeting Word 2007, VSTO 3, C#.
    I'm hosting WPF in a Windows Form control and it turns out I needed to set a property to hold the Word.Application object in order to have access to it. Jo's sample code works now. Thanks again.

  • RELEVANCY SCORE 3.11

    DB:3.11:Insert Image Is Broken km


    It does not insert to the current cursor position. It inserts somewhere above the current cursor position. I have to use html to move it to the right place.

    Kalman Toth Database & OLAP Architect
    sqlusa.com
    New Book / Kindle: Exam 70-461 Bootcamp: Querying Microsoft SQL Server 2012

    DB:3.11:Insert Image Is Broken km

    It does not insert to the current cursor position. It inserts somewhere above the current cursor position. I have to use html to move it to the right place.

    Kalman Toth Database & OLAP Architect
    sqlusa.com
    New Book / Kindle: Exam 70-461 Bootcamp: Querying Microsoft SQL Server 2012

  • RELEVANCY SCORE 3.10

    DB:3.10:Adding Control At Current Cursor Position pk


    Hi all,I'm trying to add a Control like a TextBox or a ComboBox at the current cursor position, but I'm not able to find any properties or method of Globals.ThisDocument that return the current range Private Sub btAddControl_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles btAddControl.Click    Globals.ThisDocument.Controls.AddTextBox(Globals.ThisDocument.Range, 80, 10, tbTextName.Text)             End SubCould you help me?Thanks

    DB:3.10:Adding Control At Current Cursor Position pk

    I mean this two instruction...X = Globals.ThisDocument.Application.Selection.Information(Microsoft.Office.Interop.Word.WdInformation.wdHorizontalPositionRelativeToPage)Y = Globals.ThisDocument.Application.Selection.Information(Microsoft.Office.Interop.Word.WdInformation.wdVerticalPositionRelativeToPage)Many Thanks,Marasma

  • RELEVANCY SCORE 3.10

    DB:3.10:Altitude? j1


    Hi, I've noticed in 3D view that the browser status bar displays the current Altitude at the cursor/map position. How can I retrieve this value programmatically? Say...when the user clicks on the map. Can't seem to find anything in the docs or in forums...thanks for any helpalan

    DB:3.10:Altitude? j1

    V6 is out and there still seems to be no way to get the altitude for a given lat/lon. This information is displayed on the mouseover, so it must be available. Has anyone figured this out?
     

  • RELEVANCY SCORE 3.10

    DB:3.10:Current Position Of Cursor In Textedit Element as



    Hi

    I would like to know how can i determine the current position of the cursor in general.

    I would also like to know the current position of the cursor in textedit element.

    Regards

    Piyush

  • RELEVANCY SCORE 3.10

    DB:3.10:How To Find A Word Before The Current Cursor Position In Word 2010 And Apply Font For That Word? 91


    Hi,
    I will type some text in the word document. Say I am srinivas akella . Now I will move the cusor after the srinivas in the above sentense and press SPACE BAR. Now in the Window OnKeyPressEvent I need to find out of the word before the SPACE BAR i.e.
    before current cursor position. Then I need to apply an underline to that word.
    How to achieve this using Word automation?
    Thanks,
    Srinivas