delphi-xe4

XE4 Deployment error

别来无恙 提交于 2019-11-30 16:28:44
Good afternoon all. Apologies if SO isn't the place to ask, I wasn't sure there was an 'errors stack exchange' or such, and whether or not any XE4 users would be visitors there. I'm currently trying out the XE4 trial, and I'm wanting to see just whether the iOS implementation is as easy as they made it look. I've got my remote profile all setup and working, and I've made a small application that only contains a progress bar. Now, when I deploy that application to the simulator, it runs on the iOS simulator as expected. However, when I try to deploy to a device, I get the following error; [DCC

XE4 Deployment error

泪湿孤枕 提交于 2019-11-30 16:25:56
问题 Good afternoon all. Apologies if SO isn't the place to ask, I wasn't sure there was an 'errors stack exchange' or such, and whether or not any XE4 users would be visitors there. I'm currently trying out the XE4 trial, and I'm wanting to see just whether the iOS implementation is as easy as they made it look. I've got my remote profile all setup and working, and I've made a small application that only contains a progress bar. Now, when I deploy that application to the simulator, it runs on the

MessageDlg with custom button captions in Delphi FireMonkey

a 夏天 提交于 2019-11-29 12:56:26
With VCL you can use CreateMessageDialog to generate a message dialog with custom button captions . With FMX CreateMessageDialog does not seem to exist anymore (since XE3). Is there a way to customize the button captions with FireMonkey other than rebuilding the message dialog from scratch? What I would like to be able is to call a function as described here : MessageDlg( 'Really quit application ?', mtWarning, [ButtonInfo(mbNo, 'Do&n''t save'), ButtonInfo(mbCancel, '&Cancel'), ButtonInfo(mbYes,'&Save')], mbYes ); In short, no. You don't have access to the actual dialog, like you do in VCL.

How to hide firemonkey application button from Taskbar (XE4)?

半腔热情 提交于 2019-11-29 08:46:28
According to this question it is possible to hide fmx taskbar icon by changing window style to WS_EX_TOOLWINDOW . In XE2 and XE3 this code works: uses FMX.Platform.Win, Winapi.Windows; procedure TForm1.Button1Click(Sender: TObject); var h:THandle; begin h := FmxHandleToHWND(Handle); ShowWindow(h, SW_HIDE); SetWindowLong(h, GWL_EXSTYLE, GetWindowLong(h, GWL_EXSTYLE) or WS_EX_TOOLWINDOW); ShowWindow(h, SW_SHOW); end; In XE4 this solution does not work (application button should become hidden but nothing happens). any body have any idea? Thanks. Steve Swallow Just tried this in XE7 and of course

MessageDlg with custom button captions in Delphi FireMonkey

前提是你 提交于 2019-11-28 06:44:48
问题 With VCL you can use CreateMessageDialog to generate a message dialog with custom button captions. With FMX CreateMessageDialog does not seem to exist anymore (since XE3). Is there a way to customize the button captions with FireMonkey other than rebuilding the message dialog from scratch? What I would like to be able is to call a function as described here: MessageDlg( 'Really quit application ?', mtWarning, [ButtonInfo(mbNo, 'Do&n''t save'), ButtonInfo(mbCancel, '&Cancel'), ButtonInfo(mbYes

How to hide firemonkey application button from Taskbar (XE4)?

╄→尐↘猪︶ㄣ 提交于 2019-11-28 02:06:19
问题 According to this question it is possible to hide fmx taskbar icon by changing window style to WS_EX_TOOLWINDOW . In XE2 and XE3 this code works: uses FMX.Platform.Win, Winapi.Windows; procedure TForm1.Button1Click(Sender: TObject); var h:THandle; begin h := FmxHandleToHWND(Handle); ShowWindow(h, SW_HIDE); SetWindowLong(h, GWL_EXSTYLE, GetWindowLong(h, GWL_EXSTYLE) or WS_EX_TOOLWINDOW); ShowWindow(h, SW_SHOW); end; In XE4 this solution does not work (application button should become hidden

WWW server reports error after POST Request by Internet Direct components in Delphi

北城余情 提交于 2019-11-27 05:33:38
I'm using Delphi XE4 and i usually use Indy with IdHttp.POST to POST request to websites, This time, whenever i try to POST the request i get Error: Your browser is not sending the correct data. I'm very sure that I'm POSTing the right data, and i'm using the IOHandler and CookieManager. Been dealing with this for days(literally) Here is the code(the site in the code): procedure TForm1.Button1Click(Sender: TObject); var s, lge, Kf1, Kf2, Kf3, Kf4 : String; lParam : TStringList; begin S := http.Get('https://www.neobux.com/m/l/'); Memo1.Lines.Add(S); getParamLge(s,lge,'lge'); GetInput(s,Kf1,'id=