Checked Listbox Text Color
I am looping throught the items in a checked list box. If it helps, all
of the items are checked. If I string of text matches a certain
criteria I would like to change it's text color to red. I know this is
incorrect, but something like so:
If clbFinalList.Items(intLoopCount) = strBadA(x) Then
clbFinalList.Items(x).forecolor = Color.Red
End If
What is the proper syntax to accomplish this?
Thank you,
John
.
Relevant Pages
- RE: Create several tables from two tables
... Dim dbf As Database, qdf As QueryDef, strSQL As String, strSQL1 As String ... Basically I have two tables TABLEA Contains unique values TABLEB Contains ... I know I could accomplish this manually but I would have to do it 36+ times ... (microsoft.public.access.modulesdaovba) - Re: What is the syntax for function text parameters in VBA (Excel
... Dim within As String ... the compiler complains about a duplicate declaration. ... And the online help examples show that your syntax is wrong. ... many examples of proper syntax in online help. ... (microsoft.public.excel.worksheet.functions) - Re: ADO Recordset Question
... Thanks Chris. ... accomplish this task by using variables and putting them into a string of SQL ... (microsoft.public.access.modulesdaovba) - Re: Data type byte
... should accomplish what I want. ... Unfortunately it seems I cannot use string to ... Private Declare Function ReadFile Lib "kernel32" _ ... (ByVal hFile As Long, ByRef lpBuffer As Any, _ ... (microsoft.public.vb.general.discussion) - Re: Saving contents of page to a string variable
... Now I want to write the contents of the the page to a string variable, convert that variable to the RTF and send that to the browser and I am stuck on the "simple" part of getting the contents of the rendered page into a string var. ... It also occurs to me that maybe I might not be able to get the rendered page from the LoadComplete sub. ... "Dim htmlString = Response.Output" indicates my lack of understanding of how to get the rendered contents of the page into a string variable, which I am trying to do. ... I have been looking at the Response object to accomplish this task but maybe I am looking in the wrong place. ... (microsoft.public.dotnet.framework.aspnet) |
|