Dear All,
I need and informatioin from TSbrowse but I don't konw how to get it when I click on column in each TSbrowse (cCaption or cText) .
Best regards,
Dutch
dutch wrote:Dear Detlef,
Thanks for your help, I've got it.
Eval( oBrw:aColumns[ oBrw:nAtCol( nCol ) ]:bData )
Regards,
Dutch
dutch wrote:Dear Detlef,
Thanks for another good idea but I try to use Drag and Drop but I cannot get the destination ::bData ...
#define POS_BRW 1
#define POS_FLD 2
aColFieldPos := {; // BrwPos, FieldPos
{ 1, 1 },; // oBrw:Column 1 shows field# 1
{ 2, 2 },; // oBrw:Column 2 shows field# 2
{ 3, 5 } ; // oBrw Column 3 shows field# 5
}
/* now you just do */
nPos := ascan( aColFieldPos, {|a| a[ POS_BRW ] == oBrw:nCell })
if nPos > 0
xxx->( fieldPut( aColField[ nPos ][POS_FLD ], xValue ) )
endif
dutch wrote:Dear Detlef,
I've got it and it is the best way for now, if it cannot get from TSbrowse. How can I make array for each browse row during browse create?
Thanks&Regards,
Dutch
dbf->( dbEval( { || aadd( aYourArray, --- your data --- ) } ) )
Return to FiveWin for CA-Clipper
Users browsing this forum: No registered users and 19 guests