3
Reply

Passing Current Component to a function

Jonathan

Jonathan

Mar 31 2009 9:01 AM
3.2k
Hello I am writting a simple app and I have run into a problem that I can't google the answer to. I am probably asking wrong, dunno. I have multiple textboxes on a tabbed component. I am using the validating command to make sure the user inputted a value and if not input one. There are lots of these text boxes and they all have the same event code that differ only by the component using it. but I can not figure out how to pass a component with functionality to a module so I can reuse the same code and cut down on my repitition. Any advice? I know its simple but with out a data type I can only think of overly complex things. THanks for anything

Answers (3)