Focal Point Banner


As of December 1, 2020, Focal Point is retired and repurposed as a reference repository. We value the wealth of knowledge that's been shared here over the years. You'll continue to have access to this treasure trove of knowledge, for search purposes only. Moving forward, myibi is our community platform to learn, share, and collaborate. We have the same Focal Point forum categories in myibi, so you can continue to have all new conversations there. If you need access to myibi, contact us at myibi@ibi.com and provide your corporate email address, company, and name.


Connect to myibi
Focal Point    Focal Point Forums  Hop To Forum Categories  WebFOCUS/FOCUS Forum on Focal Point     (Solved) Maintain Form Editor questions

Read-Only Read-Only Topic
Go
Search
Notify
Tools
(Solved) Maintain Form Editor questions
 Login/Join
 
Platinum Member
posted
A couple of questions concerning the (7.6.8) MDE's Form Editor behavior:

1) Does anyone know how to retain a custom color between sessions ? I can setup a custom color, but it is gone the next time I open the Form Editor. This can get to be quite annoying !

2) Is there any way to make a Text Box background color transparent ? Or a way to set it's background color to 'inherit' ?

I have a repeating gradient background, and the text boxes don't look very good sitting on top of it with their solid colors.

Thanks,

This message has been edited. Last edited by: Dave Ayers,


Regards,
Dave

http://www.daveayers.com

WebFocus/Maintain 7.6.4-8
on Win2000 and 2003 Server
 
Posts: 165 | Location: Detroit Metro | Registered: September 17, 2003Report This Post
Virtuoso
posted Hide Post
1. I also find it annoying - going back to the screen that has the custom color(s), and copy them into the current custom color(s). Haven't found a way around that, other then to put it in code and copy that into the source.
2. What exactly do you mean with a text box? The standard text box has a default background color, which as far as I can see is transparent. Edit boxes and such other input or select items are not transparent, and cannot be made transparent within the maintain environment. Even outside of maintain it is not quite easy to do. But, if you can do it with a css styling, then you can include that style in the maintain and associate the control with the style.


GamP

- Using AS 8.2.01 on Windows 10 - IE11.
in Focus since 1988
 
Posts: 1961 | Location: Netherlands | Registered: September 25, 2007Report This Post
Master
posted Hide Post
Hi Dave
I am checking with saving the custom colors inside the MDE. This has been a known limitation for a long time. Maybe we can add it as a new feature. As a solution, might I suggest using a Stylesheet? If the form colors are going to be the same, you could add this as a stylesheet option.

As for the second question, if you leave the BackColor of a Textbox as Default, it SHOULD always pick up the BackColor of the form. If you have a case where this isn't happening, please let me know.

Mark
 
Posts: 663 | Location: New York | Registered: May 08, 2003Report This Post
Master
posted Hide Post
Dave
I spoke with programming and the answer is, we only store the custom colors that you have assigned to your form / objects. We have no place to store anything on the pallet that was created but not used. What I found worked very nicely was:

1) When you re-enter the MDE, bring up the form with the custom color.
2) Click on the property (ie BackColor) and select Other
3) With the custom color displayed in the color/solid box, click Add to Custom Colors

Not that color is available for the rest of your forms / objects. I AM having trouble adding more than one and will open a project for that.

Finally, you could code the statement:
Form.SetBackColor(r,g,b)
Where Form is the name of your form and r,g and b are the red, green, blue ratios anywhere in your file.

Mark
 
Posts: 663 | Location: New York | Registered: May 08, 2003Report This Post
Platinum Member
posted Hide Post
Mark and GamP,

Thanks, I never really noticed the 'default' background color selection before. (??) But I gave it a try and it worked like a champ !

I'm glad I don't have to use an external style sheet for that since it requires an additional line of code for each object to assign the class. I really wish that was implemented as another control property to make it far more useful.

As to the custom color issue, I get around it somewhat by exporting a 'template' form with my custom colors so they can be used to easily update the color dialog, or just as-is.

But they really should be saved between sessions, and I hope that that becomes a new 'feature' in a future release.

I'm satisfied with the answers, and so will close this question.

Happy Independence Weekend !


Regards,
Dave

http://www.daveayers.com

WebFocus/Maintain 7.6.4-8
on Win2000 and 2003 Server
 
Posts: 165 | Location: Detroit Metro | Registered: September 17, 2003Report This Post
  Powered by Social Strata  

Read-Only Read-Only Topic

Focal Point    Focal Point Forums  Hop To Forum Categories  WebFOCUS/FOCUS Forum on Focal Point     (Solved) Maintain Form Editor questions

Copyright © 1996-2020 Information Builders