Страница 1 из 1

Добавлено: 02 Июнь 2004, 9:54
Гость
Писал на cwmantis на счет String-контролов, которые никак не дизаблились(CW6.1EE),вот что ответили:
----------------------------------------------------------------------
bhavnen - 06-01-2004 09:54 EDT
----------------------------------------------------------------------
Tested with C6.1 CR. Is your problem that Disable() doesn't make it look like a disabled prompt? The string is disabled in the sense it doesn't take any more events, and it is toned down when no font color. With color it is not toned, so I guess there is a bug there.
FWIW: There is a difference between prompts and string in that prompts can have an accesskey to tell the cursor to go to the field following the prompt. A string is primarily for display only (and event:drop)
----------------------------------------------------------------------
Понял, что баг скорее всего, зависит от цвета шрифта, дальше смутно, может кто переведет, ради интереса???

А дальше как раз неинтересно, разъясняют, чем промпт от стринг отличается.

Михаил


(Добавление)
Tested with C6.1 CR. Is your problem that Disable() doesn't make it look like a disabled prompt? The string is disabled in the sense it doesn't take any more events, and it is toned down when no font color. With color it is not toned, so I guess there is a bug there.
Протестировали с C6.1 CR. У вас проблема с тем, что Disable() не меняет внешний вид промпта на запрещенный? Строка запрещена в том смысле, что она не получает к-либо событий и она затонирована если для нее не указан цвет шрифта. С указанным цветом шрифта она не затонирована, поэтому я думаю, что это глюк.
FWIW: There is a difference between prompts and string in that prompts can have an accesskey to tell the cursor to go to the field following the prompt. A string is primarily for display only (and event:drop)
Дальше о разнице между string и prompt

--
Best regards,
Maxim Yemelyanov,
Enigma Soft Company
phone: +380 572 177977
WEB: http://enigmasoft.com.ua
e-mail: clalist@enigmasoft.com.ua
ICQ: 12253836
Написал: ClaList(2)

Добавлено: 02 Июнь 2004, 19:13
Гость
Кстати, STRINGи и в C55 не дизэйблятся (embossed effect)...
я всегда для этого пользовался PROMPTами.

Алексей,
начальник отдела ПТО
ООО "ОРК"
mail: alex@jrcn.donetsk.ua, icq: 62605472
www: http://www.nikasoft.co.uk
http://www.clarionline.h1.ru (FAQ-онлайн)
origin: психоаналитики >> аналопсихотики
Написал: ClaList(2)