MyPage is a personalized page based on your interests.The page is customized to help you to find content that matters you the most.


I'm not curious

Disable Vertical Scrolling in Powerbuilder Datawindow

Published on 30 August 16
1035
0
2
Disable Vertical Scrolling
***********************************************
Map below event to - pbm_vscroll
// This is for disabling vertical scrolling through mouse

[ue_noscroll]
// prevent vertical scrolling
return 1

From KeyBoard -- pbm_dwnkey
// This is for disabling vertical scrolling through

[ue_dwnkey]
CHOOSE CASE key
CASE KeyEnter!,KeyPageUp!,KeyPageDown!,KeyUpArrow!,KeyDownArrow!
This.AcceptText()
RETURN 1
END CHOOSE
RETURN




Disable Vertical Scrolling

***********************************************

Map below event to - pbm_vscroll

// This is for disabling vertical scrolling through mouse

[ue_noscroll]

// prevent vertical scrolling

return 1

From KeyBoard -- pbm_dwnkey

// This is for disabling vertical scrolling through

[ue_dwnkey]

CHOOSE CASE key

CASE KeyEnter!,KeyPageUp!,KeyPageDown!,KeyUpArrow!,KeyDownArrow!

This.AcceptText()

RETURN 1

END CHOOSE

RETURN

This blog is listed under Development & Implementations and Data & Information Management Community

Related Posts:
Post a Comment

Please notify me the replies via email.

Important:
  • We hope the conversations that take place on MyTechLogy.com will be constructive and thought-provoking.
  • To ensure the quality of the discussion, our moderators may review/edit the comments for clarity and relevance.
  • Comments that are promotional, mean-spirited, or off-topic may be deleted per the moderators' judgment.
You may also be interested in
Awards & Accolades for MyTechLogy
Winner of
REDHERRING
Top 100 Asia
Finalist at SiTF Awards 2014 under the category Best Social & Community Product
Finalist at HR Vendor of the Year 2015 Awards under the category Best Learning Management System
Finalist at HR Vendor of the Year 2015 Awards under the category Best Talent Management Software
Hidden Image Url

Back to Top