| Last change
 on this file since 1784 was             541, checked in by Kevin Toppenberg, 16 years ago | 
        
          | 
TMG Ver 1.1 Added HTML Support, better demographics editing
 | 
        
          | File size:
            582 bytes | 
      
      
| Line |  | 
|---|
| 1 | (* | 
|---|
| 2 |  | 
|---|
| 3 | This unit's purpose is to disable the MouseWheelFix even if Enable_AutoMouseWheelFix | 
|---|
| 4 | is defined in EWB.inc. | 
|---|
| 5 |  | 
|---|
| 6 | EwbControl.MouseWheelFix 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 | EwbDisableMouseWheelFix, | 
|---|
| 18 | Forms, | 
|---|
| 19 | Unit1 in 'Unit1.pas' {Form1}; | 
|---|
| 20 | //.. | 
|---|
| 21 |  | 
|---|
| 22 | *) | 
|---|
| 23 |  | 
|---|
| 24 | unit EwbDisableMouseWheelFix; | 
|---|
| 25 |  | 
|---|
| 26 | interface | 
|---|
| 27 |  | 
|---|
| 28 | uses | 
|---|
| 29 | EWBMouseHook; | 
|---|
| 30 |  | 
|---|
| 31 | implementation | 
|---|
| 32 |  | 
|---|
| 33 | initialization | 
|---|
| 34 | EWBEnableMouseWheelFix := False; | 
|---|
| 35 |  | 
|---|
| 36 | end. | 
|---|
       
      
  Note:
 See   
TracBrowser
 for help on using the repository browser.