What column of ListBox am I clicking in?
Anton,
Thanks, that is exactly what I was looking for. It works
great. There is some neat stuff in FORMAT(set LIST or COMBO layout)
in the help files.
On Tue, 22 Jun 1999 14:10:59 +0400, "Anton Novikov"
Quote:
>Hi Lee,
>> I have a ListBox on a window that displays a Queue. This is
>> for an Appointment Scheduling program. There is a record in the queue
>> for every 10 minutes of the day(8 - 6) and a field for 6 different
>> doctors(many other fields exsist for coloring and such but only 6
>> columns in the box.). When the user double clicks on the listbox I
>> want to bring up a Schedule Appointment Procedure with the Time preset
>> based on the record of the Queue they clicked on and the Doctor preset
>> based on what column of the listbox the clicks occured. The time is
>> easy as it is based on the record but how do I do the column?
>> Currently the user presses a button and manually selects the doctor on
>> the form but I would like to automate that. Please help me if you
>> can.
> You can use PROPLIST:MouseDownField - it returns the column number when
>the mouse is pressed.
>Regards,
>Anton Novikov