1
General / Re: Using the Mouse Wheel to Zoom
« Last post by bytebites on Today at 02:01:06 pm »sign(WheelDelta) tells the direction.
mnuMain is inI know, here is the unit I'm using for testing
components\ideintf\menuintf.pas
Already tested it, also with nil instead of mnuMain. I can't see the menu anywhere, I searched all the menus not only the root level.mnuMain is in
Lazarus 2.2 on windows 10.
Not tested, but tryAlready tested it, also with nil instead of mnuMain. I can't see the menu anywhere, I searched all the menus not only the root level.
Section:=RegisterIDESubMenu(mnuMain, 'MenuItemName' ,'MenuItemCaption');
It was the same friend, so this test was useless.I don't have a Windows which is able to access the Internet. So I sent a Windows version of my program to a friend an he ran it on a pure Windows 10 (no Virtual Machine), where it worked. This computer has local IP adress 192.168.178.20.That's not the same friend which has the FTP server by any chance?
Because then it's obvious that it worked.
It just connected internally
Thank you for that draft, it will help me.
Type TMyDummyClass = class(TObject) public class procedure OnStatus(etc. Etc cant look up the def now); end; //... class procedure TMyDummyClass.OnStatus(etc. Etc cant look up the def now); begin Writeln(logline); end; //... fTX.OnStatus := @TMyDummyClass.OnStatus;