How to call a function after unordered input?
-
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!
-
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!
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.