Get control name

12 views
Skip to first unread message

Lawrence Fisher

unread,
Jun 7, 2026, 7:23:07 AMJun 7
to Migrated By Firefly
Hi all

I am missing something here.

I have a button on my form:

this.btnK_btl_itsiaa.Name = "btnK_btl_itsiaa";

In the task, I want to retrieve the name of the last control.

I have tried: LastClicked, LastParked, KbGet(0), KbGet(1), CtrlName(0)

I have even tried to update a variable in:

this.btnK_btl_itsiaa.Enter 
this.btnK_btl_itsiaa.Expand

But it never reaches there.

//
// btnK_btl_itsiaa
//
this.btnK_btl_itsiaa.Alignment = System.Drawing.ContentAlignment.TopLeft;
this.btnK_btl_itsiaa.ForeColor = System.Drawing.SystemColors.ControlText;
this.btnK_btl_itsiaa.Format = "12H";
this.btnK_btl_itsiaa.ImageLocation = "%EXIT%";
this.btnK_btl_itsiaa.Location = new System.Drawing.Point(16, 394);
this.btnK_btl_itsiaa.Name = "btnK_btl_itsiaa";
this.btnK_btl_itsiaa.RaiseChangeOnClick = true;
this.btnK_btl_itsiaa.Size = new System.Drawing.Size(96, 38);
this.btnK_btl_itsiaa.Style = Firefly.Box.UI.ButtonStyle.Image;
this.btnK_btl_itsiaa.Text = "יציאה";
this.btnK_btl_itsiaa.Enter += new System.Action(this.btnK_btl_itsiaa_Enter);
this.btnK_btl_itsiaa.Expand += new System.Action(this.btnK_btl_itsiaa_Expand);
this.btnK_btl_itsiaa.Data = this._controller.K_btl_itsiaa;


Any ideas?

--
Sincerely

Lawrence
Award winning philatelic exhibit
Author of "Kill Me Now!"
Buy me a coffee please
https://stampandstories.blogspot.com
My YouTube channel

Noam Honig

unread,
Jun 7, 2026, 8:10:32 AMJun 7
to Lawrence Fisher, Migrated By Firefly
Magic's control name function is mapped to that tag property of the control.



Noam Honig  
Founder & CEO


--
You received this message because you are subscribed to the Google Groups "Migrated By Firefly" group.
To unsubscribe from this group and stop receiving emails from it, send an email to migrated-by-fir...@googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/migrated-by-firefly/CAJSUFErnav9ejycU6ghD7u9frb2cme%3D64HARXTYuJ%2BLV2%3D64jw%40mail.gmail.com.

Lawrence Fisher

unread,
Jun 7, 2026, 12:29:31 PMJun 7
to Noam Honig, Migrated By Firefly
There is a property named Tag?

I don’t see it

Sent from my iPhone

Lawrence

On 7 Jun 2026, at 15:10, Noam Honig <no...@fireflymigration.com> wrote:


Magic's control name function is mapped to that tag property of the control.



Noam Honig  
Founder & CEO
Reply all
Reply to author
Forward
0 new messages