Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Click vs DoubleClick on a listbox
Message
From
28/02/2007 18:40:29
Cetin Basoz
Engineerica Inc.
Izmir, Turkey
 
 
To
28/02/2007 18:24:33
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Environment versions
Visual FoxPro:
VFP 9 SP1
OS:
Windows XP SP2
Network:
Windows XP
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01199798
Message ID:
01199803
Views:
18
This message has been marked as the solution to the initial question of the thread.
>Hi all,
>
>We have a listbox that's being populated by an SQL command. We want to click on a record in the listbox to populate the rest of the form with data based upon which record was chosen. When the code to do this is in the Click event, it does not work. Even though the record is found (found()=.t.), it still jumps to the first record in the table being searched. But when the code to do this is placed in the DoubleClick event, it works perfectly. Also, when the code is placed in a Command Button, it works perfectly (clicking on the desired record, then clicking the Command button).
>
>Any ideas what could be wrong here?
>
>Thanks very much,
>
>John

John,
Would you try this:
* InteractiveChange
with this
 .Value = .Value
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