Enabled property in IDE

Creative ideas/suggestions for HMG

Moderator: Rathinagiri

Post Reply
User avatar
sudip
Posts: 1454
Joined: Sat Mar 07, 2009 11:52 am
Location: Kolkata, WB, India

Enabled property in IDE

Post 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
With best regards,
Sudip
User avatar
mol
Posts: 3723
Joined: Thu Sep 11, 2008 5:31 am
Location: Myszków, Poland
Contact:

Re: Enabled property in IDE

Post by mol »

It's fine idea to allow programmatically changing most of properties of controls.
(Like a InputMask in TextBox...)
Marek.
User avatar
Roberto Lopez
HMG Founder
Posts: 4004
Joined: Wed Jul 30, 2008 6:43 pm

Re: Enabled property in IDE

Post 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.
Regards/Saludos,

Roberto


(Veritas Filia Temporis)
User avatar
sudip
Posts: 1454
Joined: Sat Mar 07, 2009 11:52 am
Location: Kolkata, WB, India

Re: Enabled property in IDE

Post by sudip »

Yes, Master Roberto, you are correct :)
With best regards.
Sudip
With best regards,
Sudip
Post Reply