Necesito usar un comando que pueda saber si esta definido un control label,
Hay algina forma??
Antes de definir un Label, deseo saber si ya esta definido.
Gacias
-----------------
I need to use a command that can tell if a label control is defined,
Is there any way ??
Before defining a Label, I want to know if it is already defined.
Thank you
What command can be used to find out if a control exists?
Moderator: Rathinagiri
- AUGE_OHR
- Posts: 2093
- Joined: Sun Aug 25, 2019 3:12 pm
- DBs Used: DBF, PostgreSQL, MySQL, SQLite
- Location: Hamburg, Germany
Re: What command can be used to find out if a control exists?
hi,
have a look into c:\hmg.3.4.4\SOURCE\h_label.prg
have a look into c:\hmg.3.4.4\SOURCE\h_label.prg
Code: Select all
If _IsControlDefined (ControlName,ParentForm)
MsgHMGError ("Control: " + ControlName + " Of " + ParentForm + " Already defined. Program Terminated")
endif
have fun
Jimmy
Jimmy