Alaska Software Inc. - How can I change color when editable is .f. in xbpMLE
Username: Password:
AuthorTopic: How can I change color when editable is .f. in xbpMLE
Nevzat KanburHow can I change color when editable is .f. in xbpMLE
on Mon, 27 Aug 2018 16:30:39 +0300
Hi,

I want to change :BGColor and :FGColor when :editable := .F. in XbpMLE.

When XbpMLE is disabled I change :BGColor and :FGColor normally.
But when :editable is set to .F. :BGColor and :FGColor changes back to 
its default color.

How can I prevent :editable to changing the :BGColor and :FGColor?

rgds
Nevzat
Jose Antonio Diego KerejeRe: How can I change color when editable is .f. in xbpMLE
on Wed, 29 Aug 2018 23:55:45 +0200
Hi,

You mean this?

oMle:create( oParent,, aPos, aSize, { { XBP_PP_DISABLED_BGCLR, 
GRA_CLR_WHITE }, { XBP_PP_DISABLED_FGCLR, GRA_CLR_BLACK } } )

or

oMle:setPresParam( { { XBP_PP_DISABLED_BGCLR, GRA_CLR_WHITE }, { 
XBP_PP_DISABLED_FGCLR, GRA_CLR_BLACK } } )

Regards. Diego