Hi All,
I noticed that TComboBox:nAt is not updated when GetKeyChar() hit a match ...
It would be handy though ...
So when user press char in oCbx:oGet and hit a match, we can retrieve other info relative to oCbx:nAt from another array...
Like 'name' in oCbx:aItem to var1 and aAddr[ oCbx:nAt ] to var2 and so on ...
Any thoughts
ComboBox GetKeyChar() Method
ComboBox GetKeyChar() Method
Kind Regards,
Frances
Fivewin for xHarbour v18.07
xHarbour v1.2.3.x
BCC 7.3 + PellesC8 ( Resource Compiler only)
ADS 10.1 / MariaDB
Crystal Reports 8.5/9.23 DE
xMate v1.15
Frances
Fivewin for xHarbour v18.07
xHarbour v1.2.3.x
BCC 7.3 + PellesC8 ( Resource Compiler only)
ADS 10.1 / MariaDB
Crystal Reports 8.5/9.23 DE
xMate v1.15
Re: ComboBox GetKeyChar() Method
I added and tested this lines which serves the purpose..
i dunno if I made it right or any other ways so I can avoid modifying the original ComboBox source if any? ... I mean, I tried several ways as well..
Anyone with better idea
i dunno if I made it right or any other ways so I can avoid modifying the original ComboBox source if any? ... I mean, I tried several ways as well..
Anyone with better idea
Kind Regards,
Frances
Fivewin for xHarbour v18.07
xHarbour v1.2.3.x
BCC 7.3 + PellesC8 ( Resource Compiler only)
ADS 10.1 / MariaDB
Crystal Reports 8.5/9.23 DE
xMate v1.15
Frances
Fivewin for xHarbour v18.07
xHarbour v1.2.3.x
BCC 7.3 + PellesC8 ( Resource Compiler only)
ADS 10.1 / MariaDB
Crystal Reports 8.5/9.23 DE
xMate v1.15
Re: ComboBox GetKeyChar() Method
Much better ...
Code: Select all
...
If ::bChange <> NIL
::Select( nAt )
Eval( ::bChange, Self, ::VarGet() )
End
...
Kind Regards,
Frances
Fivewin for xHarbour v18.07
xHarbour v1.2.3.x
BCC 7.3 + PellesC8 ( Resource Compiler only)
ADS 10.1 / MariaDB
Crystal Reports 8.5/9.23 DE
xMate v1.15
Frances
Fivewin for xHarbour v18.07
xHarbour v1.2.3.x
BCC 7.3 + PellesC8 ( Resource Compiler only)
ADS 10.1 / MariaDB
Crystal Reports 8.5/9.23 DE
xMate v1.15