Aug 28, 2002 #1 Guest_imported New member Joined Jan 1, 1970 Messages 0 I Need a Tip how I can prevent a datawindow from scrolling horizontal when the user presses the TAB-Key or the DW is been reseted. AXL ANYWHERE
I Need a Tip how I can prevent a datawindow from scrolling horizontal when the user presses the TAB-Key or the DW is been reseted. AXL ANYWHERE
Aug 28, 2002 #2 PowerObject Programmer Joined Jul 30, 2002 Messages 204 Location US Hi, Create a user-event ue_KeyDown! and map it to the "pbm_DwnKey" system event on the dw. In the ue_KeyDown event, code as under: IF key = KeyTab! AND This.GetColumnName() = <column> THEN RETURN 1 ; END IF ; Regards, -- PowerObject! ----------------------------------------- http://groups.yahoo.com/group/PowerObjectPowerBuilder / PFC Developers' Group Upvote 0 Downvote
Hi, Create a user-event ue_KeyDown! and map it to the "pbm_DwnKey" system event on the dw. In the ue_KeyDown event, code as under: IF key = KeyTab! AND This.GetColumnName() = <column> THEN RETURN 1 ; END IF ; Regards, -- PowerObject! ----------------------------------------- http://groups.yahoo.com/group/PowerObjectPowerBuilder / PFC Developers' Group