User Tools

Site Tools


example_20property_20sheet

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

example_20property_20sheet [2018/03/31 13:19]
127.0.0.1 external edit
example_20property_20sheet [2018/04/15 19:14] (current)
tbest3112 Added syntax highlighting
Line 2: Line 2:
  
 //by Richard Russell, October 2015//\\ \\  The main //BBC BASIC for Windows// Help documentation contains information on how to create a [[http://​www.bbcbasic.co.uk/​bbcwin/​manual/​bbcwing.html#​winlib4|Property Sheet]], but no demonstration program is supplied. For those who prefer to adapt an existing program rather than to write their own from scratch, here is an example of a property sheet in action.\\ \\  By default the **Apply** button is not enabled, but here it is. Note that you will receive a notification that the Apply button has been pressed for each page in your property sheet (so in the example below you will receive it twice):\\ \\  //by Richard Russell, October 2015//\\ \\  The main //BBC BASIC for Windows// Help documentation contains information on how to create a [[http://​www.bbcbasic.co.uk/​bbcwin/​manual/​bbcwing.html#​winlib4|Property Sheet]], but no demonstration program is supplied. For those who prefer to adapt an existing program rather than to write their own from scratch, here is an example of a property sheet in action.\\ \\  By default the **Apply** button is not enabled, but here it is. Note that you will receive a notification that the Apply button has been pressed for each page in your property sheet (so in the example below you will receive it twice):\\ \\ 
 +<code bb4w>
         REM. Program to demonstrate the use of property sheets from BBC BASIC         REM. Program to demonstrate the use of property sheets from BBC BASIC
         REM. Richard Russell 5th August 2002         REM. Richard Russell 5th August 2002
Line 247: Line 248:
         hCopies% += 0  : IF hCopies% ​ SYS "​DeleteObject",​ hCopies% ​ : hCopies% = 0         hCopies% += 0  : IF hCopies% ​ SYS "​DeleteObject",​ hCopies% ​ : hCopies% = 0
         ENDPROC         ENDPROC
 +</​code>​
example_20property_20sheet.txt ยท Last modified: 2018/04/15 19:14 by tbest3112