Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

title of a column

6 views
Skip to first unread message

Lairton N de Almeida Jr

unread,
Aug 18, 2000, 3:00:00 AM8/18/00
to
how to set a title to a Column ???

!!CB!! 155
Call oCol.SetAttribute( CDK_IT_ColumnTitle, oTab.oCol.fGetColLabel ( ) )

is not working fine !!


thanks in advance
Lairton N de Almeida Jr.
lai...@centuraexplorer.com
=====================
www.centuraexplorer.com.br -
O site dos desenvolvedores Centura em lingua portuguesa

www.centuraexplorer.com.br/livro_ctd2000/ -
Sobre o livro "Programando Com o Centura Team Developer 2000"
=====================

Frank (ITG)

unread,
Aug 18, 2000, 3:00:00 AM8/18/00
to
Lairton,
the following code works fine for me. You might try to check
if oTab.oCol.fGetColLabel ( ) returns a correct value:

!!CB!! 134
Function: Test
Description:
Returns
Parameters
Static Variables
Local variables
: TW
Class: cdkTableWindow
: COL
Class: cdkColumn
Actions
Call CDK_App.InitFromFile ("D:\\temp\\testtbl.app")
Call CDK_App.GetTopLevelWindow ( "tbl1", TW)
Call TW.GetColumn ( "col1", COL)
Call COL.SetAttribute ( CDK_IT_ColumnTitle, "TEST")
Call CDK_App.SaveOutline ( "D:\\temp\\testtbl2.app")

Regards,
Frank Boettcher
Ice Tea Group, LLC
www.iceteagroup.com


Lairton N de Almeida Jr schrieb in Nachricht
<8njfrp$m1...@horizon.centurasoft.com>...

Lairton N de Almeida Jr

unread,
Aug 18, 2000, 3:00:00 AM8/18/00
to

Correct Frank.

My error ....

Call oColuna.SetAttribute( CDK_IT_ColumnTitle, oTab.oCol.fGetColLabel ( ) )
Call oColuna.SetObjectClass( oTab.oCol.fGetColClasse ( ) )

the correct is ....

Call oColuna.SetObjectClass( oTab.oCol.fGetColClasse ( ) )

Call oColuna.SetAttribute( CDK_IT_ColumnTitle, oTab.oCol.fGetColLabel ( ) )

:-D
A simple detail.
I´m setting the column title
but when I set the column class the title turn to class default.


Thanks.

Lairton


"Frank (ITG)" <fr...@iceteagroup.com> wrote in message
news:8njgi4$m1...@horizon.centurasoft.com...

Frank (ITG)

unread,
Aug 19, 2000, 3:00:00 AM8/19/00
to
Yep, setting the class applies all class settings to the instance...

Regards,
Frank

0 new messages