ReadOnly property for all controls

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

ReadOnly property for all controls

Post by sudip »

Hello Roberto,

Is it possible to add ReadOnly property for all controls, including Grid and Combobox (many controls already had it) in the next version of HMG? And this property should be changed at run time :)

Thanks in advance.

With best regards.

Sudip
With best regards,
Sudip
User avatar
Roberto Lopez
HMG Founder
Posts: 4004
Joined: Wed Jul 30, 2008 6:43 pm

Re: ReadOnly property for all controls

Post by Roberto Lopez »

sudip wrote:Hello Roberto,

Is it possible to add ReadOnly property for all controls, including Grid and Combobox (many controls already had it) in the next version of HMG? And this property should be changed at run time :)

Thanks in advance.

With best regards.

Sudip
Are you tried 'Enabled' property?
Regards/Saludos,

Roberto


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

Re: ReadOnly property for all controls

Post by sudip »

Roberto Lopez wrote:...
Are you tried 'Enabled' property?
Yes Roberto, I am using 'Enabled' property. But, 'Enabled' property has some visibility problem (Eg., Enabled property with Textbox and Readonly property of Textbox). Users cant see the contents of the control clearly when using 'Enabled' property .f.. Moreover, for grid controls, users can't browse the grid. To make a grid readonly, I am using a special technique, but IMHO, it will be better if we have 'Readonly' property for all controls, which can be changed at runtime. :)

With best regards.

Sudip
With best regards,
Sudip
User avatar
Roberto Lopez
HMG Founder
Posts: 4004
Joined: Wed Jul 30, 2008 6:43 pm

Re: ReadOnly property for all controls

Post by Roberto Lopez »

sudip wrote:
Roberto Lopez wrote:...
Are you tried 'Enabled' property?
Yes Roberto, I am using 'Enabled' property. But, 'Enabled' property has some visibility problem (Eg., Enabled property with Textbox and Readonly property of Textbox). Users cant see the contents of the control clearly when using 'Enabled' property .f.. Moreover, for grid controls, users can't browse the grid. To make a grid readonly, I am using a special technique, but IMHO, it will be better if we have 'Readonly' property for all controls, which can be changed at runtime. :)

With best regards.

Sudip
Windows API does not have native support for 'readonly' for all controls.

This is the reason because it does not exists for all HMG controls.
Regards/Saludos,

Roberto


(Veritas Filia Temporis)
Post Reply