weird question

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Drupan c
    New Member
    • Aug 2008
    • 10

    weird question

    Hello everybody

    i have a weird question... if u guys have observed when we use
    ms sql .. on the query box when we take the mouse pointer to the corner of a single line query it changes its positon so that the complete line can be selected when clicked , rather than dragging the mouse over the query to select the query..
    at first i would like to know what is it called ?? n how do i achieve this in a fire fox browser.. is there any way???
  • tlhintoq
    Recognized Expert Specialist
    • Mar 2008
    • 3532

    #2
    I don't know about MS-SQL, but there is an event for controls such a text box that fires for MouseEnter that you could make use of.

    Maybe something like... when the mouse enters the URL text box you select all the text of the box.

    Something like that?

    Or if you only want it to happen in a very small space, like you mentioned in the corner of the box, then once the mouse enters you track its x/y location relative to the control location. When the mouse is within 5 pixels of 0,0 then react to it.

    Just a couple thoughts.

    Comment

    • Drupan c
      New Member
      • Aug 2008
      • 10

      #3
      Originally posted by tlhintoq
      I don't know about MS-SQL, but there is an event for controls such a text box that fires for MouseEnter that you could make use of.

      Maybe something like... when the mouse enters the URL text box you select all the text of the box.

      Something like that?

      Or if you only want it to happen in a very small space, like you mentioned in the corner of the box, then once the mouse enters you track its x/y location relative to the control location. When the mouse is within 5 pixels of 0,0 then react to it.

      Just a couple thoughts.

      well you ll understand it better if you once have a look at the ms sql query analyzer windows.. its like selecting the whole line by taking the mouse towards the beginning of a line and single click.. hope this ll give a idea of what i mean to say...

      Comment

      Working...