I’d like to be able to create a #Control template for radio buttons and tabs, the optionbox and sheet #Control already have their own prompts which appear on the controls action tab and in the Procedure Extension section and they are working just fine.
I can even add only a single radio button and only a single tab in the respective parent #control template if I wanted and that sort of works fine, but the action tab for the radio button and tab displays the prompts for the respective optionbox or sheet control, but I cant for life of me get the radio or tab to work as a seperate #Control template when I include a definition for them inside the “Controls” section.
These below do not work. They throw the error “Syntax error reading Window or Report”.
#Control(MyRadioButton),'Text which appears in various IDE Template windows'),Multi,Req(MyOptionBoxControlTemplate,Before)
#Prepare
#! Some stuff happens here
#EndPrepare
#Display('This appears on the Control's Action Tab in the Window formatter')
#Display(' "Controls" on the next line can not start in Column 1')
Controls
Radio('Text'),Use(?ThisIsNeeded)
End
#! Other template code carries on below, like #AT embeds, #Groups etc.
#Control(MyTab),'Text which appears in various IDE Template windows'),Multi,Req(MySheetControlTemplate,Before)
#Prepare
#! Some stuff happens here
#EndPrepare
#Display('This appears on the Control's Action Tab in the Window formatter')
#Display(' "Controls" on the next line can not start in Column 1')
Controls
Tab('Text'),Use(?ThisIsNeeded)
End
End
#! Other template code carries on below, like #AT embeds, #Groups etc.
So does anyone know if its possible to do separate #Control templates for Radio buttons and Tabs?
I not there are no shipping template examples of using a #Control template for a Sheet or Option box, these are created in the #Untility templates inside #Default which is the starting point of creating a procedure. That why I wonder if its possible.
TIA