Delphi XE7 update1 bugs: (Under FMX environment) 18. stringGrid: OnSelectCell event bug: after first triggering this event, once you move your mouse into this column this event will be triggered [No matter you move into visible or invisble area of this column) Drop a stringGrid into a Form, and create 2 column: StringColumn1, StringColumn2, and set RowCount:=100; procedure TForm1.StringGrid1SelectCell(Sender: TObject; const ACol, ARow: Integer; var CanSelect: Boolean); begin if StringGrid1.Columns[acol].Name='StringColumn1' then showmessage( 'StringColumn1'); end;
Delphi XE7 FMX: TStringGrid: OnSelectCell event bug
error rest
Hi All
After compiling my project in Delphi 10.1 this returned with the error TNETHTTP and components TREST returning message 'DATA ERROR' and 'resquest DATA ERROR'. (only IOS)
What to do ?
Thank's
Delphi Berlin with Android 4.0.3. How?
How to configure Delphi Berlin to Android 4.0.3?
delphi: how to implementat static receiver in android
int AndroidManifest.xml
like this:
receiver android:name="com.baidu.push.example.MyPushMessageReceiver"
intent-filter
action android:name="com.baidu.android.pushservice.action.MESSAGE"
Bug in VCL.Olectrls
Dear-Embarcadero-Team.
We found a bug concerning OnMouseMove in procedure TOleControl.StandardEvent - The MouseMove-Event only has 3 Arguments and due to a check on Args >=4 the code is not for MouseMove does not get executed. We checked olectrls from Delphi5 to XE6 and the problem exists in all versions.
Original Code:
DISPID_MOUSEDOWN, DISPID_MOUSEMOVE, DISPID_MOUSEUP:
if Params.cArgs >= 4 then
begin
X := Integer(Variant(Args^[3])) and 7;
Y := Integer(Variant(Args^[2])) and 7;
Button := ButtonMap[X];
Shift := ShiftMap[Y] + MouseMap[X];
X := Variant(Args^[1]);
Y := Variant(Args^[0]);
case DispID of
DISPID_MOUSEDOWN:
MouseDown(Button, Shift, X, Y);
DISPID_MOUSEMOVE:
MouseMove(Shift, X, Y);
DISPID_MOUSEUP:
MouseUp(Button, Shift, X, Y);
end;
end;
Working code (Code in bold was added/changed):
DISPID_MOUSEDOWN, DISPID_MOUSEMOVE, DISPID_MOUSEUP:
if Params.cArgs >= 3 then
begin
if Params.cArgs >3 then X := Integer(Variant(Args^[3])) and 7;
Y := Integer(Variant(Args^[2])) and 7;
Button := ButtonMap[X];
if DispID = DISPID_MOUSEMOVE then Shift := MouseMap[Y]
else Shift := ShiftMap[Y] + MouseMap[X];
X := Variant(Args^[1]);
Y := Variant(Args^[0]);
case DispID of
DISPID_MOUSEDOWN:
MouseDown(Button, Shift, X, Y);
DISPID_MOUSEMOVE:
MouseMove(Shift, X, Y);
DISPID_MOUSEUP:
MouseUp(Button, Shift, X, Y);
end;
end;
Exception TStaticListAction on change display resolution
Hello Embarcadero Team,
I am using Delphi XE8 Professional and meet with strange run-time exception. To reproduce this exception I created standard VCL form application with TActionToolBar. Toolbar contains TCustomActionCombo created from TStaticListAction (included 2 items - amount does not matter).
If I try to change resolution of display with this application the exception occurs:
Access violation at address 00407920 in module 'Project1.exe'. Read of address FFFFFFFD;
Invalid pointer operation.
Access violation at address 00000000 in module 'Project1.exe'. Read of address 00000000.
Help me pls to exclude this exception from application
Thank you an advance
M. Martynov
delphi: how to implementat static receiver on android
int AndroidManifest.xml
like this:
receiver android:name="com.baidu.push.example.MyPushMessageReceiver"
intent-filter
action android:name="com.baidu.android.pushservice.action.MESSAGE"
java code:
public class MyPushMessageReceiver extends PushMessageReceiver {
/** TAG to Log */
public static final String TAG = MyPushMessageReceiver.class
.getSimpleName();
public static String SRES;
......
BiDi support for Appmethod
Dear Firends,
I want to migrate from VCL to Appmethod cross-platform solution. but when I was test the Appmethod(or RAD Studio XE5), I gave that they does-not support BiDi.I want to know:
1.When do you think the Appmethod(or RAD Studio XE5) will support BiDi? (for Arabic, Hebrew, Persian or other languages that are right-to-left, Appmethod(or RAD Studio XE5) could-not a solution for starting or migrating to cross-platform. They have to search for another cross-platform solution that support BiDi).
2. I think, for a rapid response to these customers, At least, you should corrects the drawing of the characters, Regardless of full BiDi support. For explained the problem, I have an example here. The word "سلام" displayed like this "س ل ا م" at runtime. The first step could be this that Appmethod(or RAD Studio XE5) display the words correct(for my example, "سلام"), meanwhile they are displaying from left to right. It is cool for now.
3. The final solution are the somethings like VCL behavior.
Best Regards
Mehdy
BiDi RightToLeft support?
Hi,
Any news for BiDi RightToLeft support for Hebrew/Arabic on iOS and Android?
Thanks,
Asaf
TDSRestConnection TimeOut ENetHTTPClientException
Hello,
using a DataSnap REST Serve, when consuming a method that takes 30 seconds or more to return, the client application this exception occurs "ENetHTTPClientException".
Is there any TimeOut option to configure on TDSRestConnection?
Or some other solution?
Using Delphi 10 Seattle.
Thanks.
TeeChart for RAD Studio 10.1
The feature list for RAD Studio 10.1 indicates it includes TeeChart but it is not installed in the Tool Palette and I cannot find a design time package to install. The GetIt Manager doesn't list TeeChart as an option. What do I need to do to install TeeChart in RAD Stuation 10.1?
C++ Builder
Should dcc64 be installed as part of c++ Builder 10.1
dcc32 is present. and the tcc64.cfg file in in the bin folder.
This was available in previous versions.
Need so we ca build some third party delphi components. (treeview)
Installation done via web installer.
Also msbuild is not available from the RAD studio command prompt.
Posting here cause I can't login to create a support case...
sigh....
What options are available to use Delphi with Amazon DynamoDB ?
It seems that SimpleDB is deprecated, is Embarcadero working on the Amazon CloudAPI support for DynamoDB ?
Does anyone reading this have any experience with Delphi and DynamoDB ?
Thanks
delphi xe7 couldn't debug 64bit application
I installed XE7 under WIN 10, so debugging 32-bit programs is normal, but the 64 program, compile is set breakpoints, but it does not work .Idea I basically set are normal, check the DEBUG information are set up, .Personal thought is WIN10 permission problems
IPv6 Datasnap (IOS App)
At WWDC 2015 they announced the transition to IPv6-only network services in iOS 9. Starting June 1, 2016 all apps submitted to the App Store must support IPv6-only networking.
My IOS app have a IPv4 IP, im using a TDSRestConnection now in the Host property i set 2112:d8ac:64c4::d8bc:64c4 and say "error is socket error11004"
How i make my IOS app use IPv6
I use XE8, Datasnap Rest Server
TOpenDialog Seattle vs Berlin
Did something change to TOpenDialog between Seattle and Berlin editions (c++)? When I created an application in Rad Studio 10.0 (Seattle) the opendialog component displayed the Vista common dialog. I moved an application to Rad Sudio 10.1 (Berlin) and now all my file OpenDialog routines display the older common dialog. I see that in RS10.1 and RS10.0 that there is the FileOpenDialog but there is no option in there to assign a string filter in that component. I still have RS10.0 installed and it works as I expected. R10.1 doesn't. Thanks for any suggestions.
TSQLConnection DataSnap driver IPv6
In an App that I have build - which works fine on my iPhone (4G) and iPad (WiFi) - I'm using a TSQLConnection bound to the DataSnap driver. The driver settings has CommunicationIPVersion set to 'IP_IPv6', the protocol is set to 'https' and the hostname has the form of 'ahost.ondomain.nl'. For this project I'm using Delphi Seattle.
However, I can't get my project through the Apple App Store Review stage because at Apple they cannot connect to my application server within their IPv6 environment. The server where the application server resides is a IPv4 server. Could that be the problem or is there anything I can do within my application?
TRESTRequest error when downloading images
Hi,
I have an application that downloads images from a webroker app and this was working fine on Delphi Seattle, but when i tried to port it to Berlin, now i get an error.
"REST request failed: No mapping for the Unicode character exists in target multi-byte code page"
{Client side} JpegFile:=ExtractFilePath(ParamStr(0)+'badge.jpg'); LRestRequest.Timeout := 10000; LRestRequest.Params.Clear; LRestRequest.Resource:='GetImage'; LRestRequest.AddParameter('username','USR'); LRestRequest.AddParameter('password','PWD'); LRestRequest.AddParameter('EventID','E0000x'); LRestRequest.AddParameter('PhotoName','_Badge'); LRestRequest.Execute; if LRestResponse.StatusCode = 200 then begin FileStream:=TFileStream.Create(JpegFile, fmCreate or fmOpenWrite); try FileStream.WriteData(LRestResponse.RawBytes, Length(LRestResponse.RawBytes)); finally FileStream.DisposeOf; end; end; {Server side} var Image:String; begin Image:=ExtractFilePath(ParamStr(0)) + 'TestImage.jpg'; if FileExists(Image) then begin Response.ContentType:='image/jpg'; Response.ContentStream:=TFileStream.Create(Image ,fmOpenRead or fmShareDenyNone ); end else Response.StatusCode:=404;
is there any fix this?
Thanks
Mauricio Herrera
H
Hi !
I need create application for iOS/Android/Win10 that work with device by BLE. I opened examples but no one not about write characteristics ( only read). I need working code that connect to BLE device and read and write characteristics .
Please provide it.
Restricted count of records in FireDAC result to 50. Why ?
Delphi 10.1 Berlin I search a SQL db via FIREDAC . Problem : there is a restriction of max 50 records . What the hell ... ? Program was first developed with trial version. Any idea how to fix it ?