Hi,
I'm trying to write my first app with the DDT features. CONTROL GET TEXT works fine If I use a combobox, but doesn't return anything when using a listbox, even if I only select one item in my multiple-selection-capable listbox. Anybody got it to work?
I checked the ADDRESS.BAS sample, and tried the following, but no more luck:
Thx
FF.
------------------
I'm trying to write my first app with the DDT features. CONTROL GET TEXT works fine If I use a combobox, but doesn't return anything when using a listbox, even if I only select one item in my multiple-selection-capable listbox. Anybody got it to work?
Code:
CALLBACK FUNCTION OkButton() LOCAL sTemp AS STRING CONTROL GET TEXT CBHNDL, %IDLIST TO sTemp 'Empty! MSGBOX sTemp DIALOG END CBHNDL, 1 END FUNCTION
Code:
CONTROL SEND hDlg, %IDLIST, %CB_GETCURSEL, STRPTR(sTemp), 0
FF.
------------------
Comment