Quantcast
Channel: Product Communities
Viewing all articles
Browse latest Browse all 105279

Forum Post: STATE_TENTATIVE_LOCATE does it still exist?

$
0
0

Hi all,

      In the app I'm upgrading to V8 I have a function that when it starts it  calls mdlState_startPrimitiveAndSetPopupMenu() to start drawing a line string. It also pops up a small dialogue that has a drop down menu list. On this list is a list of options that correspond to symbology. To make things easier for the user, so that they don't have to constantly move back to the dialogue to change options, I also have mdlState_setFunction(STATE_TENTATIVE_LOCATE,tentativeWhilstPlacingString) which when the user hits the tentative, the menu option advances one.

    The code as it stands compiles under V8 but when it is run, instead of getting the menu list incrementing I now get "the system" dropping into pan mode. I get the "clenched fist" which drags the screen around until I hit either the left or right mouse button, after which the functionality resumes. I have a print statement at the start of the tentative command but I never get any output.

    Looking into the headers,STATE_TENTATIVE_LOCATE is still there in userfnc.h, = 8 in MDL_STATE_Callbacks BUT if I look in the help file under mdlState_setFunction() it's not listed in the eventType. Whilst reading this page, I noticed the comment about function order under Remarks, swapped things around but still no go.

    So the question is, in the world of V8 does this functionality still exist, and if so, what do I have to do to get it back.

Regards,

      Andrew


Viewing all articles
Browse latest Browse all 105279

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>