| Last change
 on this file since 640 was             541, checked in by Kevin Toppenberg, 16 years ago | 
        
          | 
TMG Ver 1.1 Added HTML Support, better demographics editing
 | 
        
          | File size:
            579 bytes | 
      
      
| Rev | Line |  | 
|---|
| [541] | 1 | (* | 
|---|
|  | 2 |  | 
|---|
|  | 3 | This unit's purpose is to disable the FocusControl even if Enable_AutoFocusControl | 
|---|
|  | 4 | is defined in EWB.inc. | 
|---|
|  | 5 |  | 
|---|
|  | 6 | EwbControl.FocusControl is activated in the initialization section of the | 
|---|
|  | 7 | EmbeddedWB unit. | 
|---|
|  | 8 | To disable it, put this unit before the first form | 
|---|
|  | 9 | unit in your DPR 'uses' clause. | 
|---|
|  | 10 |  | 
|---|
|  | 11 | Example: | 
|---|
|  | 12 |  | 
|---|
|  | 13 | program Project1; | 
|---|
|  | 14 |  | 
|---|
|  | 15 | uses | 
|---|
|  | 16 | //.. | 
|---|
|  | 17 | EWBDisableFocusControl, | 
|---|
|  | 18 | Forms, | 
|---|
|  | 19 | Unit1 in 'Unit1.pas' {Form1}; | 
|---|
|  | 20 | //.. | 
|---|
|  | 21 |  | 
|---|
|  | 22 | *) | 
|---|
|  | 23 |  | 
|---|
|  | 24 | unit EWBDisableFocusControl; | 
|---|
|  | 25 |  | 
|---|
|  | 26 | interface | 
|---|
|  | 27 |  | 
|---|
|  | 28 | uses | 
|---|
|  | 29 | EwbFocusControl; | 
|---|
|  | 30 |  | 
|---|
|  | 31 | implementation | 
|---|
|  | 32 |  | 
|---|
|  | 33 | initialization | 
|---|
|  | 34 | EWBEnableFocusControl := False; | 
|---|
|  | 35 |  | 
|---|
|  | 36 | end. | 
|---|
       
      
  Note:
 See   
TracBrowser
 for help on using the repository browser.