I have created code to make a calendar dynamically starting at any date. This calendar has a number of buttons, which I use to fill in data. So far I have created the data name and color for each event attached to buttons on one side of the calendar.
What I now want to do is create the buttons dynamically so that after selecting the appropriate dates I click on the button it changes the color background and enters the data. I can create the buttons and I set the color of the text on the button to the one I want on the calendar. However I cannot now figure out how to return the text on the button and the color of the text when I click on it. Any suggestions please.
Peter