color my world, or at least my TEdit background FMX

Anyone have a SIMPLE way to make colored TEdit Controls in FMX?

It's easy in XE4 - you just set the color in the object inspector.

I've found a couple solutions to this in various forums but they must be beyond my ability to cut and paste, because they don't seem to work. 

This should be covered in styles, but I can't find the rectangle to color in the style for TEdit or TCustom Edit.  Maybe I just don't understand styles well enough.

Do I need to resort to putting a colored rectangle behind the TEdit and playing with opacities?  I have about 150 of these to create so that does not sound very elegant.

Thanks.

Scott
0
Scott
9/11/2013 5:43:47 PM
embarcadero.delphi.firemonkey 4901 articles. 4 followers. Follow

0 Replies
1422 Views

Similar Articles

[PageSpeed] 35
Get it on Google Play
Get it on Apple App Store

Reply:

Similar Artilces:

Grid View Footer background Color based on either RowStyle background Color or or AlternatingRowStyle background Color
Hi Friends, As of my requirement,I have a grid view .Now the background color of the Footer of Grid view ,will have to be dynamic,i mean it will depend upon Row Style background color and AlternatingRowStyle background Color i.e, if the row above footer have row style ,then footer will have alternative row style background color and if the row above footer have alternative row style ,then footer will have row style background color. How can it be done. Regards, Ritesh This VB code in your GridView RowDataBound event may work for you: If e.Row.RowType = DataControlRo...

Ann: FastReport FMX for Delphi XE3 (FireMonkey 2) and XE2 (FireMonkey) released
Dear friends, Visual report designer is available now on both MS Windows and MAC OS X! Full sources. We can write here full list of possibilities, but it will so long. Let see FastReport VCL and FastReport FMX comparison table: http://www.fast-report.com/en/products/comparison-fast-report-firemonkey-vcl.html And all of this - just now in your hands for business-applications for Mac. Report generator FastReport FMX is the first multiplatform solution for including Business Intelligence into software based on Embarcadero FireMonkey IDE (Delphi for MS Windows and Apple Mac OS X)...

tedit change background color
hi all, i am trying to migrate a couple of application from xe2 to xe3 and i have this problem : r := ((codice_ricetta as tedit ).FindStyleResource('background') as TRectangle); if Assigned(r) then begin r.Fill.Color := TAlphaColorRec.Lime; end; this code is working on xe2 but i receive this error on xe3 : First chance exception at $751E277C. Exception class EInvalidCast with message 'Invalid class typecast'. Process Superv.exe (5916) the background color do not change anymore. there is a new metod on xe3 to do that? thanks in adva...

Background color rending bug? Content page showing background color?!
Hi all,  I've created a very basic site and am starting to write the CSS.  After adding a masterpage as soon as I add the contentplaceholder my background in the master page and content page are changing to the color of the td row in the CSS? If I run this page without a masterpage, the CSS works fine. Here is the content page: <asp:Content ID="ContentForum" ContentPlaceHolderID="cphMain" runat="Server"> <form id="form1" runat="server"> <div runat="server" id="whatever"> <table wi...

Why some some server text boxes have yellow background color but some white background color?
Why some some server text boxes have yellow background color but some white background color? Thanks in advance!...

Why would my text box background color be different for different text boxes without setting the background color
I have a form that has about a half dozen seperate text boxes. I have not set anything on these text boxes other than width sizes.  For some reason however when I build the page shows that some of the text boxes has a yellow background and some have a white background.  Any ideas what the problem could be.  You can see in the code below that no background color is set.  BTW this is VS2008..I do impose a theme on the page but the theme sets a back color of white...so in theory there shoudnt be any yellow backcoloered text boxes.   Theme code<asp:TextBox runa...

