Andrew Lowe
Usenet Archive
- Joined
- Jul 8, 2000
- Messages
- 27
- Reaction score
- 0
Hi all,
I assume by now that we are all familiar with the behaviour of the delete commmand
. We have several lines drawn and we wish to delete them. I select the first one, it is highlighted and then I click anywhere and it is deleted - no problem. I then click the second line, once again it is highlighted, and then I click the third line. The second line is immediately deleted and the third line is then highlighted, an accept the second for deletion and then select the third in one step.
This is my problem. I can do all of this in two steps, select the line, click anywhere and it is deleted AND THEN select the next line with another click etc etc. Does anyone have any sample code that shows how to do this "like" delete does it? I can't seem to get mdlState_startModifyCommand to do as I want and I am getting really confused with mdlState_startPrimitive, mdlLocate_*** etc etc so if anyone knows how to do the delete "style", accept and select in the one click, can they please let me know.
Thanks in advance,
Andrew Lowe
p.s. Obviously the sequence that I used, first line, no problem, second/third line, problem, has nothing to do with it. This could be done in any order.
I assume by now that we are all familiar with the behaviour of the delete commmand
This is my problem. I can do all of this in two steps, select the line, click anywhere and it is deleted AND THEN select the next line with another click etc etc. Does anyone have any sample code that shows how to do this "like" delete does it? I can't seem to get mdlState_startModifyCommand to do as I want and I am getting really confused with mdlState_startPrimitive, mdlLocate_*** etc etc so if anyone knows how to do the delete "style", accept and select in the one click, can they please let me know.
Thanks in advance,
Andrew Lowe
p.s. Obviously the sequence that I used, first line, no problem, second/third line, problem, has nothing to do with it. This could be done in any order.