Page 1 of 1

Enabled property in IDE

Posted: Sat Jan 30, 2010 11:05 am
by sudip
Hello Master Roberto,

I can't find Enabled property in IDE, is it possible to add this property in IDE?

I also found AllowEdit property of Grid is available as Control Definition Only. But, sometimes we need to change a grid read only programatically. Now, I am doing this using tips from Grigory Filatov

Code: Select all

_HMG_SYSDATA [ 40 ] [ GetControlIndex ( cGrid , cWindow ) ] [ 1 ] := lEditable
Is it possible to use AllowEdit property in this case more easily?

Thanks in advance.

With best regards.

Sudip

Re: Enabled property in IDE

Posted: Sat Jan 30, 2010 7:57 pm
by mol
It's fine idea to allow programmatically changing most of properties of controls.
(Like a InputMask in TextBox...)
Marek.

Re: Enabled property in IDE

Posted: Sun Jan 31, 2010 2:27 am
by Roberto Lopez
sudip wrote:Hello Master Roberto,

I can't find Enabled property in IDE, is it possible to add this property in IDE?
IDE read and write window layouts according HMG syntax.

At this moment, 'enabled' is a property available only at run-time and it is not part of the syntax of the GUI objects.

So, prior to add it to IDE, it should be added to controls/windows definition syntax.

Re: Enabled property in IDE

Posted: Sun Jan 31, 2010 9:50 am
by sudip
Yes, Master Roberto, you are correct :)
With best regards.
Sudip