Hi,
Please refer the attached GUI file. My question is as below:
I have 2 lists having paths:
NormalList=[ccp/cc/minid, ccp/cc/pri, ccp/cc/swicthOn]
HMIList=[hmi/gct/pri, hmi/hct/monname, hmi/jct/heaterOn]
If you refer GUI, when i selected "New Datapoint's Base" as normal and
entered letters in "New Datapoint's Path", GUI should show all the paths
from NomralList matching to word or letter typing.
similarly, when i selected "New Datapoint's Base" as HMI and entered
letters in "New Datapoint's Path", GUI should show all the paths from
HMIList matching to word or letter typing.
Regards
Ganesh

Hi,
Please refer the attached GUI file. My question is as below:
I have 2 lists having paths:
NormalList=[ccp/cc/minid, ccp/cc/pri, ccp/cc/swicthOn]
HMIList=[hmi/gct/pri, hmi/hct/monname, hmi/jct/heaterOn]
If you refer GUI, when i selected “New Datapoint’s Base” as normal and entered letters in “New Datapoint’s Path”, GUI should show all the paths from NomralList matching to word or letter typing.
You will have to do this yourself. Your code needs to catch the character events (EVT_TEXT) and rebuild the listctrl accordingly as each character is typed. You can read more here: python - wxPython - dynamially update a listctrl depending on input into a textctrl - Stack Overflow
Alternatively, you can use the ObjectListView widget which has filtering builtin. It’s also mentioned in the above link.
Mike
···
On Thursday, February 2, 2017 at 10:22:40 AM UTC-6, ganeshkumar patil wrote:
similarly, when i selected “New Datapoint’s Base” as HMI and entered letters in “New Datapoint’s Path”, GUI should show all the paths from HMIList matching to word or letter typing.
Regards
Ganesh