I created a textbox, told it to call KeyboardCallback.
Life is good, I can type in the box, must be working...
I need to scan what is being typed in there however.
I'm trying to keep ZERO global variables right now unless they are essential.
Since DDT works and I don't need globals to operate a dialog (thanks Lance and everyone, finally learning!)...
I wrote this, and it DID work as a subclass routine the old fashioned way, but I took that part out..
I'm tired and it's after midnight, so maybe I just didn't see somethign I should have...
It does not return however....Am I not checking the right parameter? It DID work as a subclass...
------------------
Scott
mailto:[email protected][email protected]</A>
Life is good, I can type in the box, must be working...
I need to scan what is being typed in there however.
I'm trying to keep ZERO global variables right now unless they are essential.
Since DDT works and I don't need globals to operate a dialog (thanks Lance and everyone, finally learning!)...
I wrote this, and it DID work as a subclass routine the old fashioned way, but I took that part out..
I'm tired and it's after midnight, so maybe I just didn't see somethign I should have...

It does not return however....Am I not checking the right parameter? It DID work as a subclass...
Code:
CallBack Function KeyboardCallBack() As Long Local St As String Select Case CbMsg Case %WM_KEYUP Control Get Text CbHndl, %IDTEXT2 To St If St = "PASSWORD" Then Control Enable CbHndl,%IDBUTTON2 End Select End Function
Scott
mailto:[email protected][email protected]</A>
Comment