Hi, I have a textbox array called lanastart, I also have a right click menu that brings up times from 9:00am to 10:00pm. My question is how do I get that time into the textbox that I right clicked on and selected the time from. I think my biggest problem is that the text box is in an array 0 to 27.
this is the code for the right click menu (Thanks to MartinLiss)
Thank youCode:Private Sub lanastart_MouseDown(Index As Integer, Button As Integer, Shift As Integer, X As Single, Y As Single) If Button = vbRightButton Then lanastart(Index).Enabled = False lanastart(Index).Enabled = True PopupMenu timemenu lanastart(Index).Text = timemnu End If End Sub




Reply With Quote