Good Morning Jorg: Too difficult to populate based on the dynamic state of the data. I think I am going to make a real kludge by overlaying invisible buttons over the data and disable ever other row of the listbox to allow a selection. Thanks for the suggestion. Regards,
Jack Jörg Arand wrote: > How about rowsourcetype=9 (popup) > In the popup you can specify the font color and I think also the backround > with style Q (opaque) > > Jörg Arand MD > assistant medical director > Neonatology > Children's Hospital > University Tübingen > Calwer Str. 7 > D-72076 Tübingen > Tel.+49-(0)7071-2982211 > Tel.+49-(0)7071-2980895 (office) > E-mail:Joerg.Arand(AT)med.uni-tuebingen.de > > > >> -----Original Message----- >> From: [EMAIL PROTECTED] >> [mailto:[EMAIL PROTECTED] On Behalf Of Jack Skelley >> Sent: Friday, December 07, 2007 12:15 AM >> To: [EMAIL PROTECTED] >> Subject: Re: VFP8: Listbox Row Colors >> >> >> Lou: >> Long time no chat... >> I tried that but there is no subscript to the ItemBackColor >> property. If you issue something like ItemBackColor(2) = >> rgb(255,0,0) all the rows >> turn red not just row 2. >> I know that a grid can alternate row colors with dynamic back >> color. I have way too much code in place with the listbox to >> think about a >> rewrite using a grid. >> Thanks for the suggestion! >> Regards, >> >> Jack >> >> >> Lou Syracuse wrote: >>> Jack, >>> >>> I think I've done something like this before, but it may >> not have been >>> with a listbox so may be a bit of a WAG. Plus I have been writing >>> more .NET code that VFP code lately... >>> >>> Maybe something like this in the ItemBackColor value: >>> =iif(<condition>, rgb(255,255,255), rgb(128,128,128)) >>> >>> One problem may be finding the right condition, if the >> control is not >>> populated by a table or cursor. >>> >>> Hope it works for 'ya. >>> >>> Lou >>> >>> >>> >>> -----Original Message----- >>> From: Jack Skelley [mailto:[EMAIL PROTECTED] >>> >>> Good Afternoon All: >>> Is there anyway to make the rows of a list box alternate different >>> colors to simulate green bar type paper and keep all the >> rows enabled? >>> I can make the row disabled color green then I can't click >> on that row >>> to get a more detailed view of the data displayed. >>> Thanks! >>> Regards, >>> >>> Jack Skelley >>> >>> This e-mail and any files transmitted with it are confidential and >>> intended solely for the use of the individual or entity to >> whom they >>> are addressed. If you have received this e-mail in error >> please notify >>> the originator of the message. This footer also confirms that this >>> e-mail message has been scanned for the presence of >> computer viruses. >>> Any views expressed in this message are those of the individual >>> sender, except where the sender specifies and with >> authority, states >>> them to be the views of Merle Norman Cosmetics or The Nethercutt >>> Collection. >>> >>> [excessive quoting removed by server] _______________________________________________ Post Messages to: [email protected] Subscription Maintenance: http://leafe.com/mailman/listinfo/profox OT-free version of this list: http://leafe.com/mailman/listinfo/profoxtech Searchable Archive: http://leafe.com/archives/search/profox This message: http://leafe.com/archives/byMID/profox/[EMAIL PROTECTED] ** All postings, unless explicitly stated otherwise, are the opinions of the author, and do not constitute legal or medical advice. This statement is added to the messages for those lawyers who are too stupid to see the obvious.

