I have the following in the CellClick event handler for a listBox:
If Me.Selected(row) Then
Problem is that it is firing while the Listbox is being populated (without a mouse click…). This causes the modal window to popup once for each row added to the listbox. I tried moving that code to CellAction event handler but had the same issue.
EDIT: Weird. I removed the winGamerProfile.Show code and the window still pops up. Could it be because I’m doing things like this:
if platform <> "PC" Then
winGamerProfile.btnAddFriend.Visible = TRUE
winGamerProfile.btnAddFriend.Visible = FALSE
This code is in winMain