The code needed to set a grid's page navigation buttons (Prev, Next etc.) is as follows:
Somewhere in the thisPage_onenter()...
with grdIssueList.getPagingNavbar()
with .getButton(0)
.setStyle 1
.src = "../images/first.gif"
.alt = "First"
end with
with .getButton(1)
.setStyle 1
.src = "../images/back.gif"
.alt = "Prev"
end with
with .getButton(2)
.setStyle 1
.src = "../images/next.gif"
.alt = "Next"
end with
with .getButton(3)
.setStyle 1
.src = "../images/last.gif"
.alt = "Last"
end with
end with
Change the name of the grid (in bold above) to the appropriate one. (And the path to the images, of course!)
The .setStyle 1 bit tells the button to be an Image button (0 = Text, 1 = Image).
You should check to see if the grid uses navigation buttons first (else an error may occur).
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.