![]() | |
#1
| |||
| |||
|
#2
| |||
| |||
|
|
I've created a button in P9 which, on clicking, produces a series of options for the user using Case, thus: method pushButton(var eventInfo Event) var theForm Form endVar switchMenu case "Option 1: this option opens form 1" : theForm.open("option1.fsl",WinStyleMaximize) case "Option 2: this option opens form 2" : theForm.open("option.fsl",WinStyleMaximize) etc. etc. endSwitchMenu endmethod The text in the resulting menu appears in the default style. Is there any way of formatting it so that, e.g., the words "Option1" and "Option 2" could be in a different colour, font, etc., from the rest of the text, e.g. "this option opens form 1"? I've looked through Help and my Opal book, without success. Any help gratefully received, as always. -- Malcolm |
#3
| |||
| |||
|
|
I've created a button in P9 which, on clicking, produces a series of options for the user using Case, thus: method pushButton(var eventInfo Event) var theForm Form endVar switchMenu case "Option 1: this option opens form 1" : theForm.open("option1.fsl",WinStyleMaximize) case "Option 2: this option opens form 2" : theForm.open("option.fsl",WinStyleMaximize) etc. etc. endSwitchMenu endmethod The text in the resulting menu appears in the default style. Is there any way of formatting it so that, e.g., the words "Option1" and "Option 2" could be in a different colour, font, etc., from the rest of the text, e.g. "this option opens form 1"? I've looked through Help and my Opal book, without success. Any help gratefully received, as always. -- Malcolm |
#4
| |||
| |||
|
|
I've created a button in P9 which, on clicking, produces a series of options for the user using Case, thus: method pushButton(var eventInfo Event) var theForm Form endVar switchMenu case "Option 1: this option opens form 1" : theForm.open("option1.fsl",WinStyleMaximize) case "Option 2: this option opens form 2" : theForm.open("option.fsl",WinStyleMaximize) etc. etc. endSwitchMenu endmethod The text in the resulting menu appears in the default style. Is there any way of formatting it so that, e.g., the words "Option1" and "Option 2" could be in a different colour, font, etc., from the rest of the text, e.g. "this option opens form 1"? I've looked through Help and my Opal book, without success. Any help gratefully received, as always. -- Malcolm |
#5
| |||
| |||
|
|
I've created a button in P9 which, on clicking, produces a series of options for the user using Case, thus: method pushButton(var eventInfo Event) var theForm Form endVar switchMenu case "Option 1: this option opens form 1" : theForm.open("option1.fsl",WinStyleMaximize) case "Option 2: this option opens form 2" : theForm.open("option.fsl",WinStyleMaximize) etc. etc. endSwitchMenu endmethod The text in the resulting menu appears in the default style. Is there any way of formatting it so that, e.g., the words "Option1" and "Option 2" could be in a different colour, font, etc., from the rest of the text, e.g. "this option opens form 1"? I've looked through Help and my Opal book, without success. Any help gratefully received, as always. -- Malcolm |
#6
| |||
| |||
|
|
I've created a button in P9 which, on clicking, produces a series of options for the user using Case, thus: method pushButton(var eventInfo Event) var theForm Form endVar switchMenu case "Option 1: this option opens form 1" : theForm.open("option1.fsl",WinStyleMaximize) case "Option 2: this option opens form 2" : theForm.open("option.fsl",WinStyleMaximize) etc. etc. endSwitchMenu endmethod The text in the resulting menu appears in the default style. Is there any way of formatting it so that, e.g., the words "Option1" and "Option 2" could be in a different colour, font, etc., from the rest of the text, e.g. "this option opens form 1"? I've looked through Help and my Opal book, without success. Any help gratefully received, as always. -- Malcolm |
#7
| |||
| |||
|
|
I've created a button in P9 which, on clicking, produces a series of options for the user using Case, thus: method pushButton(var eventInfo Event) var theForm Form endVar switchMenu case "Option 1: this option opens form 1" : theForm.open("option1.fsl",WinStyleMaximize) case "Option 2: this option opens form 2" : theForm.open("option.fsl",WinStyleMaximize) etc. etc. endSwitchMenu endmethod The text in the resulting menu appears in the default style. Is there any way of formatting it so that, e.g., the words "Option1" and "Option 2" could be in a different colour, font, etc., from the rest of the text, e.g. "this option opens form 1"? I've looked through Help and my Opal book, without success. Any help gratefully received, as always. -- Malcolm |
#8
| |||
| |||
|
|
I've created a button in P9 which, on clicking, produces a series of options for the user using Case, thus: method pushButton(var eventInfo Event) var theForm Form endVar switchMenu case "Option 1: this option opens form 1" : theForm.open("option1.fsl",WinStyleMaximize) case "Option 2: this option opens form 2" : theForm.open("option.fsl",WinStyleMaximize) etc. etc. endSwitchMenu endmethod The text in the resulting menu appears in the default style. Is there any way of formatting it so that, e.g., the words "Option1" and "Option 2" could be in a different colour, font, etc., from the rest of the text, e.g. "this option opens form 1"? I've looked through Help and my Opal book, without success. Any help gratefully received, as always. -- Malcolm |
#9
| |||
| |||
|
|
I've created a button in P9 which, on clicking, produces a series of options for the user using Case, thus: method pushButton(var eventInfo Event) var theForm Form endVar switchMenu case "Option 1: this option opens form 1" : theForm.open("option1.fsl",WinStyleMaximize) case "Option 2: this option opens form 2" : theForm.open("option.fsl",WinStyleMaximize) etc. etc. endSwitchMenu endmethod The text in the resulting menu appears in the default style. Is there any way of formatting it so that, e.g., the words "Option1" and "Option 2" could be in a different colour, font, etc., from the rest of the text, e.g. "this option opens form 1"? I've looked through Help and my Opal book, without success. Any help gratefully received, as always. You could make your own "button" as a graphic icon, and use |
#10
| |||
| |||
|
|
I've created a button in P9 which, on clicking, produces a series of options for the user using Case, thus: method pushButton(var eventInfo Event) var theForm Form endVar switchMenu case "Option 1: this option opens form 1" : theForm.open("option1.fsl",WinStyleMaximize) case "Option 2: this option opens form 2" : theForm.open("option.fsl",WinStyleMaximize) etc. etc. endSwitchMenu endmethod The text in the resulting menu appears in the default style. Is there any way of formatting it so that, e.g., the words "Option1" and "Option 2" could be in a different colour, font, etc., from the rest of the text, e.g. "this option opens form 1"? I've looked through Help and my Opal book, without success. Any help gratefully received, as always. You could make your own "button" as a graphic icon, and use |
![]() |
| Thread Tools | |
| Display Modes | |
| |