Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Hi, i made a project (form1) and th

Status
Not open for further replies.

crystals

Programmer
Nov 30, 2000
7
0
0
US
Hi, i made a project (form1) and then created another form(form2). Now, i put command buttons on form2 such as:

Private Sub Command1_Click()
Call Form1.Initialize_Square_Grid
Form1.Refresh
Form1.Show
End Sub

But, when i click on the command1 Button it does nothing. Form1 doesn't even get displayed. It just sits there on Form2. Can anybody help me figure this guy out.

any help would be greatly appreciated,

thankx

C
 
I duplicated what you have done, but in the Initialize_Square_Grid I just had it update a text box to let me know that it was called. Everything worked as expected. I suspect there is something in your Initialize_Square_Grid sub that is hanging things.



David Paulson


 
Try stepping through the code to see if you get past the line Call Form1.Initialize_Square_Grid

Simon
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top