Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Problem: _supermover a control from fundation classes of
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Classes - VCX
Divers
Thread ID:
00517265
Message ID:
00517530
Vues:
14
1) How can I work with more than one columns in _supermover.lstLeft?

* Add item to Selections listbox
this.Parent.lstRight.AddItem(this.Parent.lstLeft.List[m.cLstIdx])

Above code is from click event of cmdAdd of _mover class.
I often used _supermover class but not multi-column because every
generic method is for one column as above. If you really have to get
multi column, I think you have to overwrite every related method with yours
to reflect multi columns.
Why don't you make that one column through function like transform() ?
If I were you,I would make it one column as follows rather than overwrite
generic code of every function.

. select substr(custname,1,16)+space(1)+;
. RTRIM(transform(.saleprc,'@r 9,999,999'));
. from mycustomer;
. into array myArray

. mycuskind.initselections(@myArray)


Hope This helps.

Rgds
HK.Lee
MCP
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform