In HTML5 Builder, how can I change the data transfer method of a form, from POST to GET? (I need my pages to have different addresses, but they all come as unit1, though have different content. In generated HTML - the form method defined as "POST". How to change it for GET (command line parameters)?
In HTML5 builder - how to change the FORM method from POST to GET?
To Sarina D.
Dear Sarina,
Sorry to write you at this way, i tis not possible to post comment to Your article, I guess some bug at the website.
May i ask if You could update this article, with:
1. How could we draw a continues line with when the location info is changing (user is moving), like a tracking thing?
2. How could we add a small image in the marker?
3. How could we cache a given size area of the map, so it could be used even offline?
BIG BIG thank you for your time, kindness and help,
Moore
PS: personal dream : would be so great if an xample like this could have C++ Builder version too ? (I know that Delphi is very similar, but sometimes for an amateur like myself is pretty hard to "convert" between Delphi example and C++ Builder.
Android Splash Screen Image Orientation in Delphi
I am finally getting around to deploying an Android app. I have run into an issue with the splash screen images. Everything works, except the required splash images in Project/Options are landscape, but landscape images don't behave properly at runtime (position & scaling are all wrong). The visuals at runtime suggested that portrait images are actually required. So I went ahead and created portrait images, and renamed them to match the landscape file names (to fool the IDE, which won't allow portrait images). The portrait images work perfectly.
So... could I be doing something wrong to cause this problem, or is this a known issue? It's weird because the specs in the Android docs match the requirements of the Delphi IDE, so it appears to me that the IDE is just doing what it is supposed to do. Which leads me to believe that I am missing something very basic. But the behavior at runtime suggests otherwise.
Any brief explanation would be greatly appreciated.
STL's string could not allocate memory
Dear all, Good day or night! Did anyone have troubles with memory allocation for std::string? Actually this could happen with any other type, not a string only. This happens when I take a substring (substr method). It worked all the time on taking substrings from millions or billions of strings, but now it could not and a kind of memory allocation error appears. The arguments are ok, no problems from this part. My program is constantly increasing the number of objects involved in it. And now when I started to add more objects this error happened. For the time being I'm not using multithreading and in memory my program took around 1.8 GB. Computer's parameters are: Physical memory (available): 26239 MB, Number of CPUs: 24, . With such configuration memory allocation should not be a problem at all. Maybe I should use multithreading in order to solve this problem? Thank you in advance for any help or suggestion. Regards, Bakhtiyar
Why has Delphi Starter dissapeared after I installed C++ Builder Berlin Update 1 Professional?
The installer removed the Delphi personality from the IDE, something which I actually needed to recompile the third party components I use! I don't know how to use command compiler.
Why does it remove an installed option? It placed a RAD Studio icon on my desktop, but says Delphi Personality not installed.
If I use the Platforms and Extensions manager, Delphi no longer appears?
I have spent 2 days trying to get a solution, completely uninstalling RAD Studio, and then installing Delphi Starter to try compile components, then removing RAD Studio to install C++Builder professional, and then failing to install .dpk because Delphi not installed!
ARRRRGGGHHH!
VLC.Grids.pas Delphi Seatlle
I have the license of Delphi Seatle, and converting our Delphi 7 project, I am having problems with StringGrid where it does not keep the columns in size that is in the project, it always changes at run time to the value set as default .
App tethering connection problem
I am working on app tethering. I tried an example from Malcolm Groves Blog www.malcolmgroves.com/blog/?p=1854. I set up the two programs as he described using app1 and app2, both running Windows32, and tried to connect using the Network property, a common group name and AutoConnect. Everything compiles fine. I am running the two programs next to each other. When I push the connect button, nothing happens. I get the device labels, but not the connect label. Here is the code for app1: I am using Berlin 10.1 on a Dell computer working with Windows 10. I have made an application for my Android smartphone that works great with a controller in a VR setup. I have a Windows program that also compiles fine that is designed to collect data from the Android. I tried both network and bluetooth autoconnect. I cannot connect the two, so I went to this basic setup example. Thanks for any suggestions.
STL's string could not allocate memory
Dear all, Good day or night! Did anyone have troubles with memory allocation for std::string? Actually this could happen with any other type, not a string only. This happens when I take a substring (substr method). It worked all the time on taking substrings from millions or billions of strings, but now it could not and a kind of memory allocation error appears. The arguments are ok, no problems from this part. My program is constantly increasing the number of objects involved in it. And now when I started to add more objects this error happened. For the time being I'm not using multithreading and in memory my program took around 1.8 GB. Computer's parameters are: Physical memory (available): 26239 MB, Number of CPUs: 24. With such configuration memory allocation should not be a problem at all. Maybe I should use multithreading in order to solve this problem? Thank you in advance for any help or suggestion. Regards, Bakhtiyar
How to relocate Delphi Berlin 10.1 from C to D
How to relocate Delphi Berlin 10.1 from C to D, my D Drive is SSD ?
Thanks
Anybody knows how to create an "Enhancement module" for 10.1 Berlin's Editor?
Hello,
The IDE's Help mentions "Enhancement modules" that can define keystrokes. I would like to create a custom one, but have searched all of Berlin's Help as well as the Web and could not find HOW to do that. Does anybody have an idea?
Many thanks for your input!
Delphi Berlin manually added version info not used
Hi,
When I manually add an entry into the versioninfo and build the application that specific entry is not visible anymore in some cases
Examples: I added the key TEST
if I add the number 1 as a value it doesn't show up in the executable
if I add the value 01 it does show up
We are using manually added entries to keep track of specific information for our dynamic plugin system, for this we use a couple of entries that all consist of a single digit entry. They now get lost once the DLL us build
E2003 Undeklarierter Bezeichner: 'Synchronize'S
E2003 Undeklarierter Bezeichner: 'Synchronize' what can i do
Best bluetooth gamepad for Delphia android app
Any suggestions on best gamepad for Android app. I need something that detects more Keys that 37-40 for directions. I want to also detect ABXY and any other buttons on the device for programming different functions.
Loss of platform choices
I had a one month trial of Architect. I then brought a licence for berlin10 professional. When I removed the Architect licence , I have no platforms to choose from. I get a “Compiler for personality "Delphi.Personality" and platform "Win32" missing or unavailable.” When I try to compile and the run menu is greyed out. I have check the licences on the licence manager and they seem ok. Can you please tell me why this has happened and how I correct. I would prefer not to have to ring if possible as I have very bad reception during the day. Bill Pope Bill Pope Pope Engineering Services Ltd Phone +64274840302 Email billpopenz@gmail.com
How to change IDE language
How to change IDE language of Delphi 10.Berlin
backing up and disaster recovery
How can we use a backup application such as Shadowprotect, Veeam, Backup Exec, Commvault etc and ensure our copy of the database files are crash consistent? Is XE7 volume shadow copy services aware? When the database must be available 24/7, the guardian service cannot be stopped/started for backups to run; is there a supported way of performing an incremental backup of XE7 databases in the same way a full backup can be obtained by invoking gbak.exe?
Delphi must connect with SAP Server
Good Morning.
I need to make my Rest Server connect to the SAP server, someone could guide me how to do this? Thank you.
TDBGrid Options AlwaysShowEditor error at project load and runtime
I use C++ Builder professional Berlin update 1 and have an error with TDBGrid control. Simply create a new C++ Builder VCL Forms application, drop on a TDBGrid and run it. Everything is fine. Save the project, then in the TDbgrid property editor, expand options, then check the AlwaysShowEditor in Options.
Now save, build and run. Error occurs
close project
reopen app, and it fails with invalid propertyOption and removes it from project.
just caused me a days work, and no cure!
RTTI on C++
Hello,
on the marked line will throw an exception. The same on Deplphi works well
#pragma hdrstop #pragma argsused #include #include #include #include // Enable RTTI generation for private fields #pragma explicit_rtti fields(private) typedef char TShortString[20]; class __declspec(delphirtti) TBuffer : public TObject { private: int wrHead, rdHead; TShortString name; // ... public: TBuffer() : wrHead(42), rdHead(43) { strcpy (name, "Buffer"); } }; // --------------------------------------------------------------------------- int _tmain(int argc, _TCHAR* argv[]) { TRttiContext context; TBuffer * buffer = new TBuffer; TRttiType* rttiType = context.GetType(buffer->ClassType()); TRttiInstanceType *cls2 = dynamic_cast(rttiType); DynamicArray fieldArray = cls2->GetDeclaredFields(); for (int i = 0; i < fieldArray.Length; i++) { TRttiField *field = fieldArray[i]; printf("Property name : '%S', ", field->Name); TValue value = field->GetValue(buffer); printf("kind : '%u', ", value.Kind); if (value.IsArray()) { for (i = 0; i < value.GetArrayLength(); i++) { TValue item = value.GetArrayElement(i); /// <<< exception } } else { //printf("type : '%S', ", field->FieldType->ToString()); printf("value: '%S'", value.ToString()); } printf("\n"); } delete buffer; return 0; }
Fatal error on first Mac OS X compiling
Hello,
I am running a trial version of 10.1 Berlin that I just installed.
Delphi for win32 is working fine.
However, if I try to compile ANY project for OS X (using my mac as a target), I get the following error : [dccosx Fatal Error] F2084 Internal Error: AV0DF5E0D7-R00000014-0
I get the same error even if I try to compile a blank/basic project.
First time I try to dev/compile cross-platform.
Any Ideas ?
Thanks,
Thibaud