1. Richard Donagrandi
  2. PowerBuilder
  3. Wednesday, 9 September 2020 21:09 PM UTC

I have a user object that contains multiple user objects (custom buttons)... basically a touchscreen interface. The issue is that there is no "live scroll" available option for user objects like there is for datawindows... There is also no "scroll to" function in user objects... Other than the normal scrollbar option, which I've already enabled, but is anemic for a touchscreen interface, and allowing tabbing in my user objects (which defeats the purpose of "touchscreen"), I'm wondering what other options might be available for scrolling user objects.

John Fauss Accepted Answer Pending Moderation
  1. Wednesday, 9 September 2020 21:58 PM UTC
  2. PowerBuilder
  3. # 1

Hi, Richard - 

Have you looked at this?

https://community.appeon.com/index.php/articles-blogs/tips-tricks-techniques-articles/17-powerbuilder/263-tile-menu-style-using-datawindow-object

Since it is DW-driven, it might provide you with live-scrolling capability. Food for thought...

Regards, John

Comment
There are no comments made yet.
Richard Donagrandi Accepted Answer Pending Moderation
  1. Thursday, 10 September 2020 00:00 AM UTC
  2. PowerBuilder
  3. # 2

Yes, I have.... But it's not exactly what I want to do, unfortunately. 

Comment
There are no comments made yet.
Richard Donagrandi Accepted Answer Pending Moderation
  1. Thursday, 10 September 2020 17:07 PM UTC
  2. PowerBuilder
  3. # 3

Hi Chris! .... I think your reply was meant for another discussion. :P

Mine is specifically that anything that allows a vertical or horizontal scroll should be live-scrollable, and have PowerScript ability to ScrollTo... You can set the page size on a user object; you should be able to tell a user object to GoToPage or something...

Comment
  1. Chris Pollach @Appeon
  2. Thursday, 10 September 2020 17:57 PM UTC
Sorry Richard ... you're right - that was a post for another thread and I have now moved that response over there. <my bad>
  1. Helpful
  1. Chris Pollach @Appeon
  2. Thursday, 10 September 2020 18:14 PM UTC
Hi Richard;

Unfortunately, scrolling on a non-DW, MLE or RTE object is not supported within PB. That would be an enhancement request. However, you might (should) be able to accomplish this via some SDK calls (i think). For example - something like: https://www.rgagnon.com/pbdetails/pb-0175.html

HTH .. Regards .. Chris
  1. Helpful
  1. Chris Pollach @Appeon
  2. Thursday, 10 September 2020 19:16 PM UTC
Hi Richard;

Great news ... I just added Real's code to my STD Framework's base ancestor UO and it now scrolls on command - just like the window! So adding that Window code to a UO will work for App scrolling control! ;-)

HTH

Regards ... Chris
  1. Helpful
There are no comments made yet.
  • Page :
  • 1


There are no replies made for this question yet.
However, you are not allowed to reply to this question.