Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Incremental Drop-Down Combo Record Highlight in center
Message
 
To
25/03/2005 07:13:34
Dorin Vasilescu
ALL Trans Romania
Arad, Romania
General information
Forum:
Visual FoxPro
Category:
Classes - VCX
Environment versions
Visual FoxPro:
VFP 6 SP5
Miscellaneous
Thread ID:
00998932
Message ID:
00999114
Views:
19
Hi Dorin

>1.I don't have VFP6. Only tried with 7 and 9 beta. It worked with both.

I guess the problem lies in cbo.init() due to version diff.
*fill arrays	
*ALINES( .aColumns, .ColumnsList , .t. , ',')
*ALINES( .aColumnHeaders, .ColumnHeaders , .t. , ',')
*ALINES( .aColumnWidths, .ColumnWidths, .t. , ',')

.ColumnsList = STRTRAN(.ColumnsList, ",", CHR(13) + CHR(10))
ALINES(.aColumns, UPPER(.ColumnsList), .T.)

.ColumnHeaders = STRTRAN(.ColumnHeaders, ",", CHR(13) + CHR(10))
ALINES(.aColumnHeaders, UPPER(.ColumnHeaders), .T.)

.ColumnWidths = STRTRAN(.ColumnWidths, ",", CHR(13) + CHR(10))
ALINES(.aColumnWidths, UPPER(.ColumnWidths), .T.)
That did it. Thanks a lot. Logic courtesy Sergey from a different post, thanks Sergey. Maybe you can put in a IF condition based on the version() return value so both new logic and VFP6 logics can be used by the same class.


>2. It is not a new version for grids. Only that the textbox from column activates a combo exactly over itself (like it was define as column control) and the search combo deactivates itself when lose focus. That's all.

I am sorry I was not able to understand. Am I to put in the cbo as I will normally put in a VFP cbo?

Also can you tell me what all classes at the minimum is required from the cbsearch.vcx?
Regards
Bhavbhuti
___________________________________________
Softwares for Indian Businesses at:
http://venussoftop.tripod.com
___________________________________________
venussoftop@gmail.com
___________________________________________
Previous
Reply
Map
View

Click here to load this message in the networking platform