Share this page

# Example: Changing Tab Names

You can change the names of the tabs on the Add Defect dialog box. This example sets the tabs to `General`, `Environments`, and `Business Case`.

Add the following code to the `GetNewBugPageName` event procedure, which is triggered before OpenText Application Quality Management opens the Add Defect dialog box. To change the tab names on the Defect Details dialog box, add similar code to the `Defects_GetDetailsPageName` event procedure.

    Sub Bug_New
    	On Error Resume Next

    		Bug_Fields.Field("BG_ACTUAL_FIX_TIME").PageNo = 1
    		Bug_Fields.Field("BG_ESTIMATED_FIX_TIME").PageNo = 2

    	On Error GoTo 0
    End Sub

    Function GetDetailsPageName(PageName,PageNum)
    On Error Resume Next

    if ActiveDialogName = "New Bug" then
    	Select case PageNum
    		case "1"
    			GetDetailsPageName="General"
    		case "2"
    			GetDetailsPageName="Environments"
    		case else
    			GetDetailsPageName="Business Case"
    	End Select
    end if

    On Error GoTo 0
    End Function

https://admhelp.microfocus.com Application Quality Management 8942
Tips to improve your search results... OpenText™ Application Quality Management Help Center OpenText™ Application Quality Management Help Center OpenText™ Application Quality Management Help 26.1 All View Local Help Center View Online Help Center Version: