Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Convert entries in messagebox to a comma-delimited list
Message
From
25/07/2006 09:04:00
 
General information
Forum:
Visual FoxPro
Category:
Classes - VCX
Miscellaneous
Thread ID:
00298547
Message ID:
01139651
Views:
23
Naomi, you write it quite well. So well in fact that lately I typically forget that English is not your first language!


>Ouch, 7 years ago I could barely make myself understood. I hope my English improved since then and I can better explain what I need <g>
>
>>Edward,
>>
>>Thanks for your advises.
>>
>> I don't want to switch into grid, because there is no table associated with zipcode. How can I implement any number of rows, if I don't know how many codes they want to type? What would be a record source for this grid? If I understand you correctly, I need to add new row, when a user hits enter, right? Would be tough to create this class.
>>
>>I want to use an edit box to create a criterion for query. For example, a user types:
>>01235
>>01236
>>etc.
>>and my criterion would be inlist(zipcode,"01235,01236").
>>
>>I already created a class btcc_edit, which has btc_whereexp(), which returns this criterion, and btcc_statesave method, which should save current state of the editbox (enablement and value). As I wrote, I found, that I can't just use simple assign method, because a macro command gives me an error while execution.
>>
>>So, there is my problem. Is there a way to assign line by line the value of an editbox? If so, I can create a method for this, and in statesave method invoke it.
>>
>>As for the input mask problem, I can write a code in the editbox valid method, but it's not a simple solution.
>>
>>May be, such control already exists.
>>
>>What could you suggest?
.·*´¨)
.·`TCH
(..·*

010000110101001101101000011000010111001001110000010011110111001001000010011101010111001101110100
"When the debate is lost, slander becomes the tool of the loser." - Socrates
Vita contingit, Vive cum eo. (Life Happens, Live With it.)
"Life is not measured by the number of breaths we take, but by the moments that take our breath away." -- author unknown
"De omnibus dubitandum"
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform