hi again. Im having a few problems to do with a few of the components on my program. Firstly I have a button that once pressed allows the user to select a file and store its path in a variable. I would like to be able to access this variable whenever other buttons are used in my program but I cnt seem to find a way to pass the variable to each of my button components. Im not totally sure but I dont think its possible to make a variable global from within a button, and from looking around the only over thing i have come across is creating its own .h file which is something i have no clue about and would like to avoid if possible.
thanks any help will be appreciated