Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Combobox - ControlSource (VfP6)
Message
From
10/05/2002 09:12:33
Cetin Basoz
Engineerica Inc.
Izmir, Turkey
 
 
To
10/05/2002 08:58:05
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00654950
Message ID:
00655004
Views:
18
>>But modifying the rowsource is easy.
>
>That's the easy bit, unfortunately the design of the application makes that not a real option - the array is used in multiple places on the same form & it would be inappropriate to modify the array until after the changes are confirmed, so big changes would be required.
>
>One option may be to add an array member to the combobox class & work on a copy of the array for place the array is used. Would that be possible through the class designer, or would that require manual coding of the class ?

Class designer is capable of the task. However you might just use a copy of array on form too.

with thisform
.Addproperty('NewArray['+trans(alen(.myArray))+']','')
acopy(.myArray,.NewArray)
.myCombo.rowsource = 'thisform.NewArray'
endwith

Cetin
Çetin Basöz

The way to Go
Flutter - For mobile, web and desktop.
World's most advanced open source relational database.
.Net for foxheads - Blog (main)
FoxSharp - Blog (mirror)
Welcome to FoxyClasses

LinqPad - C#,VB,F#,SQL,eSQL ... scratchpad
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform