|
|
|
#1
|
|||
|
|||
|
Sorry to keep asking, but now I've got a Type Mismatch for the following lines:
<button>.OnMouseDown(@CommonButtonDown); <button>.OnMouseUp(@CommonButtonUp); It seems that OnMouseDown/OnMouseUp are both TMouseEventF whereas CommonButtonDown/Up is a procedure. Is this the cause of the error? Apologies for asking so much!
|
| Sponsored Links |
|
#2
|
||||
|
||||
|
Quote:
Code:
procedure OnMouseDown(Sender: TObject; Button: TMouseButton; Shift: TShiftState; X, Y: Single); begin // end; procedure OnMouseUp(Sender: TObject; Button: TMouseButton; Shift: TShiftState; X, Y: Single); begin // end; Code:
TMouseEventF = procedure(Sender: TObject; Button: TMouseButton; Shift: TShiftState; X, Y: Single); TMouseMoveEventF = procedure(Sender: TObject; Shift: TShiftState; X, Y: Single); TKeyEventF = procedure(Sender: TObject; var Key: Word; var KeyChar: WideChar; Shift: TShiftState); Last edited by hitman797; 06-10-2023 at 07:09. |
| The Following User Says Thank You to hitman797 For This Useful Post: | ||
audiofeel (06-10-2023) | ||
![]() |
| Thread Tools | Search this Thread |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Windows Fluent Effects Standalone API - InnoSetup / VCL / FXM | BLACKFIRE69 | Conversion Tutorials | 0 | 15-11-2023 17:35 |
| Windows Phone Installer similar to razor12911's original design? | Kitsune1982 | Conversion Tutorials | 0 | 02-07-2020 13:04 |
| INDEX - Conversion Tutorial Index | Razor12911 | Conversion Tutorials | 5 | 11-06-2020 02:05 |
| Frequently Asked Questions | Joe Forster/STA | PC Games - Frequently Asked Questions | 0 | 29-11-2005 09:48 |