Hi Thierry,
the auto completion is a tool very powerful and visual !
A small problem however: I can not recover the data source because rowsource_ returns the following error:
How to access the RowSource property ?
Thank you
my bad, I always forget that a protected
property can be accessed from a sub-class, not from an instance of that sub-class
please make this property public be removing the protected
attribute:
modify class awCboAutoComp of aw
- menu > class > modify property method
- change
protected
intopublic
- ctrl+S, ctrl+W
here is an example using VFPx PEM editor that you can install in your IDE using Thor:
Perfect, it works fine after the correction.
Thank you
great thanks for the feedback
This functionality is simply fantastic, I was very happy when I used it, I can not wait to put it in production on my project!
Hi Thierry,
With this wonderful control ... how can we manage the refreshing of the rowsource (especially if it is a cursor) ?
nothing special, you can just select … into cursor (this.rowSource_) nofilter
when needed
In this case, the list is not refreshed
The list is the one previously initialized with sales
please make sure to set at design time:
this.wACnLocalMax = 1
reccount(this.RowSource) > 0
It works, thank you !
As I understand it, wACnLocalMax representing the minimum of options that must exist to cause a refresh of the list ?