[Migrated content. Thread originally posted on 22 June 2009]
I would like to be able to put a TextBox/Entry-Field with autocomplete on a form. I thought I would be able to do it by placing the .NET TextBox control on my form, but although I can get the TextBox to appear, and I set the properties to make it autocomplete, it doesn't seem to be working. Has anyone successfully done something like this? I created a .NET DEF file using netdefgen and System.Windows.Forms.dll
SCREEN SECTION.
03 TEXTBOX-HANDLE, "@System.Windows.Forms"
NAMESPACE is "System.Windows.Forms",
CLASS-NAME is "TextBox",
FILE-PATH is "bin\\forms.xml"
LINE 49.5
COL 10
.
PROGRAMMING SECTION.
MODIFY TEXTBOX-HANDLE "set_AutoCompleteMode"(
"@AutoCompleteMode_SuggestAppend")
GIVING RTN-CODE.
MODIFY TEXTBOX-HANDLE "set_AutoCompleteSource"(
"@AutoCompleteSource_FileSystem")
GIVING RTN-CODE.
-Chris



