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

HProgressBar in PowerBuilder

Published on 17 August 18
Some times we were supposed to use progress bars in powerbuilder
A Simple example might be when we are retrieving the datawindow and we need to show that the amount of data is retrieved in the form of Progress bar.

It is clear that we need to know the number of rows which will be retrieved before we actually retrieve the data, so we need to get the count first . I am using a simple example here -
integer li_count

select count(*) into :li_count from hscroll using sqlca;//hscroll table
// in your case need to get the count

hpb_1.setrange( 1, li_count)

dw_scroll.retrieve( )
In the datawindow retrieverow event
That's it. It will be like below -
HProgressBar in PowerBuilder - Image 1
This blog is listed under Development & Implementations Community

Related Posts:
Post a Comment

Please notify me the replies via email.

  • We hope the conversations that take place on 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
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