Subject | Re: [IBO] Password column in TIB_GRID |
---|---|
Author | Alexandre Pires |
Post date | 2010-08-16T14:26:05Z |
Dmitry, thank for you help, I made this only to test:
procedure TForm1.IB_Grid1GetDisplayText(Sender: TObject; ACol,
ARow: Integer; var AString: String);
begin
if ACol=2 then AString:='*';
end;
but when I select the cell to edit, the password is shown
procedure TForm1.IB_Grid1GetDisplayText(Sender: TObject; ACol,
ARow: Integer; var AString: String);
begin
if ACol=2 then AString:='*';
end;
but when I select the cell to edit, the password is shown
----- Original Message -----
From: "Dmitry Beloshistov" <torin@...>
To: <IBObjects@yahoogroups.com>
Sent: Monday, August 16, 2010 9:26 AM
Subject: RE: [IBO] Password column in TIB_GRID
> Hello!
>
>
>
> One of solution:
>
> In OnGetText() event handler you can return string '************' instead
> actual password.
>
> If your want use Vista like password chars - return 'llllll' string and
> change font to Windings in OnGetCellProps() event handler for draw.
>
>
>
> From: IBObjects@yahoogroups.com [mailto:IBObjects@yahoogroups.com] On
> Behalf Of Alexandre Pires
> Sent: Monday, August 16, 2010 3:14 PM
> To: IBObjects@yahoogroups.com
> Subject: [IBO] Password column in TIB_GRID
>
>
>
>
>
> Hi Guys,
>
> I am using a TIB_GRID with TIB_QUERY, in my grid I have 2 columns, one of
> these columns is used for passwords, how set this column to appear as
> ***** instead of the password ?
>
> Thanks
> Alexandre
> Brazil
>
> [Non-text portions of this message have been removed]
>
>
>
>
>
> __________ Information from ESET NOD32 Antivirus, version of virus
> signature database 5369 (20100816) __________
>
>
>
> The message was checked by ESET NOD32 Antivirus.
>
>
>
> http://www.esetnod32.ru/.ml
>
>
>
> [Non-text portions of this message have been removed]
>
>
>
> ------------------------------------
>
> ___________________________________________________________________________
> IB Objects - direct, complete, custom connectivity to Firebird or
> InterBase
> without the need for BDE, ODBC or any other layer.
> ___________________________________________________________________________
> http://www.ibobjects.com - your IBO community resource for Tech Info
> papers,
> keyword-searchable FAQ, community code contributions and more !
> Yahoo! Groups Links
>
>
>