devxlogo

How Can I Tell if a Sheet is Open

How Can I Tell if a Sheet is Open

Question:
How can I check if a certain sheet is Open?

Answer:
PowerBuilder stores a list of all the currently open sheets automatically for you. You can use the GetFirstSheet and GetNextSheet commands to loop through all the sheets.

Then you can use either a function on your sheet to identify the correct sheet or you can also use the ClassName function to see if it’s the sheet you want.

devx-admin

Share the Post: