For Programmers: Free Programming Magazines  


Home > Archive > PerlTk > June 2006 > HList and selection









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author HList and selection
filippo

2006-06-17, 8:14 am

Hi,
after creating a HList to build a multicolumn table, I want the focus
and selection on the first row. If the path of first row is 1000 I
write:

$table_hlb->focus;
$table_hlb->selectionSet(1000);

First question:
the focus is actually on first row (blue line all over the row) but not
the highlight dotted line so I must press the up/down arrow first to
get the highlight the I can move into the list with up-down arrows. How
can I get the full focus onto first line?

Second question:
if I don't know directly which is the path of first row, how can I tell
the HList to focus and select the first line?

Tnx,

Filippo

Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2008 codecomments.com