View Single Post
  #3 (permalink)  
Old 01-10-2008, 04:37 PM
willisgt's Avatar
willisgt willisgt is offline
Senior Member
 
Join Date: Aug 2007
Location: Nacogdoches, Texas USA
Posts: 154
Default

Erel, you're right, the code you posted does not exhibit the behavior I described.

The program I'm attaching, however, does. Run the executable; click Button1, and Form2 opens. Click the 'Click Me' button, and a mesagew box appears. Close Form2. Click Button1 again, and Form2 opens once again. Click the 'Click Me' button, and the message box appears, but only once.

Now run Basic4PPC and load the .sbp file. Run it (F5). Form1 opens. Click Button1. Form2 opens. Click the 'Click Me' button, and a message box appears. Close Form2. Click Button1 again, and Form2 reopens. Click the 'Click Me' button, and the message box appears twice in rapid succession.

At least, that's the behavior on my desktop.

BTW, I am using Basic4PPC 6.0 on a computer running Windows XP Pro.


Gary
Attached Files
File Type: zip test.zip (12.6 KB, 7 views)
Reply With Quote