Enigma eTextInputField how to disable???

The forum for our foreign guests... Please post in English
liamcrayden
Neugieriger
Neugieriger
Beiträge: 9
Registriert: Donnerstag 25. August 2005, 09:14

Enigma eTextInputField how to disable???

Beitrag von liamcrayden »

Taken from the enigma mount manager (part of setupnetwork.cpp)

Code: Alles auswählen

ldir = new eTextInputField(this,lldir);
ldir->resize(eSize(320, fd+10));
	ldir->setUseableChars("ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789-.,:|!?/");
ldir->loadDeco();
ldir->setHelpText(_("Name of local mount point with a trailing slash"));
I would like to disable that Text input field, is there a way of doing this?
The default mount point gets set at "/mnt" if the existing key is not present.
I would like to lock the eTextInputField so that the value cannot be changed.

Any ideas?
liamcrayden
Neugieriger
Neugieriger
Beiträge: 9
Registriert: Donnerstag 25. August 2005, 09:14

Beitrag von liamcrayden »

Anyone???
I just want to make it greyed out, like in Windows - if you can get what I mean. Doesn't look like theres a method for doing it :( even though I've seen it in some of the images I've tried.