Jump to content

limelect

Members
  • Content Count

    835
  • Joined

  • Last visited

  • Days Won

    1

Everything posted by limelect

  1. limelect

    webbrowser Google map script error

    I got a program , with main form , where webbrowser showing google map is working OK. NO java errors. Now make a new form , as the main !! , with a button showing the above form. frmMain.ShowModal; The webbrowser Map has a script error. On the net, there are a huge amount of solutions. Nonwork. Making wbrMaps.Silent := True; is not an option since it changes the behavior of the map because of the java errors. What I wonder is why the same form with google map on webbrouser when running as the MAIN form , no java errors, then run the form as a second form has java errors?. Can it be a compiler bug? The source has not changed on the form. A new comment it seems that the problem is different. On one application no errors. On another with webbroser on main script errors. For now i keep investigating. crazy as it sounds i duplicated the good application. Each time i added a component and i got a script error. I got to a point that i duplicated a good program with no errors and still i got an error. I would like to say that the good program dose nothing to the webbroser except load the url. I even duplicated the uses. So, for now, i keep looking for something i mise altogh i do not think so. Finally. I am amazed. I have the same 2 projects. I compared the dfm and the pas files. I deleted all unnecessary files, left only DPR. made sure both are the same. And found that exe both are6,374K both are debug. To conclude one gives me script error the other is OK. ANY idea what next? did i say crazy?
  2. limelect

    webbrowser Google map script error

    @Attila Kovacs I know about the switch in reg.di dnot try it yet. However so far i have tried chromiume which needs huge amount of DLL and the most promising is Delphi embedded WB. With it there is no error but running it with this link https://www.google.com/maps/search/?api=1&query=32.0782,34.8486 does not give the expected result. Map does not show properly. My other way is to open webbrowser with navOpenInNewWindow But my main problem is to understand why changing !!! DPR name, that is, one application works with no error the other has errors. It is crazy. I work with Delphi since #1 i never encounter such a thing.
  3. limelect

    webbrowser Google map script error

    I got to a point where i only change the DPR name and Delphi compile same size EXE different HEX content. Lastly, i check the behavior of my computer on 2 suppose to be the same programs
  4. limelect

    webbrowser Google map script error

    Ok guys final conclusion Mad 2 projects. did NOT copy directory but put dpr ONLY dfm and pas file in another directory. Compile and on the new program script error. Both programs are the same. Any idea? Both programs started with DPR only.
  5. limelect

    Detect user location from ip address

    I found this one to https://community.idera.com/developer-tools/b/blog/posts/what-is-my-ip-address
  6. limelect

    Detect user location from ip address

    Use that https://github.com/antoniojmsjr/IPGeoLocation
  7. I did it see If you need my sources for HEBREW (right to left) just send me your mail
  8. limelect

    paste into watch list

    10.2.3 dragging dose not work
  9. limelect

    paste into watch list

    OK i thought dragging will work ,since a drag icon is shown, but copping works. Nice.
  10. limelect

    paste into watch list

    @Attila Kovacs I did try. I took a few lines of code and moved them to watch list. Nothing. May be a special kind of lines?
  11. limelect

    paste into watch list

    @Attila Kovacs Using 10.2.3 and before i never remember that "you can paste code " in to watch list. what Dmitriy say is the only way. So if you have that possibility it is an experts. So can you elaborate on the expert?
  12. limelect

    Develop with IOS emulator

    Delphi 10.2.3 I wanted to start with IOS emulator 1. So i installed PAServer on C:\Program Files (x86)\Embarcadero\PAServer\19.0 2. I started it without a pass word As you can see i tested connection. And it fails. The port is OK on both side Ip is correct C on PAServer give me no client connection I checked with open port that this port is not taken. What else?
  13. limelect

    Develop with IOS emulator

    It seem to have the instruction https://www.itwriting.com/blog/4841-hands-on-with-delphi-xe2-for-apple-ios.html Thanks every body
  14. limelect

    Develop with IOS emulator

    @Sherlock I have no idea. How ever i just recalled (what stupid am i) I have an IPAD 4 dose it help to start? Can i just hook it to usb? I am an Android man from almost day 1 starting with eclipse so never used ios. (and Delphi from #1)
  15. limelect

    Develop with IOS emulator

    @Rollo62 In my family there are some old ios. Dose it matter if i get an old ios phone? to just start ? Communication with it is the same as Android or should i know more?
  16. limelect

    Develop with IOS emulator

    Thanks for my ignorance.
  17. limelect

    Develop with IOS emulator

    @Dave NottageCan't i do like Android just emulator for ios. I just have Window 7. If i can what am i missing to make it work?
  18. limelect

    Simple Android App Template

    Just a suggestion Have a look at many fmx projects it mite help https://github.com/FMXExpress/Cross-Platform-Samples
  19. limelect

    Just knowledge

    I am using this site for knowledge. http://aziga.x10.mx/delphi/index.php?option=com_content&view=article&id=28&Itemid=33 As you can see // call static function ShowMessage (JStringToString (TJSquareRoot.JavaClass.DisplayDescription)); a_square_root := TJSquareRoot.Create; a_square_root.precision := 3; ShowMessage (JStringToString (a_square_root.findSquareRoot (2))); first information then result. But i get first result then information. P.s there are some mistake in SquareRoot.pas on the site Any knowledge will help SquareRoot.jar
  20. limelect

    Just knowledge

    Ok found this http://docwiki.embarcadero.com/Libraries/Rio/en/FMX.Dialogs.ShowMessage ShowMessage Behaves Differently On Different Platforms On desktop platforms, ShowMessage behaves synchronously. The call finishes only when the user closes the dialog box. On mobile platforms, ShowMessage behaves asynchronously. The call finishes instantaneously, it does not wait for the user to close the dialog box. If you want to force a specific behavior across different platforms, use IFMXDialogServiceAsync.ShowMessageAsync or IFMXDialogServiceSync.ShowMessageSync from the FMX.Platform unit. That mite explain
  21. limelect

    Just knowledge

    I added for I := 0 to 3 do ShowMessage (inttostr(i)); and it start from 3 all the way up But why ? this is the basic question?
  22. limelect

    Just knowledge

    @ertank What you say that if i have 3 or 4 ShowMessage in the same procedure the last will show first ? I wander if this is the explanation. what you say that there is kind of a first in last out ? I need more of a theoretical information to be sure.
  23. limelect

    Just knowledge

    @Rollo62No only free. But still it should not matter. As i call ShowMessage (JStringToString (TJSquareRoot.JavaClass.DisplayDescription)); first. Should it not show first ? why do you think it matters? To make jar i used C:\Program Files\Java\jdk1.8.0_05\bin>jar. The Java2Pas i used the source in the demo. To dbl check i did my own and got the same result except that the demo added procedure RegisterTypes; begin TRegTypes.RegisterType ('SquareRoot.JSquareRoot', TypeInfo(SquareRoot.JSquareRoot)); end; initialization RegisterTypes;
  24. limelect

    Android Compiler Issue in Delphi Tokyo (10.2.3)

    @Dave NottageBy version i mean what ever is needed to change in my Delphi to some thing else. My Delphi works and is stable i am NOT going to change any thing to go into problems. This java should work on my system as on another. Like if i take normal pascal file ,no api or else inside, from ver 5-7 and compile it with 10+ it will compile with no problems. How about placing the java SOURCE here. I did dicompile DWWebChromeClient.class but it is better to have it work on ALL systems.
  25. limelect

    Android Compiler Issue in Delphi Tokyo (10.2.3)

    @Dave Nottagesee my last comments here https://github.com/DelphiWorlds/KastriFree/issues/36 If the jar is sensitive to version it is useless. Sorry.
×