Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Color of disabled GET fields

Status
Not open for further replies.

vinczej

Programmer
Joined
Apr 29, 2003
Messages
40
Location
HU
Hello !

I have programs in FPW26. How can I change the background
color of the field boxes, if they are in DISABLE status ?
The Object Fill color and Pen color managing effects
only by ENABLE, or I know wrong ?

Thanks
 
What control do you have to go in and out of edit mode on the form ?

In our forms we had a case in the .SPR e.g.
Code:
DO CASE
   CASE iminedit
        @ 33.231,58.000 GET schedget ;
	SIZE 1.000,19.600 ;
	DEFAULT " " ;
	FONT "MS Sans Serif", 8 ;
	PICTURE "@K" ;
	COLOR ,RGB(0,0,128,255,255,255)
   CASE !iminedit
        @ 33.231,58.000 SAY schedget ;
	SIZE 1.000,19.600 ;
	FONT "MS Sans Serif", 8 ;
	DISABLE COLOR RGB(128,0,0,0,255,255)
ENDCASE
and triggered the event with a control changing the iminedit value. NB the missing ,on the lead of @SAY COLOR RGB




Bob Palmer
The most common solution is H2O!
 
Thanks for the reaction, Bob !

It's right, in the .SPR I can do everything, but these
screens are not rebuildables with Screen Builder, further
I can modify only in the .SPR.
It would be better to find a way to change the color of disabled fields in the Screen Builder.
 
Then you need to use Code snippets which are called like udf's in your object for putting the form in editmode these snippets are stored in the form.

Bob Palmer
The most common solution is H2O!
 
Excuse me, I solved the problem with COLOR SCHEMES.
( DISABLED Get = SCHEME(1,10) )

Thaks for replies !
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top