Talk About Network

Google


Register and Login
Nick
Password
Register create new account Sign up is FREE and you can post replies, new topics, bookmark posts and more!
Recover lost password


Programming > Clipper Visual-Objects > Re: Datalistvie...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 5 of 6 Topic 11313 of 11795
Post > Topic >>

Re: Datalistview dispatcher question

by "Eckhard Sallermann" <ecki@[EMAIL PROTECTED] > Apr 14, 2008 at 04:55 PM

i get it, pressing the ENTERbutton in the dialogbox will close it, the key 
is down, so i come back to the datalistview.
so, when pressing the ENTERkey down and holding it down, the dlg ist
beeing 
closed, but i am still holding the Enterkey down, but now i am already
back 
in the dlv and then releasing the Enterkey the dispatcher gets the
WM_KEYUP Meesage



???




"Eckhard Sallermann" <ecki@[EMAIL PROTECTED]
> schrieb im Newsbeitrag 
news:ftvnfg$a8b$1@[EMAIL PROTECTED]
> Hi,
>
> when pressing ENTER on a datalistview a Dialogwindow appears where i can

> do some input in singlelineedits
> this dialogwindow has two buttons "Okay" and "Cancel"
> now, when leaving the sle the Okay-Button has the focus, pressing the 
> Okay-Button with the mousem, the dialogwindow will be closed an i set
the 
> focus to the Datalistview.
>
> when pressing the ENTER-Key while the focus in this dlg-box is on the 
> OKAY-Butten the dialogwindow is also being closed
> bute when also setting the focus back to the dlv it seems the dispatcher

> will get the ENTER-Key agan, so the dialogbox appears
> again
>
> any ideas ?
>
> METHOD dispatch( oevt ) CLASS dlvWareneingang
>
>
>
> IF oevt:umsg = WM_KEYUP
>
> DO CASE
>
>     CASE oEvt:wparam = VK_RETURN
>
>     self:owner:owner:PutMenge() // Calls the dialogwindow
>
>
>
>
>    self:SetFocus()
>
> endcase
>
> RETURN SUPER:dispatch( oevt )
>
>
>
 




 6 Posts in Topic:
Datalistview dispatcher question
"Eckhard Sallermann&  2008-04-14 15:50:40 
Re: Datalistview dispatcher question
Karl Faller <k.faller_  2008-04-14 15:57:40 
Re: Datalistview dispatcher question
"Eckhard Sallermann&  2008-04-14 16:05:11 
Re: Datalistview dispatcher question
"Eckhard Sallermann&  2008-04-14 16:43:01 
Re: Datalistview dispatcher question
"Eckhard Sallermann&  2008-04-14 16:55:27 
Re: Datalistview dispatcher question
Karl Faller <k.faller_  2008-04-14 17:55:33 

Post A Reply:
  Go here to Signup

AddThis Feed Button


About - Advertising - Contact - Frequently Asked Questions - Privacy Policy - Terms of Use - Signup

Contact
tan12V112 Fri Nov 21 15:01:13 CST 2008.