Drop down menu in Forms

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Drop down menu in Forms

    This is my first time attempting to create a form in PC-DMIS. I have all of the graphics set up how I'd like it so at least that is squared away. I am making this as a tool to keep track of broken probes without having to physically count them every week. During calibration it will ask if a probe was broken, if so which one? Then the form will open with a drop down menu asking which probe broke. I know how to do this with a normal input comment but the window isn't as user friendly as a form can be.
    My question is, how do I pass a value depending on which drop down item is selected in the form to a variable in PC-Dmis so I can use that variable later in the program?
    I've went through the help menu but I still cant5seem to figure it out.
    Thanks again everyone!

  • #2
    https://www.pcdmisforum.com/forum/pc...ts-on-a-report
    Automettech - Automated Metrology Technology

    Comment


    • SingularitY
      SingularitY commented
      Editing a comment
      You're the man. I'll give this a shot today.

  • #3
    You wouldn't happen to know how to create a button that automatically continues with the program in the form would you?
    i used the code in the help menu and it gave me an error message..

    Comment


    • NinjaBadger
      NinjaBadger commented
      Editing a comment
      When the form opens I have code that hides the execution dialog window.

      Then there's a button on the form which shows the execution window dialog and closes the form (after verifying all date required is present and correct)

    • SingularitY
      SingularitY commented
      Editing a comment
      I realized the example in the help menu was specific to the example as a whole. I deleted the code that was not valid and it worked great. I used a normal button feature that says "OK." In the eventclick section I entered "TheView.Cancel" and it gave me the desired result. Thank you for your help! Understanding these forms will really help my programming abilities.

  • #4
    https://www.pcdmisforum.com/forum/pc...85-form-editor

    Here's some more Ideas for forms from different people.
    (In Memory of my Loving wife, "Ronda" who I lost March 7, 2016. I love you baby.)
    They say "Nobody's Perfect." I must be Nobody.

    Comment


    • SingularitY
      SingularitY commented
      Editing a comment
      Thanks Kirbster!

    • KIRBSTER269
      KIRBSTER269 commented
      Editing a comment
      no problem

  • #5
    I was successful doing what I originally posted about. Both of you helped me get a better understanding of Forms and I appreciate your help.

    Comment

    Related Topics

    Collapse

    Working...
    X