everseeker Posted June 15, 2009 Share Posted June 15, 2009 (edited) I seem to be forming my search incorrectly... get lots of data on PICKING colors... What I want to do is a LOT simpler...I have a text box. It contains a bunch of random text...Among the text is "...Number passed =9, Number failed = 22..."I want it to display like this:Number passed = 9, Number failed = 22All I can find so far is GUICtrlSetColor() which sets the entire control....Oh, and richtext editing in a console thing.... WAY too complicated for what I need (I hope) Edited June 15, 2009 by everseeker Everseeker Link to comment Share on other sites More sharing options...
GEOSoft Posted June 15, 2009 Share Posted June 15, 2009 (edited) Search for RichText Edit or just richtext Edited June 15, 2009 by GEOSoft George Question about decompiling code? Read the decompiling FAQ and don't bother posting the question in the forums.Be sure to read and follow the forum rules. -AKA the AutoIt Reading and Comprehension Skills test.*** The PCRE (Regular Expression) ToolKit for AutoIT - (Updated Oct 20, 2011 ver:3.0.1.13) - Please update your current version before filing any bug reports. The installer now includes both 32 and 64 bit versions. No change in version number. Visit my Blog .. currently not active but it will soon be resplendent with news and views. Also please remove any links you may have to my website. it is soon to be closed and replaced with something else. "Old age and treachery will always overcome youth and skill!" Link to comment Share on other sites More sharing options...
BrettF Posted June 15, 2009 Share Posted June 15, 2009 No reason to bump the other thread... Vist my blog!UDFs: Opens The Default Mail Client | _LoginBox | Convert Reg to AU3 | BASS.au3 (BASS.dll) (Includes various BASS Libraries) | MultiLang.au3 (Multi-Language GUIs!)Example Scripts: Computer Info Telnet Server | "Secure" HTTP Server (Based on Manadar's Server)Software: AAMP- Advanced AutoIt Media Player | WorldCam | AYTU - Youtube Uploader Tutorials: Learning to Script with AutoIt V3Projects (Hardware + AutoIt): ArduinoUseful Links: AutoIt 1-2-3 | The AutoIt Downloads Section: | SciTE4AutoIt3 Full Version! Link to comment Share on other sites More sharing options...
everseeker Posted June 26, 2009 Author Share Posted June 26, 2009 (edited) No reason to bump the other thread...Actually, there is...In everyone's haste to tell the newbie to go look for the answer, No one seems to have noticed that the stock answers are 1 REALLY complicated2 NOT really "on topic"The question is this:I want a control (let's go with list view)I want cells in the list view to display text in colors, depending on conditionsis there a way to acomplish this? (If so, PLEASE drop a small bit of code that shows me what you are describing without having that code open up 18 different how-to/system status/com object views or other assorted stuff totally obsfuscating the point of the code)Example of what I am looking for, Checkbook ledger, Amount deposited, BalanceIf Balance is +, display Green. If -, display redAmt Bal10 1020 30-40 -1020 10CAN AitoIT do this? Edited June 26, 2009 by everseeker Everseeker Link to comment Share on other sites More sharing options...
colafrysen Posted June 26, 2009 Share Posted June 26, 2009 (edited) CAN AitoIT do this?I really am no expert, but from looking at the functions inside <GuiListView.au3> i think you are limited to one background and text colour per control.So Richtext might be the only way here Edit: Formatting Edited June 26, 2009 by colafrysen [font="Impact"]Use the helpfile, It´s one of the best exlusive features of Autoit.[/font]http://support.microsoft.com/kb/q555375ALIBI Run - a replacement for the windows run promptPC Controller - an application for controlling other PCs[size="1"]Science flies us to the moon. Religion flies us into buildings.[/size][size="1"]http://bit.ly/cAMPZV[/size] Link to comment Share on other sites More sharing options...
BrettF Posted June 27, 2009 Share Posted June 27, 2009 Ritch text is the only way, unless you want to embedd IE in there, but that will only display... Vist my blog!UDFs: Opens The Default Mail Client | _LoginBox | Convert Reg to AU3 | BASS.au3 (BASS.dll) (Includes various BASS Libraries) | MultiLang.au3 (Multi-Language GUIs!)Example Scripts: Computer Info Telnet Server | "Secure" HTTP Server (Based on Manadar's Server)Software: AAMP- Advanced AutoIt Media Player | WorldCam | AYTU - Youtube Uploader Tutorials: Learning to Script with AutoIt V3Projects (Hardware + AutoIt): ArduinoUseful Links: AutoIt 1-2-3 | The AutoIt Downloads Section: | SciTE4AutoIt3 Full Version! Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now