Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Horizontal Scroll in a Datawindow

Status
Not open for further replies.

Guest_imported

New member
Jan 1, 1970
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
 
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!
-----------------------------------------
PowerBuilder / PFC Developers' Group
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top