Re: How to edit textbox that also has dragdrop functionality?

Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance



Michael Ray wrote:
Larry Serflaten wrote:
Though I never found a case like mine, many I did find suggest making it
all manual and handling it in the mouse events. But how do you tell if
the person wants to drag or edit the box?

If you open up Wordpad and select some text, and then start dragging
the selected text, you'll notice there is about a 7 pixel window (3 on every
side of the mouse down point) where the user can move around without
kicking off the drag operation.

Following that as an example of 'manual' operation should get you where
you want to go, correct?

Perhaps I could also set the dragdrop props programatically. The user will have to hit an Update button in order to edit the allowed textboxes in a "row" so I could turn off dragdrop when that happens and turn it back on when they hit Save.

That worked out very well.

--

Sincerely,
Michael Ray
Topshot Systems LLC
.



Relevant Pages

  • Re: How to edit textbox that also has dragdrop functionality?
    ... kicking off the drag operation. ... will have to hit an Update button in order to edit the allowed textboxes in a "row" so I could turn off dragdrop when that happens and turn it back on when they hit Save. ...
    (microsoft.public.vb.general.discussion)
  • Are there graphical editors for non-visual object development?
    ... then edit each of those objects to write code? ... I know that you can do some in Visual Studio (ie drag a data adapter ... be able to drag a class onto a workspace, ...
    (comp.object)
  • Re: Editing Text With Double Click
    ... If you open your shape to look at the shapesheet, in the 'Events' section, there is a cell "EventDblClick". ... drawing then I can modify the text using a single click. ... drag to the drawing then I have to go through the double ... dbl click --> text edit. ...
    (microsoft.public.visio.general)
  • RE: Editing Text With Double Click
    ... drawing then I can modify the text using a single click. ... the master shape, drag to the drawing then I have to go through the double ... dbl click --> text edit. ...
    (microsoft.public.visio.general)