Tente SalColorSet( hWndToSet, nColorIndex, nColor )
Sets a window's color.
Parameters
hWndToSet - Window Handle. The handle (or name) of the window whose color you want to set.
nColorIndex - Number. The color of a part of the window, represented by one of these constants:
COLOR_IndexCellText
COLOR_IndexTransparent
COLOR_IndexWindow
COLOR_IndexWindowText
nColor - Number. A user-defined value, a value formulated using SalColorFromRGB, or any of the predefined windows colors. To turn off the transparent color, specify COLOR_None.
nColorIndex - Number. The color of a part of the window, represented by one of these constants:
COLOR_IndexCellText
COLOR_IndexTransparent
COLOR_IndexWindow
COLOR_IndexWindowText
nColor - Number. A user-defined value, a value formulated using SalColorFromRGB, or any of the predefined windows colors. To turn off the transparent color, specify COLOR_None.
Return Value
bOk is TRUE if the function succeeds and FALSE if it fails.
Alessandro Di Creddo Trautwein <[EMAIL PROTECTED]> wrote:
Olá, gostaria de saber se existe como eu mudar a cor do texto em um campo edit depois que tiver utilizado a função SalDisableWindow, isso porque essa função seta a cor para cinza e quero deixar em preto mesmo.Se eu digo que o campo não é editável nas propriedades a cor continua em preto, mas desabilitado, mas eu preciso utilizar a função SalDisableWindow ou existe outra função para desabilitar campos ?Ah, estou utilizando a versão 3.1 do SqlWindows 32bits.Obrigado !Alessandro
Yahoo! Mail agora ainda melhor: 100MB, anti-spam e antivírus grátis!