Topic: Grid fsUnderline, mailto CC or BCC

Hi ,

Please can you help me ?

1.Grid fsUnderline with Cell[x,c]

Work:
FmPrepravcaPrihlasenia.TgPrihlasenia.Cell[4,c].TextColor := clred;
FmPrepravcaPrihlasenia.TgPrihlasenia.Columns[4].Cursor := crHandPoint;

Dont work :
FmPrepravcaPrihlasenia.TgPrihlasenia.Cell[4,c].TextColor := clHotLight;
FmPrepravcaPrihlasenia.TgPrihlasenia.Cell[3,c].Font.Style := fsUnderline;
FmPrepravcaPrihlasenia.TgPrihlasenia.Cell[3,c].TextStyle := fsUnderline;

What is the syntax for Cell[3,c].TextStyle := fsUnderline; and TextColor := clHotLight ??

2."Mailto" CC or BCC

If i use "mailto" can i send email to CC or BCC ?


Thx, for you ansfers

Krokodil

2 (edited by domebil 2016-10-09 06:19:29)

Re: Grid fsUnderline, mailto CC or BCC

Uso questo:


procedure Form1_tablegrid1_OnChange (Sender: string);
var
   i,c: integer;
    begin
      c := Form1.TableGrid1.RowCount - 1;
      for i := 0 to c do
     begin
     Form1.TableGrid1.Cell[0,i].TextColor := clGreen;
      end;
end;

Domebil

Re: Grid fsUnderline, mailto CC or BCC

Yes  clGreen  working that same as clRed but  clHotLight not working.

and
Form1.TableGrid1.Cell[0,i].TextStyle := fsUnderline;

Not exist


Thx,

K.

Re: Grid fsUnderline, mailto CC or BCC

krokodil_sk
Hello.


Please download latest beta version 2.8
https://www.dropbox.com/s/k1wd8mqe3qb35 … a.zip?dl=0


I have added property

Form1.TableGrid1.Cell[x,y].FontStyle := fsUnderline;

I checked color clHotLight, it works for me, may be on your system color clHotLight set as black.



CC or BCC is not supported in the current version.

Dmitry.

Re: Grid fsUnderline, mailto CC or BCC

DriveSoft
Thx for you answer but
if i use

Form1.TableGrid1.Cell[x,y].FontStyle := fsUnderline;
Version MVD = 2,8 beta
Still i have a error :
Undeclared indentifier : FontStyle

K.

Re: Grid fsUnderline, mailto CC or BCC

krokodil_sk wrote:

DriveSoft
Thx for you answer but
if i use

Form1.TableGrid1.Cell[x,y].FontStyle := fsUnderline;
Version MVD = 2,8 beta
Still i have a error :
Undeclared indentifier : FontStyle

K.

Checked again, it works. Probably you use old beta version, try to download again.

Dmitry.