[Gambas-devel] Error in gb.form.mdi

David Villalobos Cambronero david_villalobos_c at ...7...
Sat Aug 16 17:21:12 CEST 2008


Hi Benoit,

    I think there is a bug in the Activate event in WorkSpace in Gambas 3 (I didn't look in Gambas 2). The documentation says that this event is raised when the active window changes, but it is raised to when you click on the same window.

To see an example just add the following lines to the end of the class for FMain in gb.form.mdi:

Public Sub Workspace1_Activate()

  Print "Hello"

End

And see when and how many messages are printed.

If you comment the Fworkspace::tabWorkspace_Click() the problem is solve.

Could you please validate?

Best regards

David


      




More information about the Devel mailing list