GRUPOS DE DISCUSSÃO PROFISSIONAL
WINDEV
,
WEBDEV
e
WINDEV Mobile
Inicio
|
Mensagens recentes
|
Conecte-se...
|
Disconnect
|
Português
Inicio
→
WINDEV 2024
→
Gray a control out
Gray a control out
Iniciado por John Marrone, nov., 01 2005 1:41 PM - 3 respostas
Conecte-se…
John Marrone
#1
Publicado em novembro, 01 2005 - 1:41 PM
Hi All
I want to turn some controls off. Set enabled off. I have tried setting the state property to inactive but this does not gray the control out so the user doesn't know it is disabled until he tries to click the control. In most langauges this is called the enabled property. Does anyone know how to do this in WD. I know this is an easy one but I can't find it. Thanks for any help.
John
Denunciar
0
0
John Marrone
#2
Publicado em novembro, 01 2005 - 1:51 PM
Hi All
I want to turn some controls off. Set enabled off. I have tried setting the state property to inactive but this does not gray the control out so the user doesn't know it is disabled until he tries to click the control. In most langauges this is called the enabled property. Does anyone know how to do this in WD. I know this is an easy one but I can't find it. Thanks for any help.
John
I figured out you set the state to Grayed but this works ok for my combobox but my toolbar buttons lose the image. The image on my button disappears when I set the state property to Grayed. I can set the state to InActive but then the button does not look disabled. Any help or suggestions.
Thanks
John
Denunciar
0
0
Merijn van der Wijk
#3
Publicado em novembro, 01 2005 - 3:28 PM
John,
Another possibilities are to change the color and/or text of the button.
HTH
Merijn
Hi All
I want to turn some controls off. Set enabled off. I have tried setting the state property to inactive but this does not gray the control out so the user doesn't know it is disabled until he tries to click the control. In most langauges this is called the enabled property. Does anyone know how to do this in WD. I know this is an easy one but I can't find it. Thanks for any help.
John
I figured out you set the state to Grayed but this works ok for my combobox but my toolbar buttons lose the image. The image on my button disappears when I set the state property to Grayed. I can set the state to InActive but then the button does not look disabled. Any help or suggestions.
Thanks
John
Denunciar
0
0
DT
#4
Publicado em novembro, 01 2005 - 8:07 PM
John
Sounds like you are using a single state graphic for the button image.
This needs to be a minimum of 3 states with the 3rd being the 'greyed' image.
I think 4 & 5 are for the button rollover.
Try selecting an alternative from the catalogue, choose 3, 4 or 5 states to see the deired effect.
HTH
DerekT
Hi All
I want to turn some controls off. Set enabled off. I have tried setting the state property to inactive but this does not gray the control out so the user doesn't know it is disabled until he tries to click the control. In most langauges this is called the enabled property. Does anyone know how to do this in WD. I know this is an easy one but I can't find it. Thanks for any help.
John
I figured out you set the state to Grayed but this works ok for my combobox but my toolbar buttons lose the image. The image on my button disappears when I set the state property to Grayed. I can set the state to InActive but then the button does not look disabled. Any help or suggestions.
Thanks
John
Denunciar
0
0
→ Voltar para WINDEV 2024
WINDEV 2024
WEBDEV 2024
WINDEV Mobile 2024
WINDEV (versões anteriores)
Français
English
Español
Portuguesa
Fermer cette fenêtre
Tipo de Pesquisa
Apenas tópicos
Todas as mensagens
Período de pesquisa
Qualquer momento
Última hora
Últimas 24 horas
Semana passada
Mês passado
Ano passado
Cancelar
Pré-visualização da sua mensagem
Adicionar imagem
Importar uma imagem de uma URL
Enviar uma imagem a partir do seu disco
Deixe um ficheiro ou clique em "Procurar ..."
ou
Cancelar
0%
WLanguage
SQL
XML, HTML
JAVA, Javascript
Texto