[Gambas-user] Issue 328 in gambas: Change the name of the control will lead to code error

gambas at ...2524... gambas at ...2524...
Sat Sep 8 05:51:03 CEST 2012


Status: New
Owner: ----
Labels: Version-3.2.0 Type-Bug Priority-Critical OpSys-Any Dist-Any  
Arch-Any Desktop-Any GUI-Any

New issue 328 by jmx... at ...2924...: Change the name of the control will lead to  
code error
http://code.google.com/p/gambas/issues/detail?id=328

1) Describe the problem.
Change the name of the control will lead to code error.

2) GIVE THE FOLLOWING INFORMATIONS (if they are appropriate):

Version: 3.2
Revision:
Operating system: Linux
Distribution: Ubuntu
Architecture: x86
GUI component: QT4
Desktop used: xfce

3) Provide a little project that reproduces the bug or the crash.

4) If your project needs a database, try to provide it, or part of it.

5) Explain clearly how to reproduce the bug or the crash.
  A.insert two forms(e.g.:Form1,Form2). each form has a button, and have a  
same name(e.g.: Button1)
  B.write the code in Form1:
    Public Sub Button1_Click()
      Form2.Button1.Tag = "form2.button1"
    End
  C.Now, change the name of the button on Form1.(e.g.:Button2).
  D.the code will auto change into:
    Public Sub Button2_Click()
      Form2.Button2.Tag = "form2.button1"
    End
  E.All of the "Button1" in the code change into "Button2".  
Attention:"Form2.Button1 >> Form2.Button2".






More information about the User mailing list