Author Topic: To drag with GETPOINT  (Read 2939 times)

0 Members and 1 Guest are viewing this topic.

velasquez

  • Newt
  • Posts: 195
To drag with GETPOINT
« on: January 04, 2011, 04:05:39 PM »
Hello 
I got to create a function to drag an object close to the cursor of the mouse without working with GRREAD. 
Now I need to use this function with GETPOINT. 
It is possible to do some thing while GETPOINT is expecting a contribution. 
 
Tanks.

Lee Mac

  • Seagull
  • Posts: 12914
  • London, England
Re: To drag with GETPOINT
« Reply #1 on: January 04, 2011, 06:46:32 PM »
acet-ss-drag-move

But requires Express Tools  :-(

Code: [Select]
[color=red]([/color][color=blue]acet-ss-drag-move[/color] ss pt [prompt] [highlight [cursor]][color=red])[/color]

[color=green]Drag a selection set to change location.[/color]

[color=navy]Arguments[/color]
ss: [color=green]The selection set to drag.[/color]
 
pt: [color=green]The base point[/color].

prompt: [color=green]A message to display before dragging is started.[/color]

highlight: [color=green]If given, causes a rubber-band line to be drawn from pt to the current cursor position while dragging;
this parameter can be nil to draw a rubber-band line in the inverse of the screen color, or non-nil to draw a highlighted line. [/color]

cursor: [color=green]The cursor form to display while dragging (0=crosshairs, 1=no cursor, 2=target). [/color]

[color=navy]Return Values[/color]
[color=green]Normally returns the selected point, but will honor initget settings and can return arbitrary text or keywords.
Returns nil if the dragging operation is aborted.[/color]

[color=navy]Note:[/color]
[color=green]The[/color] [color=blue]acet-ss-drag-move[/color][color=green] function does not move the selection set,
but allows selection of a new position while showing how the result will appear. [/color]
« Last Edit: January 04, 2011, 06:58:15 PM by Lee Mac »