TTMSFMXEdit Lookup or AutoComplete

I tried to get the TTMSFMXEdit to work with either AutoComplete or Lookup set to Enabled but I don't see it working either on the Mac, Windows or iOS. 


My codes are as follows

Fedit.AutoComplete := true;
// Fedit.Lookup.Enabled := true;
Fedit.Lookup.ValueList.Add('anything');
Fedit.Lookup.ValueList.Add('anyone');
Fedit.Lookup.ValueList.Add('anywhere');
Fedit.Lookup.ValueList.Add('any');
Fedit.TextPrompt := 'Enter Anything';

The TextPrompt also did not appear. 

Incidentally, I believe I have the latest Firemonkey suite installed on XE4 and the TTMSFmxEdit version is reflected as 1.5.0.2 . Is that the latest ?

Is there anything in which I need to do ? 

Thanks

Hi, 


The ValueList is the list used to enter the value inside the edit after the value is selected from the displaylist.
so the correct code would be:

TMSFMXEdit1.AutoComplete := true;
TMSFMXEdit1.Lookup.Enabled := true;
TMSFMXEdit1.Lookup.DisplayList.Add('anything');
TMSFMXEdit1.Lookup.DisplayList.Add('anyone');
TMSFMXEdit1.Lookup.DisplayList.Add('anywhere');
TMSFMXEdit1.Lookup.DisplayList.Add('any');

TextPrompt is a property inherited from TEdit and does unfortunately not work. You can try the same on a standard TEdit.

Kind Regards, 
Pieter