can't show non-modal form when a modal form is displayed

Recommended Answers

All 5 Replies

You first have to respond to a modal dialog (Click OK, Cancel, whatever) before you can do anything else. That's why it's called modal.

hi.... am a novice in programming., and i want to run a program to calculate the area of a rectangle.. using vb6.0

here is the code av tried..
*Private Sub cmdclear_Click()
txtlenght.Text=""
txtbreadth.Text=""
txtarea.Text=""
End Sub..

Private Sub cmdcalculate_Click()
txtlenght.Text=lenght
txtbreadth.Text=breadth
area=lenght*breadth
txtarea.Text=area
End Sub

Private Sub cmdclose_Click()
End\terminate
End Sub

but still the output d program is giving to me is 0

@phadhorlard
you should create your own thread for this.
Click Here to create a new thread.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.