[Gambas-user] Getting an objects handler

Bruce Steers bsteers4 at gmail.com
Fri Mar 3 12:27:46 CET 2023


Is it possible to get the objects handler name?

Ie. if i use...

Dim m as Menu = New Menu(mParent) As "ThisMenu"
m.Name = "This"
m.Text = "This is a menu"

I can read m.Name , m.Text, etc but can i get the "ThisMenu" reference?

I've made a Menu.Save() Menu.Load() function to save/restore menus to disk
It saves all the properties (except Tag yet) but i want to save the handler
name too.

Many thanks.
BruceS
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.gambas-basic.org/pipermail/user/attachments/20230303/2ec2614a/attachment.htm>


More information about the User mailing list