Hi folks..
I'm creating a lil stock tracker program and have a question.. I've got several buttons available for things like viewing, adding, deleting stocks (currently owned vs. those just being watched). I know that the functions do the same thing whether its a stock thats owned or just one being tracked, but I'd like to keep them in seperate data sources but want to use the same function to access them...
I started with adding.. the button brings up a small input dialog form that will then perform some action.. my problem is how do I tell that dialog form which Add button got pushed (add ticker to owned or add ticker to watched) so that I can then tell function which data source to hit up for the info.
I'm creating a lil stock tracker program and have a question.. I've got several buttons available for things like viewing, adding, deleting stocks (currently owned vs. those just being watched). I know that the functions do the same thing whether its a stock thats owned or just one being tracked, but I'd like to keep them in seperate data sources but want to use the same function to access them...
I started with adding.. the button brings up a small input dialog form that will then perform some action.. my problem is how do I tell that dialog form which Add button got pushed (add ticker to owned or add ticker to watched) so that I can then tell function which data source to hit up for the info.