[Gambas-user] IDE renaming

Gianluigi bagonergi at gmail.com
Thu Oct 8 11:17:53 CEST 2020

Il giorno gio 8 ott 2020 alle ore 10:28 Dag Jarle Nerland Johansen - Gambas
<gambas at cd-bahia.com> ha scritto:

> Hi,
> I found a little thing in the IDE which may cause irritation by testing
> a program.
> If an object is renamed on the form, it works very fine, the source is
> changed too, a great benefit indeed.
> But if a menu item is renamed, it is not changed in the source.
> Not a big deal, in my programs I only link  the menu-click to a
> button-click, but sometime I use time to find the "error", which is
> none. That is when I make more changes, get distracted from something
> else, start and the click on the menu doesn't work.
> In fact only a beauty thing, but perhaps someone has time to change that.
> Regards,
> Dag

Hi Dag,
if you use the Action class you solve the problem and you can safely change
the names of the menus.

See attached example, zip to avoid problems with GMail

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.gambas-basic.org/pipermail/user/attachments/20201008/ddffb263/attachment-0001.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Action.zip
Type: application/zip
Size: 16858 bytes
Desc: not available
URL: <http://lists.gambas-basic.org/pipermail/user/attachments/20201008/ddffb263/attachment-0001.zip>

More information about the User mailing list