I want to create viewer without edition, based on textboxes.
I want to disable textboxes, but they stay grey - so, is it possible to change colour from grey to blue, eg?
regards, Marek
Is it possible to change color of disabled controls?
Moderator: Rathinagiri
- Rathinagiri
- Posts: 5482
- Joined: Tue Jul 29, 2008 6:30 pm
- DBs Used: MariaDB, SQLite, SQLCipher and MySQL
- Location: Sivakasi, India
- Contact:
Re: Is it possible to change color of disabled controls?
Can't you use readonly feature?
East or West HMG is the Best.
South or North HMG is worth.
...the possibilities are endless.
South or North HMG is worth.
...the possibilities are endless.
- esgici
- Posts: 4543
- Joined: Wed Jul 30, 2008 9:17 pm
- DBs Used: DBF
- Location: iskenderun / Turkiye
- Contact:
Re: Is it possible to change color of disabled controls?
If textbox is always out of editing, I'm using label instead.
Regards
--
Esgici
Regards
--
Esgici
Viva INTERNATIONAL HMG 
Re: Is it possible to change color of disabled controls?
Hi Marek!
I use Minigui Ext. and he has _ExtDisableControl ('TextBox_1', 'Form_1') and _ExtEnableControl ('TextBox_1', 'Form_1') for the normal appearance of the textbox.
But you have an example of the TextBox control in the paint HMG example C: \ HMG \ SAMPLES \ TEXTBOX.1.
hope this is what you seek
Best Regards!
Miraš
I use Minigui Ext. and he has _ExtDisableControl ('TextBox_1', 'Form_1') and _ExtEnableControl ('TextBox_1', 'Form_1') for the normal appearance of the textbox.
But you have an example of the TextBox control in the paint HMG example C: \ HMG \ SAMPLES \ TEXTBOX.1.
hope this is what you seek
Best Regards!
Miraš
Re: Is it possible to change color of disabled controls?
User will be enable to change to edit mode, so labels are unuseful.esgici wrote:If textbox is always out of editing, I'm using label instead.
Regards
--
Esgici
Marek
Re: Is it possible to change color of disabled controls?
thx, I'll observe it.miras wrote:Hi Marek!
I use Minigui Ext. and he has _ExtDisableControl ('TextBox_1', 'Form_1') and _ExtEnableControl ('TextBox_1', 'Form_1') for the normal appearance of the textbox.
But you have an example of the TextBox control in the paint HMG example C: \ HMG \ SAMPLES \ TEXTBOX.1.
hope this is what you seek
Best Regards!
Miraš
Regards, Marek
Re: Is it possible to change color of disabled controls?
Changing from "DISABLED" to READONLY" was really helpful to me! Thanks all of you for suggestions
Marek
Marek