VB Crystal Report >> [.NET] Setting up color and font of a parameter field.

by Asso » Wed, 25 May 2005 06:56:41 GMT

Hi all,
I have a CR report and within there is a parameter field string type.
Now, from VB NET code, at run time, I can set the value of the field and
that's ok but how I can set also, from code at run time, the color of the
text? And the font?


Thank you,


Luca.




Similar Threads

1. ActiveDocument.Fields.Add - Setting Font Color and Hidden?

Is there a way to set the font when adding a new field?

Set newfield = ActiveDocument.Fields.Add(Range:=Selection.Range, _
          Type:=FieldType, Text:=FieldText, _
          PreserveFormatting:=PreserveFormat)
     Add_Field = newfield.Index

Want to set the font to be hidden for this field? 


2. Font color for the Subject field

3. Calendar Control font Color in VB.NET/ASP.NET

Hi,

We are working on a .NET (ASP.NET/VB.NET) application with SQL Server 
database. In our application, we are using the standard microsoft calendar 
control.

In the application, in a particular session, if a user selects a date from 
the calendar control and then again comes into the calender control (say for 
selecting the next order date), the date that is already selected for the 
previous order is shown in a different color while all other dates are in a 
different color (like the color changes for an already accessed URL in a 
document)
Is there any setting or property or any way we could disable this so that we 
could see all dates in the same font color, irrespective of whether it is 
already selected in the current session or not?

Thanks in advance
oursmp

4. How to set the font color of different columns in datagrid

5. Setting the Font and the color to my message

Hi EveryBody:

I am doing windows application project by using Vb.Net. The function of this 
project is to send e-mail by adding system.web.dll as refrance to my project 
and using system.web.mail class to do so.

My question is:

When I write the message and I change the font to Verdana and change the 
color to blue the message recived to the" To Address" as text message without 
changing in font or color. I tried this in the two format for the e-mail 
message either Text or HTML, but nothing Change ?

So any one can told me how can I send my message and I grantee that it will 
recived as the font and color that I setted to it ?

Any help or redirection will be appreciated

regard's

Husam  

6. Set Formatting Menu Font Color with VBA - Excel

7. Macro not setting font color

Hello,

The purpose of the following code is to find tasks that should be
complete, but are not, and to set their font color to red.  The code
works perfectly except that some of the tasks do not end up with a red
color. When I use the debugger it finds the tasks correctly, selects
them all, but for some reason skips or misses some when setting the font
color to red.  It is just the last line that is not doing what it is
supposed to.

FilterApply Name:="@ UR", value1:=entry, value2:=entry
If ActiveSelection > 0 Then
    SelectTaskField Row:=0, Column:="Text18"
    SetTaskField field:="text18", Value:="Red"
    SelectColumn (4)
    FillDown (True)
    SelectSheet         // Also tried SelectAll method which did not
work
    Font Color:=pjRed
End If

Thanks

Grant

8. Datagrid : setting font to a particular column or cel coloring