Overview
Examples
Screenshots
Comparisons
Applications
Download
Documentation
Tutorials
Bazaar
Status & Roadmap
FAQ
Authors & License
Forums
Funding Ultimate++
Search on this site











SourceForge.net Logo

SuggestCtrl

 

class SuggestCtrl : public EditString

 

 

This widget complements EditString with suggestions.

 

Public Member List

 

void ClearList()

Clears the suggestions list.

 


 

void AddList(const WString& s)

void AddList(const String& s)

void AddList(const char *s)

Adds s to suggestions list.

 


 

void Pick(Vector<WStringrval_ list)

Picks list to replace suggestions list.

 


 

SuggestCtrl& SetDropLines(int n)

Sets the height of suggestion list popup as number of lines to show. Default is 16.

 


 

SuggestCtrl& Delimiter(int chr)

Sets list separator as character. Default is none, which means text does not form a list.

 


 

SuggestCtrl& Delimiter(int (*filter)(int c))

Sets list separator as filter. Returning zero means character is not list separator. Filter can alter the character (e.g. to change ',' to ';') before it is written to the text.

 


 

SuggestCtrl& CompareFilter(int (*filter)(int c))

Sets filter to be applied to text and to the suggestions before it is compared while searching for suggestions.

 


 

SuggestCtrl& JustStart(bool b = true)

Only matches the starts of suggestions.

 

 

Last edit by cxl on 10/08/2015. Do you want to contribute?. T++