Re: menu and file

2009-12-26 Thread Steven D'Aprano
On Sat, 26 Dec 2009 09:52:12 -0800, hong zhang wrote: > The question is I want to load a > text file and bring it to screen like > 1 23 0x4530 > 2 42 0x8790 > 3 75 0x7684 > > Then if I want to select 0x4530, then I simple select 1 and a handler > should get 0x4530 as input to process.

Re: menu and file

2009-12-26 Thread hong zhang
> > List, > > > > I want to read a file that has a list of data into a > menu. User can pick > > up a line of data and execute it. For example, file > has data like > > following > > > > 1   23   0x4530 > > 2   42   0x8790 > > 3   75   0x7684 > > . > > > > User can select line # and then exe

Re: menu and file

2009-12-26 Thread Steven D'Aprano
On Fri, 25 Dec 2009 23:32:48 -0800, hong zhang wrote: > List, > > I want to read a file that has a list of data into a menu. User can pick > up a line of data and execute it. For example, file has data like > following > > 1 23 0x4530 > 2 42 0x8790 > 3 75 0x7684 > . > > User can