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 > Datalistview di...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 1 of 6 Topic 11313 of 11560
Post > Topic >>

Datalistview dispatcher question

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

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 Sat Jul 26 3:10:10 CDT 2008.