Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. Visual Basic
  4. How to call a function after unordered input?

How to call a function after unordered input?

Scheduled Pinned Locked Moved Visual Basic
tutorialquestion
2 Posts 2 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • S Offline
    S Offline
    sanyexian
    wrote on last edited by
    #1

    Hi,everyone! I have some controls on a pannel like below: Standard(ComboBox); PN(TextBox); DN(TextBox); Style(ComboBox) I want that I could input anyone first as I like (Eh...I mean that I could input "Standard" first or "PN" first),after these four controls are inputed (not NULL),my function which are used to make a jugement whether "PN" value was out of range should be called. But I don't know how to do ,could you give me some suggestions ?THX a lot!

    S 1 Reply Last reply
    0
    • S sanyexian

      Hi,everyone! I have some controls on a pannel like below: Standard(ComboBox); PN(TextBox); DN(TextBox); Style(ComboBox) I want that I could input anyone first as I like (Eh...I mean that I could input "Standard" first or "PN" first),after these four controls are inputed (not NULL),my function which are used to make a jugement whether "PN" value was out of range should be called. But I don't know how to do ,could you give me some suggestions ?THX a lot!

      S Offline
      S Offline
      Steven J Jowett
      wrote on last edited by
      #2

      You will need to call the Function from the LEAVE event handler of each control. Modify for function to ensure that all the controls contain a valid value and if so perform the necessary calcuations etc.

      Steve Jowett ------------------------- Real Programmers don't need comments -- the code is obvious.

      1 Reply Last reply
      0
      Reply
      • Reply as topic
      Log in to reply
      • Oldest to Newest
      • Newest to Oldest
      • Most Votes


      • Login

      • Don't have an account? Register

      • Login or register to search.
      • First post
        Last post
      0
      • Categories
      • Recent
      • Tags
      • Popular
      • World
      • Users
      • Groups