Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Selecting first line in a listbox
Message
From
28/01/2004 01:53:16
Cetin Basoz
Engineerica Inc.
Izmir, Turkey
 
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00871256
Message ID:
00871271
Views:
11
>Hi,
>I have a parent form calling a childform that has a listbox in it, called list1 refers to a
>table. When the child comes up I want the first row of this table to be selected
>in the listbox. But thisform.list1.setfocus() doesn't do it. Is there a way to do this?
>Thanks
>Steve Elster

thisform.List1.ListIndex = 1

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
Reply
Map
View

Click here to load this message in the networking platform