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

Forum Post: Re: [V8i C# addin] Determine right-click from within a primitive command

$
0
0

MicroStation Idioms

[quote user="zCane75"]Within the primitive command, is there any way to get whether the user right-clicked? I'm asking this because I need a way to allow the user to revert[/quote]

You're asking exactly the correct question.  It's a common MicroStation idiom to use Reset as a way to cancel a simple command or to back out of a state of a complex (multi-state) command.  By default, the right mouse button is mapped to Reset.

Locate and HitPoint

[quote user="zCane75"]I can't seem to find a function to tell whether, based on the data point, the user clicked the transientelement container that we made[/quote]

Take a look at the LocateElement MethodFrom VBA help: See Interaction of HitPoint, LocateElement, and GetLocatedElement for an example that illustrates how to use these methods together


Viewing all articles
Browse latest Browse all 105279

Latest Images

Trending Articles



Latest Images

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