|
2 | 2 | Sets or gets internal graphics library settings |
3 | 3 |
|
4 | 4 | {{fbdoc item="syntax"}}## |
5 | | - [[KeyPgDeclare|declare]] [[KeyPgSub|sub]] **""ScreenControl""** ( [[KeyPgByval|byval]] what [[KeyPgAs|as]] [[KeyPgLong|long]], [[KeyPgByref|byref]] param1 [[KeyPgAs|as]] [[KeyPgInteger|integer]] = 0, [[KeyPgByref|byref]] param2 [[KeyPgAs|as]] [[KeyPgInteger|integer]] = 0, [[KeyPgByref|byref]] param3 [[KeyPgAs|as]] [[KeyPgInteger|integer]] = 0, [[KeyPgByref|byref]] param4 [[KeyPgAs|as]] [[KeyPgInteger|integer]] = 0 ) |
6 | | - [[KeyPgDeclare|declare]] [[KeyPgSub|sub]] **""ScreenControl""** ( [[KeyPgByval|byval]] what [[KeyPgAs|as]] [[KeyPgLong|long]], [[KeyPgByref|byref]] param [[KeyPgAs|as]] [[KeyPgString|string]] = ##"####"## ) |
| 5 | + for fbc version < 1.08: |
| 6 | + [[KeyPgDeclare|declare]] [[KeyPgSub|sub]] **""ScreenControl""** ( [[KeyPgByval|byval]] what [[KeyPgAs|as]] [[KeyPgLong|long]], [[KeyPgByref|byref]] param1 [[KeyPgAs|as]] [[KeyPgInteger|integer]] = 0, [[KeyPgByref|byref]] param2 [[KeyPgAs|as]] [[KeyPgInteger|integer]] = 0, [[KeyPgByref|byref]] param3 [[KeyPgAs|as]] [[KeyPgInteger|integer]] = 0, [[KeyPgByref|byref]] param4 [[KeyPgAs|as]] [[KeyPgInteger|integer]] = 0 ) |
| 7 | + [[KeyPgDeclare|declare]] [[KeyPgSub|sub]] **""ScreenControl""** ( [[KeyPgByval|byval]] what [[KeyPgAs|as]] [[KeyPgLong|long]], [[KeyPgByref|byref]] param [[KeyPgAs|as]] [[KeyPgString|string]] = ##"####"## ) |
| 8 | + for fbc version >= 1.08: |
| 9 | + [[KeyPgDeclare|declare]] [[KeyPgSub|sub]] **""ScreenControl""** ( [[KeyPgByval|byval]] what [[KeyPgAs|as]] [[KeyPgConstQualifier|const]] [[KeyPgLong|long]], [[KeyPgByref|byref]] param1 [[KeyPgAs|as]] [[KeyPgLong|long]] = &h80000000, [[KeyPgByref|byref]] param2 [[KeyPgAs|as]] [[KeyPgLong|long]] = &h80000000, [[KeyPgByref|byref]] param3 [[KeyPgAs|as]] [[KeyPgLong|long]] = &h80000000, [[KeyPgByref|byref]] param4 [[KeyPgAs|as]] [[KeyPgLong|long]] = &h80000000 ) |
| 10 | + [[KeyPgDeclare|declare]] [[KeyPgSub|sub]] **""ScreenControl""** ( [[KeyPgByval|byval]] what [[KeyPgAs|as]] [[KeyPgConstQualifier|const]] [[KeyPgLong|long]], [[KeyPgByref|byref]] param1 [[KeyPgAs|as]] [[KeyPgLongint|longint]], [[KeyPgByref|byref]] param2 [[KeyPgAs|as]] [[KeyPgLongint|longint]] = &h80000000, [[KeyPgByref|byref]] param3 [[KeyPgAs|as]] [[KeyPgLongint|longint]] = &h80000000, [[KeyPgByref|byref]] param4 [[KeyPgAs|as]] [[KeyPgLongint|longint]] = &h80000000 ) |
| 11 | + [[KeyPgDeclare|declare]] [[KeyPgSub|sub]] **""ScreenControl""** ( [[KeyPgByval|byval]] what [[KeyPgAs|as]] [[KeyPgConstQualifier|const]] [[KeyPgLong|long]], [[KeyPgByref|byref]] param [[KeyPgAs|as]] [[KeyPgString|string]]) |
7 | 12 | ## |
8 | 13 | {{fbdoc item="usage"}}## |
9 | | - **""ScreenControl""**( //what// [, [ //param1// ][, [ //param2// ][, [ //param3// ][, [ //param4// ]]]]] ) |
10 | | - ##or,## |
11 | | - **""ScreenControl""**( //what// [, //param// ] ) |
| 14 | + for fbc version < 1.08: |
| 15 | + **""ScreenControl""**( //what// [, [ //param1// ][, [ //param2// ][, [ //param3// ][, [ //param4// ]]]]] ) |
| 16 | + or, |
| 17 | + **""ScreenControl""**( //what// [, //param// ] ) |
| 18 | + for fbc version >= 1.08: |
| 19 | + in the LONG (or INTEGER<32>) version of the sub: |
| 20 | + **""ScreenControl""**( //what// [, //param1// [, //param2// [, //param3// [, //param4// ]]]] ) |
| 21 | + or, |
| 22 | + **""ScreenControl""**( //what// , //param// ) |
| 23 | + in the LONGINT (or INTEGER<64>) version of the sub: |
| 24 | + **""ScreenControl""**( //what// , //param1// [, //param2// [, //param3// [, //param4// ]]] ) |
| 25 | + or, |
| 26 | + **""ScreenControl""**( //what// , //param// ) |
12 | 27 | ## |
13 | 28 | {{fbdoc item="param"}} |
14 | 29 | ##//what//## |
15 | 30 | specifies the function to perform |
16 | 31 | ##//param1//## |
17 | | - optional first integer parameter, contains value to be set on entry or value got on exit |
| 32 | + first integer parameter, contains value to be set on entry or value got on exit |
18 | 33 | ##//param2//## |
19 | | - optional second integer parameter, contains value to be set on entry or value got on exit |
| 34 | + second integer parameter, contains value to be set on entry or value got on exit |
20 | 35 | ##//param3//## |
21 | | - optional third integer parameter, contains value to be set on entry or value got on exit |
| 36 | + third integer parameter, contains value to be set on entry or value got on exit |
22 | 37 | ##//param4//## |
23 | | - optional fourth integer parameter, contains value to be set on entry or value got on exit |
| 38 | + fourth integer parameter, contains value to be set on entry or value got on exit |
24 | 39 | ##//param//## |
25 | | - optional string parameter, contains text to be set on entry or text got on exit |
| 40 | + string parameter, contains text to be set on entry or text got on exit |
26 | 41 |
|
27 | 42 | {{fbdoc item="desc"}} |
28 | 43 | This function can be used to set or get internal ""GfxLib"" states. The ##//what//## parameter specifies which operation to perform. On operations that set states, the ##//param*//## parameters must contain the values to be set. On operations that get states, ##//param*//## will hold the values returned by ""GfxLib"" when the function returns. |
|
0 commit comments