Menu

arrayOfObjects

This projects shows how to create an array of objects. The objects in this example are "Gambas" buttons.

The number of objects is not known in advance; the array is made at runtime;

  • The number of buttons made can be set.
  • The number of columns can be set
    The buttons are arranged in a Panel in the main window.

Test click on the button will show the button's id in the log-window underneath.

Have fun.

[-img src=arrayOfObjects.png alt=Array of objects: missing =-]

Posted by cybrarian 2012-11-13

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.