TTMSFMXEdit Not Displaying Lookup List

Hi,


I am trying to use the Lookup feature of the TTMSFMXEdit component, but the lookup list is not dropping down or displaying at runtime.

I have hooked up an event for the control that fires using the "OnTyping" event: 

procedure TfrmCreateShipment.edtAddressSearch2Typing(Sender: TObject);
Var
  i : Integer;
begin
  inherited;
  If fAddressBookController.SearchAddressBook(edtAddressSearch2.Text) Then
  Begin
    edtAddressSearch2.Lookup.Enabled := True;
    for i := 0 To Pred(fAddressBookController.SearchResultsList.Count) Do
    Begin
      edtAddressSearch2.Lookup.DisplayList.Add(fAddressBookController.SearchResultsList.SearchResultsText);
    End;
    edtAddressSearch2.Lookup.DisplayCount := edtAddressSearch2.Lookup.DisplayList.Count;
  End;
end;

The event is firing, search results are being added to the Displaylist, but no lookup list is displayed.

Am I missing something? I have followed the developer guide PDF?

FMX definition of the FMXEdit is:

      object edtAddressSearch2: TTMSFMXEdit
        DisableFocusEffect = False
        KeyboardType = vktDefault
        Password = False
        Position.X = 240.000000000000000000
        Position.Y = 16.000000000000000000
        Width = 145.000000000000000000
        Height = 22.000000000000000000
        OnTyping = edtAddressSearch2Typing
        Lookup.Separator = ';'
      end

We are successfully able to show the lookup list with the code above, are you using XE2 or XE3?


Kind Regards, 
Pieter

Hi,


I am using Delphi XE3 Professional.

Nothing drops down at all.

Regards,

Greg

Can you perhaps send us a sample that demonstrates this, so we can investigate this here under the exact same circumstances ?


Kind Regards, 
Pieter

Please check the NumChars property, I had to set this to 1 for my Lookup to start working