How do I change the background color of a single FMX TLabel ?
Platform: Delphi XE3, FM (that came with it, I think that's FM2) Project: Firemonkey Metropolis, contains the stylebook that comes with creation of this kind of project Searching on the Internet and this forum always talks about how I need to edit a FireMonkey style. I right click on the label, and click "Edit Custom Style" What is supposed to happen: A window opens with a style tree, or layout tree, or some kind of tree, that I can then modify the properties of What does happen: A window opens with no tree of any kind, and just buttons along the top that say "...

How to change color of Text background in TEdit for iOS
I would like to be able to have TEdit's background change when it has the focus. A solution posted on the net seems to indicate that we grab the background style and change the fill color. But, this doesn't work and I suspect it's for FM2 and not not FM3. *Q. What's the secret to changing the background color of a TEdit on iOS in FM3?* > {quote:title=Charles Stack wrote:}{quote} > I would like to be able to have TEdit's background change when it has the focus. > > A solution posted on the net seems to indicate that we grab the background style and ...

Listview in Firemonkey
Hi! I hope the Forum stays stable now so I'm able to ask my question ;) In Firemonkey a Listview is filled like this: Var XXX : TListViewItem; Begin ListView.Items.Clear; ListView.BeginUpdate; XXX:= ListView.Items.Add; XXX.Text := 'I am GREEN'; XXX:= ListView.Items.Add; XXX.Text := 'I am RED'; ListView.EndUpdate; end; I am looking for a way to change the textcolor or the background-Color of a cell. Are there any simple posibilities to do this WITHOUT Livebindings? (I don't like lifebindings and don't want to use that) T...

XE7 FMX on PC: how to set the StringGrid background color?
XE7 FMX on PC: how to set the StringGrid background color or cell color ? thanks a lot! till now , I can't find a example You can use: http://docwiki.embarcadero.com/Libraries/XE6/en/FMX.Grid.TCustomGrid.OnDrawColumnCell You have a sample here: http://stackoverflow.com/questions/12889428/coloring-cell-background-on-firemonkey-stringgrid-according-to-value-from-data > {quote:title=hots wally wrote:}{quote} > XE7 FMX on PC: how to set the StringGrid background color or cell color ? thanks a lot! > till now , I can't find a example > {quote:title=Borja Serrano ...

turning off color and background-color bug ?
Hi, I have a question about a Firefox behaviour, for my it's an accessibility bug but maybe i am wrong. When the user turn off the color in his preference, all the element with absolute positioning and a background color become transparent instead of inheriting the root element background color or the default system background color. A practical example can be the dropdown menu, when i turn off the color, the background of the menu become transparent and his content become unreadable because it overlay the page content (for example look at the quick contact feature in gmail...

Dropdownlist with a color from the DB in background-color
Please help!! I need to put the "cd_cor" as the background-color style. For each item we have one color. Thank You for Help!The code is below:Public Sub BindCategoria()Dim rc As Boolean = FalseDim adoDS As ADODataSet = New ADODataSet(EducarLib.Educar.ConnectionString)adoDS.TableName = "Categorias"adoDS.SqlCmd = "Select cd_cor, id_categoria, nm_categoria From Categoria Order by nm_categoria"rc = adoDS.ExecuteQuery() If rc Then dropCategoria.DataTextField = "nm_categoria"dropCategoria.DataValueField = "id_categoria"dropCategoria.DataSource =...

Setting background color to a generic color
Our rich edit fields are set to clWindow when “editing/active” and when “saved/inactive” they are set to clSilver. Highlighting is only allowed when editing. However if you highlight a section of text and then unhighlight it the text background is saved and when set to inactive the section that was unhighlighted is clWindow/white instead of clSilver. This is the code I got from Peter Below which works great but I am looking for a generic back ground color that does not show up when the color is changed. if LSetHighlite then CF.crBackColor := NHighliteColor else CF.crBackColor := ColorT...

superreview cancelled: [Bug 292191] If using background-image in an element, we should reverse the result of reverse selection algorithm when the element's foreground color and background color is sim
Masayuki Nakano (Mozilla Japan) <masayuki@d-toybox.com> has cancelled Masayuki Nakano (Mozilla Japan) <masayuki@d-toybox.com>'s request for superreview: Bug 292191: If using background-image in an element, we should reverse the result of reverse selection algorithm when the element's foreground color and background color is similar https://bugzilla.mozilla.org/show_bug.cgi?id=292191 Attachment 192919: Patch rv1.0 https://bugzilla.mozilla.org/attachment.cgi?id=192919&action=edit ------- Additional Comments from Masayuki Nakano (Mozilla Japan) <masayuki@d-...

Web resources about - color my world, or at least my TEdit background FMX - embarcadero.delphi.firemonkey

Discovery of cosmic microwave background radiation - Wikipedia, the free encyclopedia
The accidental discovery of cosmic microwave background radiation is a major development in modern physical cosmology . Although predicted by ...

Android App OStream Speeds Up Facebook Experience By Synchronizing Content In Background
Facebook’s newly revamped Android application was rebuilt with a focus on speed, and startup oStream wants to help users of devices on that operating ...

Background for Dick Armey’s Endorsement of “Nothing for the Nation”
To truly grasp the profound nature of Dick Armey’s endorsement of Nothing for the Nation: Who Got What Out of Iraq, one must understand the events ...

Facebook Photos Gets Polish: White Background, Bigger Images That Load Faster
... Facebook product manager Justin Shaffer describes a new version of Facebook’s photo viewer coming out now. In place of the black lightbox background ...

Easy Background Tasks in ASP.NET
As I work on the badge implementation for Stack Overflow, I needed a way to call the code that detects and awards the badges out of band. Traditionally ...

Camera Amazing with Pictures Background Remover for iPhone 3GS, iPhone 4, iPhone 4S, iPhone 5, iPod touch ...
Get Camera Amazing with Pictures Background Remover on the App Store. See screenshots and ratings, and read customer reviews.

Rolling background checks to protect children
BACKGROUND screening checks will be monitored in real-time to ensure people who commit offences cannot continue to work with children and other ...

More to selecting political background music than indiscriminate meandering
Gathering a song to use as a protest weapon can backfire.

Obama to Veto Bill Requiring Background Checks On Syrian Refugees; France Demands Tighter Controls, EU ...
... requirements " that would harm efforts to assist some of the world's most vulnerable people. The bill would add a new requirement for FBI background ...

Colorado: Expanded Background Checks, ‘High Cap’ Mag Ban, High Profile Shootings
Colorado: Expanded Background Checks, 'High Cap' Mag Ban, Mass Shootings

Resources last updated: 12/8/2015 10:27:31 AM