The following is a tabbed dropdown:

Code:
Dim a_xxx[0] as c
Dim temp_list as c


temp_list = <<%list%
ace|spades|a
club|boss|b
jack|tall|c
%list%


Dim format as p
Format.tab_stops="1,2"
Format.odd_row_color="White"
Format.even_row_color="White"
Format.odd_selected_color="Dark Blue"
Format.even_selected_color="Dark Blue"
Format.font="Arial,10"
Format.font_color_unselected="Black"
Format.font_color_selected="White"
Format.lastbutton="OK"
Format.group_size=1
Format.number_rows=.f.
Format.alternating_bands=.f.


temp_list = a5_owner_draw_list_fmt(temp_list,Format)


a_xxx.initialize(temp_list)


varC_result = ui_dlg_box("Alpha Five",<<%dlg%
{region}
Type prompt here:|
[%v;O={@@}%.50vType^=a_xxx];
{endregion};
{line=1,0};
<OK>
%dlg%)
I need the same thing but with an index value as you typically get with other lists.

e.g. The following xdialog list control has an index value called "index" which you can read when the user makes a selection:

Code:
[%dk%.200,25 index^"Acct:10|Trans_Id:10|Date:20|C-Type:15|Payee:45|Category:25|
Status:10|DL:15|Debit:15|Credit:15|Balance:15
"vTransactions_List!vSelect_Transactions_List_*];
The above is a listbox. not a dropdown, but you get the idea.