I've posted a few photos on my The TIndex Google+ page from the recent #XE7 preview events held in Australia last week. There's about 20 photos split over 5 posts. Lachlan Gemmell
Posts
Showing posts from August, 2014
A rather common question on StackOverflow, the Delphi newsgroups and elsewhere is how to display a drop down menu when the user presses a button.
- Get link
- X
- Other Apps
Are Delphi programmers happier than programmers using other languages?
- Get link
- X
- Other Apps
Need help trying to debug a ToolsAPI add-on that I am trying to write for Delphi XE on Windows 7. Every time I try to step through my code, BDS.exe gets killed and my web browser gets sent to http://www.embarcadero.com/product-validation-error :(
- Get link
- X
- Other Apps
Need help trying to debug a ToolsAPI add-on that I am trying to write for Delphi XE on Windows 7. Every time I try to step through my code, BDS.exe gets killed and my web browser gets sent to http://www.embarcadero.com/product-validation-error :( Checking out the common solutions doesn't help, except that the certificate it has is close to the one on the common solution page (mine has the dates the following day but the link is no good, as it is for Window XP). I do have a legit version of Delphi XE (used to be able to debug ToolsAPI add-ons that I wrote) and I wasn't part of the XE3 (or any other version) testing. If I am not debugging a ToolsAPI add-on, all is fine. Things I have tried, without any change (obviously, otherwise I wouldn't be asking here): * Removing DDevEntensions and IDEFixPack * Removing the latest unstable CnPack * Un-installing a number of Windows Updates (just in case) Any suggestions? I have been battling with this for the last four days :-(
Generators.
- Get link
- X
- Other Apps
Generators. generator Fib(max: integer): integer; //returns a IEnumerable var i: integer; last, current, temp: integer; begin last := 1; current := 1; if max >= 1 then yield 1; if max >= 2 then yield 1; for i := 3 to max do begin temp := last + current; yield temp; last := current; current := temp; end; end;
Slicing, like Python can do.
- Get link
- X
- Other Apps
Slicing, like Python can do. Sub-arrays: mySubArray := myArray[3..5]; String manipulation: //removes first and last character, useful for removing parens or brackets function UnwrapString(const value: string): string; begin result := value[2..-1]; end; function StripFileExt(const filename: string): string; var ext: string; begin ext := ExtractFileExt(filename); if ext = '' then result := filename else result := filename[..-length(ext)]; end; And so on. There's all sorts of useful things you can do with slicing.
#VCL and #FireMonkey #multi-device development #RADStudioXE7 - See what's coming-take your apps to the next level -...
- Get link
- X
- Other Apps
#VCL and #FireMonkey #multi-device development #RADStudioXE7 - See what's coming-take your apps to the next level - http://buff.ly/1pcKD00
- Get link
- X
- Other Apps
Anyone know what's up with the links to the videos for the Developer Skill Sprints? Yesterday, David I said he had not yet posted the two latest, but there are very few linked on this page: http://www.embarcadero.com/resources/webinars, where most of the links are to the sign-up.
- Get link
- X
- Other Apps
Anyone know what's up with the links to the videos for the Developer Skill Sprints? Yesterday, David I said he had not yet posted the two latest, but there are very few linked on this page: http://www.embarcadero.com/resources/webinars , where most of the links are to the sign-up. Is there a different location for the links to replays?
TMS Day in Denmark on November 4th!
- Get link
- X
- Other Apps
TMS Day in Denmark on November 4th! We are excited to announce that Jens Fudge, Embarcadero MVP for Denmark, and TMS software are planning a TMS day in Denmark on November 4th. All day, sessions will be spent on TMS VCL components, TMS cloud components and TMS FireMonkey components with also sufficient session time allocated to handle your specific questions on TMS components. The sessions will be given by Bruno Fierens, Embarcadero MVP in Belgium and CTO from tmssoftware.com . For more information : http://www.tmssoftware.com/site/blog.asp?post=293 http://www.tmssoftware.com/site/blog.asp?post=293
Blog post "RAD Studio Tech Preview Webinar on September 4" at http://blog.
- Get link
- X
- Other Apps
Suddenly my XE5 lost is VCL capatibilite!
- Get link
- X
- Other Apps
Suddenly my XE5 lost is VCL capatibilite! Weird... I dont want to remove it as I tried to reinstall and fix installation but it did not solved. I cannot create a new VCL application (Menu does not show any option) and that applications that already exists dont show any TForm descendent, but I can compile and it runs fine. Any clue?
- Get link
- X
- Other Apps
Suddenly my XE5 lost is VCL capatibilite! Weird... I dont want to remove it as I tried to reinstall and fix installation but it did not solved. I cannot create a new VCL application (Menu does not show any option) and that applications that already exists dont show any TForm descendent, but I can compile and it runs fine. Any clue?
So, anyone used Delphi's REST library against Google's API (GMail in my case)?
- Get link
- X
- Other Apps
Does anyone know how to download the attachment ( or downloadable link)
- Get link
- X
- Other Apps
So where can I go to pester some Indy devs these days?
- Get link
- X
- Other Apps
FindFirstFile('bla??.dbf', ...) returns a file called 'bla08.blub.dbf'
- Get link
- X
- Other Apps
Why can I have a local variable in a method that out-scopes a class property without a hint or warning?
- Get link
- X
- Other Apps
Why can I have a local variable in a method that out-scopes a class property without a hint or warning? One thing is allowing name overlaps for method parameters, but for local variables - does that even make sense? type TBadClass = class private FValue: Integer; procedure SetValue(const Value: Integer); public procedure CheckValue; property Value: Integer read FValue write SetValue; end; procedure TBadClass.SetValue(const Value: Integer); begin FValue := Value; end; procedure TBadClass.CheckValue; var Value: Integer; begin Value := 1; Writeln('Value ', Value); Writeln('Self ', Self.Value); Self.Value := 2; Writeln('Value ', Value); Writeln('Self ', Self.Value); end; Output is Value 1 Self 0 Value 1 Self 2 #XE6
A new version of DDevExtensions 2.82 and IDE Fix Pack 5.7 has been released.
- Get link
- X
- Other Apps
A new version of DDevExtensions 2.82 and IDE Fix Pack 5.7 has been released. DDevExtensions 2.82 adds the option to disable "alpha-sort class completion" and IDE Fix Pack increases the max. number of resources per binary from 3626 to 65534. http://andy.jgknet.de/blog/2014/08/ddevextensions-2-82-and-ide-fix-pack-5-7-released/
Does anyone know how to clear a FireMonkey TBitmap to completely transparent? BMP.Clear(TAlphaColorRec.Alpha) gives me a black image when it's drawn onscreen (eg to a paintbox, PaintBox1.Canvas.DrawBitmap(BMP ImageSrcRect, ImageDstRect, 1).
- Get link
- X
- Other Apps
Does anyone know how to clear a FireMonkey TBitmap to completely transparent? BMP.Clear(TAlphaColorRec.Alpha) gives me a black image when it's drawn onscreen (eg to a paintbox, PaintBox1.Canvas.DrawBitmap(BMP ImageSrcRect, ImageDstRect, 1). At the moment I'm using the above code to clear to White, which works, but there's no guarantee that really is the correct background colour. I'd actually much prefer the un-drawn-on bits remain transparent anyway.
Today, fine people, I present to you what I believe to be the biggest example of WTF code in the history of WTF code.
- Get link
- X
- Other Apps
Today, fine people, I present to you what I believe to be the biggest example of WTF code in the history of WTF code. Correct me if I am wrong, but this code merely fills an array with 0 to 255: procedure PPLoadSQLCollation(cn : ADOWEConnection = nil); var ss : AnsiString; rs : ADSRecordset; iRA : OleVariant; ii, iPos : integer; begin if pArySQLCollation nil then Dispose(pArySQLCollation); pArySQLCollation := nil; if cn = nil then cn := GlobalADOConnection; Assert(cn nil); ss := 'declare @tbl table (iChr int) ' + crlf + 'declare @ii varchar(4000) ' + crlf + 'set @ii= 0 ' + crlf + 'while @ii 'begin ' + crlf + ' insert into @tbl values(@ii)'+ crlf + ' set @ii=@ii+ 1 ' + crlf + 'end ' + crlf + 'select * into dbo.TBL_ADS_CONFIG_SQL_COLLATION from @tbl'; TQueryRunner.ExecuteQueryNoMsg(ss,iRA, rs,cn); if TQueryRunner.ExecuteQu...
Following a recent post by A. Bouchez about an optimized CRC32 hash, I took it as an opportunity to re-run a small String Hashing Shootout on the worst hash function collision torture test I know: ZIP codes in UTF-16 (Delphi’s default String format).
- Get link
- X
- Other Apps
Following a recent post by A. Bouchez about an optimized CRC32 hash, I took it as an opportunity to re-run a small String Hashing Shootout on the worst hash function collision torture test I know: ZIP codes in UTF-16 (Delphi’s default String format). CRC32 is just too good ... http://www.delphitools.info/2014/08/25/string-hashing-shootout
I have a few FireDAC questions that I've not been able to figure out from the docs.
- Get link
- X
- Other Apps
I have a few FireDAC questions that I've not been able to figure out from the docs. {1} Apparently you can use "MetaCurCatalog and MetaCurSchema" to avoid the Catalog and DBO prefixes when listing table names but I've not been able to find an example re how to code them {2} Similar issue with "APattern" (is the LIKE-pattern filtering table names) ~ I'd like a NOT pattern but once again would like an example {3} Using Metadata there is a term "ASchemaName" that I am not familiar with and would like to see if it applies and how to use it if so. Thx rb
I have a few FireDAC questions that I've not been able to figure out from the docs. {1} Apparently you can use "MetaCurCatalog and MetaCurSchema" to avoid the Catalog and DBO prefixes when listing table names but I've not been able to find an example re how to code them {2} Similar issue with "APattern" (is the LIKE-pattern filtering table names) ~ I'd like a NOT pattern but once again would like an example {3} Using Metadata there is a term "ASchemaName" that I am not familiar with and would like to see if it applies and how to use it if so. Thx rb
- Get link
- X
- Other Apps
I have a few FireDAC questions that I've not been able to figure out from the docs. {1} Apparently you can use "MetaCurCatalog and MetaCurSchema" to avoid the Catalog and DBO prefixes when listing table names but I've not been able to find an example re how to code them {2} Similar issue with "APattern" (is the LIKE-pattern filtering table names) ~ I'd like a NOT pattern but once again would like an example {3} Using Metadata there is a term "ASchemaName" that I am not familiar with and would like to see if it applies and how to use it if so. Thx rb
Preventing a dialog from closing while autocomplete is active » twm's blog
- Get link
- X
- Other Apps
New blog post : VCL Styles Utils – New Feature : Non Client Area Controls http://theroadtodelphi.wordpress.com/2014/08/24/vcl-styles-utils-new-feature-non-client-area-controls/
- Get link
- X
- Other Apps
I installed https://github.com/LaKraven/RADSplit on Delphi xe
- Get link
- X
- Other Apps
Should IDEFixPack fix the Win64 XE2-XE5 bug QC 123165 where the compiler doesn't output the relocation table for Win64 EXE files despite what is set via {$SETPEFLAGS} ?
- Get link
- X
- Other Apps
Should IDEFixPack fix the Win64 XE2-XE5 bug QC 123165 where the compiler doesn't output the relocation table for Win64 EXE files despite what is set via {$SETPEFLAGS} ? It would mean that the IDEFixPack has an impact on the generated EXE file "content". On the other side the compiler then would work like XE6's Win64 compiler. http://qc.embarcadero.com/wc/qcmain.aspx?d=123165
Anyone had problems in XE6 with changing the base form that lots of other forms inherit from?
- Get link
- X
- Other Apps
Anyone had problems in XE6 with changing the base form that lots of other forms inherit from? I made one change and some but not all of the child forms have now had one of their components removed from the form. It is very annoying as it is the back button. Plus the align in my bottom toolbar is not working correctly. I have two buttons one aligned left the other aligned right. Now the back button is attempting to disappear the button I have aligned right is now on the left and it is set align right. What the hell is going on?
- Get link
- X
- Other Apps
Anyone had problems in XE6 with changing the base form that lots of other forms inherit from? I made one change and some but not all of the child forms have now had one of their components removed from the form. It is very annoying as it is the back button. Plus the align in my bottom toolbar is not working correctly. I have two buttons one aligned left the other aligned right. Now the back button is attempting to disappear the button I have aligned right is now on the left and it is set align right. What the hell is going on?
The more I use interfaces, the more I wish for inbuilt weak interface references. Ie, an interface reference that doesn't change the refcount, to avoid circular references.
- Get link
- X
- Other Apps
The more I use interfaces, the more I wish for inbuilt weak interface references. Ie, an interface reference that doesn't change the refcount, to avoid circular references. Anyone else? Right now I hack it - there are a few different methods if you Google - but it would be very nice to have it inbuilt in the compiler.
Simple Parallel Framework in XE7?
- Get link
- X
- Other Apps
Simple Parallel Framework in XE7? I notice in the Appmethods road map ( http://goo.gl/H5UhWK ) they say there will be a, "complete and simplified parallel computing library, to take advantage of modern multi-core CPUs more easily" coming in 2014 . This is earlier than previously stated in the April 2014 road map for Delphi ( http://goo.gl/zMmi6P ). Let's hope it's included in XE7!! #xe7 #parallel #multicore
Every time I remove a with statement from a snippet of code in my mind I can hear a crowd cheering.
- Get link
- X
- Other Apps
Originally shared by Marjan Venema
- Get link
- X
- Other Apps
Originally shared by Marjan Venema How to store enums without losing your coding freedom Enums are nice! You have found out about enumeration types and you clearly see the advantages they hold over plain, tired, old integers. They are specific, self documenting, type safe – you can’t pass one type of enum when another is expected. Oh yes, you… http://softwareonastring.com/2014/08/17/how-to-store-enums-without-losing-your-coding-freedom
this link show my Application Suite entirely realized in Xe5 an then recompiled in Xe6
- Get link
- X
- Other Apps
Originally shared by Boian Mitov
- Get link
- X
- Other Apps
Originally shared by Boian Mitov Facebook adds rejected this screenshot image because it has more than 20% text in it This is a screenshot of demo application with gauges. Very curious how you can have a gauge without text on it :-D http://mitov.com/system/imgs/26/original/ILCompositeComponentsSample.jpg?1311868224
ANN: HelpNDoc 4.5 is available - Import ePub eBooks and many enhancements
- Get link
- X
- Other Apps
ANN: HelpNDoc 4.5 is available - Import ePub eBooks and many enhancements Fellow Delphi developers, This is with great pleasure that we announce the immediate availability of HelpNDoc 4.5, an easy to use yet powerful help authoring tool producing CHM help files, HTML or mobile WebSites, DocX and PDF manuals as well as ePub and Kindle eBooks from a single source. HelpNDoc is Free for personal use and evaluation purposes and is available at: http://www.helpndoc.com HelpNDoc 4.5 is now able to import ePub files, can optionally disable PDF bookmarks, and fixes various problems including content saving for East-European and Asian systems. You can learn more about this update at: http://www.helpndoc.com/news/2014-08-20-epub-importer-multiple-enhancements-and-fixes-helpndoc-45 Download HelpNDoc now and use it for free for personal and evaluation purposes: http://www.helpndoc.com See our step-by-step video guides to learn how to use HelpNDoc: http://youtu.be/u1XVAR985g8?list=PLe52dEok5gAlrGpJ9...
Originally shared by Boian Mitov
- Get link
- X
- Other Apps
Originally shared by Boian Mitov I will be a speaker at the PasCon conference in Leiden - Netherlands The topic is: Unleash the hidden power of Delphi! Using attributes, advanced RTTI, functional programming, multithreading, parallel processing, and GP GPU in your Delphi code. I hope we can meet there :-) http://www.blaisepascal.eu/index.php?actie=DucthPascon/Info2014 http://www.blaisepascal.eu/index.php?actie=DucthPascon/Info2014
Does anybody know where JWAPI is hosted and maintained?
- Get link
- X
- Other Apps
Does anybody know where JWAPI is hosted and maintained? The last commit on http://sourceforge.net/p/jedi-apilib/code/commit_browser tells [r1115] JWA and JEDI repo were moved. There are some other sources on https://code.google.com/p/delphi-code-coverage/source/detail?r=179 and https://github.com/ccy/jedi-apilib yet it is unclear where the maintained one is. http://sourceforge.net/p/jedi-apilib/code/commit_browser
BMP Buffer Overflow hotfix - Delphi, C++Builder, RAD Studio XE6 available from http://cc.embarcadero.com/Item/29913
- Get link
- X
- Other Apps
We're happy to announce TMS XData v1.0, a Delphi framework for multi-tier REST/JSON HTTP/HTTPS application server development and ORM remoting.: http://www.tmssoftware.com/site/xdata.asp
- Get link
- X
- Other Apps
We're happy to announce TMS XData v1.0, a Delphi framework for multi-tier REST/JSON HTTP/HTTPS application server development and ORM remoting.: http://www.tmssoftware.com/site/xdata.asp Features: - Server based on REST/JSON architecture style - Easily accessible from different client platforms like .NET, Java, JavaScript, since it's REST/JSON based - Uses standard POST, GET, PUT and DELETE HTTP methods for data request and data modification operations - Partial update of objects (PATCH) - Full-featured query mechanism - Well-defined JSON representation of resources including entities, associations, streams and proxies - Support for streams (blobs) - Several databases supported in back end: SQL Server, MySQL, PostgreSQL, Oracle, Firebird, etc.. (through TMS Aurelius) - Design based on standard OData protocol http://www.tmssoftware.com/site/xdata.asp
Up and running on XE6 Update 1.
- Get link
- X
- Other Apps
Up and running on XE6 Update 1. - No new hints or warnings. - One code incompatibility with XE5 found in the uses statement: {$if compilerversion >= 27} System.JSON, // XE6 and upwards {$else} Data.DBXJSON, // XE5 {$endif} So far, so good. It's the smoothest Delphi upgrade yet. Almost too easy... what can go wrong? ;)
I'm doing a demo app to show to the business next monday (aug 25) on the iPad with Delphi XE6. It's looking good, and I think it's good enough for the demo. It's also reading and writing from SQLite. However, I want to improve it so that it's got some more bells and whistles. I want to get TMS controls Fmx controls for iOS and Android and I may eventually get around to buying them. I was hoping though, that we get funding to purchase all the neat components.
- Get link
- X
- Other Apps
I'm doing a demo app to show to the business next monday (aug 25) on the iPad with Delphi XE6. It's looking good, and I think it's good enough for the demo. It's also reading and writing from SQLite. However, I want to improve it so that it's got some more bells and whistles. I want to get TMS controls Fmx controls for iOS and Android and I may eventually get around to buying them. I was hoping though, that we get funding to purchase all the neat components. Anyone know of any free FMX components that I could use in the meantime to add some pizzaz? I was thinking about edit mask controls, and that edit box that has the x on the right side to clear the contents of the box (is that an iOS only feature?). I'm new to mobile development, so bear with me.
What unit testing frameworks do people use?
- Get link
- X
- Other Apps
What unit testing frameworks do people use? The ones I know of are: * DUnit - Comes with Delphi but, to me, seems to be a bit dated these days * DUnit2 - A step up from DUnit but still seems to be a bit dated and doesn't seem to be maintained (currently preferred) * DUnitX - Maturing quickly but lacking a GUI front end (I think) Add-ons: * DUnitLite - add-on for DUnit * DelphiSpec - behaviour driven development based upon Cucumber and Gherkin - add-on for DUnit and DUnitX * dBehave - behaviour driven development - old and not maintained What other frameworks/add-ons are out there? And do you use it?
Why the hell is the Delphi help littered with C++? Over half the time I can't find the proper Delphi entry due to the C++ stuff.
- Get link
- X
- Other Apps
Why the hell is the Delphi help littered with C++? Over half the time I can't find the proper Delphi entry due to the C++ stuff. I realize that it's useful for the folks using C++ Builder to have the Delphi help, but given the current state I'd rather have F1 do a google search restricted to docwiki than try to look up in the near-usless help files.
http://blog.synopse.info/post/2014/08/16/Will-WebSockets-replace-HTTP-Do-they-scale
- Get link
- X
- Other Apps
Official release of CnPack 1.0.3.672 for XE6 (for all those that don't like to run the nightly build version) - http://www.cnpack.org/
- Get link
- X
- Other Apps
I just added the following OnClose handler to my application's main form:
- Get link
- X
- Other Apps
I just added the following OnClose handler to my application's main form: procedure TMyForm.FormClose(Sender: TObject; var Action: TCloseAction); begin Action := caMinimize; end; But when I press the close button, the form does not minimize but the application terminates. WTF? Here is the code from VCL.Forms that causes this: procedure TCustomForm.Close; var CloseAction: TCloseAction; begin // ... DoClose(CloseAction); if CloseAction caNone then if Application.MainForm = Self then Application.Terminate // ... end; When was this introduced? Or was it always the case that no matter what CloseAction you return from OnFormClose of your main form, if it's not caNone, the application terminates?
I know there must be some people here using Axolot's XLSReadWriteII4 component. I am struggling with an error, and so far making no progress.
- Get link
- X
- Other Apps
I know there must be some people here using Axolot's XLSReadWriteII4 component. I am struggling with an error, and so far making no progress. Intermittently, I get an error when writing the file. The component throws an exception in its Write() method, while trying to write record #23 -- always #23 -- which is an SST (shared string table) record. My module offers many options for the user to select what is wanted in the sheet. The error seems to occur most often after options have been changed. But the worksheet which suffers the error is coded to use sets or options, and an array of DB column names, such that, in the end, the options only affect set membership. I do not want to go deep diving into the vendor's code. It's painful, and quickly becomes so specific to issues of the Excel file format that it would become a rather massive project. Any thoughts?
A request for an OnEdit event on TDBEdit (and probably other DB controls)
- Get link
- X
- Other Apps
method Something; overload; virtual; abstract; and Deprecated
- Get link
- X
- Other Apps
method Something; overload; virtual; abstract; and Deprecated overload; virtual; abstract; deprecated; deprecated; overload; virtual; abstract; overload; deprecated; virtual; abstract; [dcc32 Error] : E2169 Field definition not allowed after methods or properties Fortunately, overload; virtual; deprecated; abstract; works :) I am sure there is logic in there, and that someone will tell me about it :)
Short blogpost about these groups for proliferation through Delphifeeds.
- Get link
- X
- Other Apps
Has anyone been able to get the JWA (and probably also JWSCL) to work with XE6 dcc64? For the JWA I need the JwaWindows from the JediApi_DynamicRelease
- Get link
- X
- Other Apps
Thomas Mueller fix to "EditorLineEnds.ttr" Bug. It's working very well. If only Embarcadero can release patch as fast as him.
- Get link
- X
- Other Apps
arghhh...I was doing a search all files/pjects for something...but somehow stuffed that up...and its busy searching and finding the letter i
- Get link
- X
- Other Apps
"Splash Screen" an old and tired requirement, I know.
- Get link
- X
- Other Apps
"Splash Screen" an old and tired requirement, I know. I'm looking to implement a different one than the conventional method of placing a timer on the Form and toggling it to activate after X seconds. I could have sworn, that I saw a cooler method, that I believe used AfterCreate and some magic. I had thought it was from François Piette , but I couldn't find it anywhere. Not really showing up in Google. Anyone have a clever method for displaying a "splash screen" without a timer? I ask, because I've never liked the Timer method and sometimes it doesn't paint the window fully.
"Splash Screen" an old and tired requirement, I know. I'm looking to implement a different one than the conventional method of placing a timer on the Form and toggling it to activate after X seconds.
- Get link
- X
- Other Apps
"Splash Screen" an old and tired requirement, I know. I'm looking to implement a different one than the conventional method of placing a timer on the Form and toggling it to activate after X seconds. I could have sworn, that I saw a cooler method, that I believe used AfterCreate and some magic. I had thought it was from François Piette , but I couldn't find it anywhere. Not really showing up in Google. Anyone have a clever method for displaying a "splash screen" without a timer? I ask, because I've never liked the Timer method and sometimes it doesn't paint the window fully.
In Delphi XE it'll EAbstractError on the selected line:
- Get link
- X
- Other Apps
In Delphi XE it'll EAbstractError on the selected line: [code] program Test071; {$APPTYPE CONSOLE} uses SysUtils; type TBaseClass = class public procedure Test; virtual; abstract; end; TMyClass = class(TBaseClass) public procedure Test; override; end; { TMyClass } procedure TMyClass.Test; begin inherited; inherited Test; // end; { TestProc } procedure TestProc; var LMyClass: TMyClass; begin LMyClass := TMyClass.Create; try LMyClass.Test; finally LMyClass.Free; end; end; begin try TestProc; except on E: Exception do Writeln(E.ClassName, ': ', E.Message); end; end. [/code] The 1st line will not compiled but the second yes (simply jumping to System._AbstractError); Is it fixed in XE6? :)
http://wiert.me/2011/09/29/editorlineends-ttr-what-is-it/ Jeroen Wiert Pluimers Do you have the solution for this already? I recently encountered this using Delphi 2007
- Get link
- X
- Other Apps
Hello everybody
- Get link
- X
- Other Apps
Hello everybody, I seem to have a total blackout.... :-( Can someone send me a link to a how-to in which is described, how I can get an object that I have defined in an extra unit to be used in different Forms. Now I want to set and get properties from an object created in my mainform in different subforms. Seems like I am missing something there. I just need a place where I can read into it. Thanks in advance.
Im trying to use xe6 rest client, rest response, and ultimately datasetapater to move rest reponce into table. My repsonse is json and consist of multiple checks with multiple lineitems in them ( thin restaurant resciept) . A single check looks like the blow Json. I want and need only the lineItems. But everything i have tried returns the checks and lineitesm which them results in only the checks getting in to the table. I thought if i add rootelement=eleememts it might help and it accepts that but still returs checks also. I tired rootelemen=lineItems and everything else i could think of. How would I go about getting the lineItems into their own tdataset or a response that is lineitems only? Please..
- Get link
- X
- Other Apps
Im trying to use xe6 rest client, rest response, and ultimately datasetapater to move rest reponce into table. My repsonse is json and consist of multiple checks with multiple lineitems in them ( thin restaurant resciept) . A single check looks like the blow Json. I want and need only the lineItems. But everything i have tried returns the checks and lineitesm which them results in only the checks getting in to the table. I thought if i add rootelement=eleememts it might help and it accepts that but still returs checks also. I tired rootelemen=lineItems and everything else i could think of. How would I go about getting the lineItems into their own tdataset or a response that is lineitems only? Please.. { "elements": [ { "href": " https://www.clover.com/v3/merchants/ANNM2S72V6HNW/orders/95XQ975HW8T1G ", "id": "95XQ975HW8T1G", "currency": "USD", "employee": { ...
Now mORMot can generate cross platform code for its clients!
- Get link
- X
- Other Apps
As suggested in the C++Builder Developers community, I introduce my project here in the hope that it will be useful for Delphi users as well.
- Get link
- X
- Other Apps
As suggested in the C++Builder Developers community, I introduce my project here in the hope that it will be useful for Delphi users as well. Originally shared by Kaz Nishimura I am working on this project to extend the RAD Studio IDE so that RAD Studio users can use other version control systems than Subversion. The most of the code is written in C++ and I hope it could be seen as an example of how you can use the Tools API in C++Builder. Although the project is not complete yet, I will be glad if you make any comments or feedbacks for the project. https://plus.google.com/115580605088656543965
Trying to get DUnit2 to add some integration tests from files. Currently I have got DUnit2 to file the files and add tests accordingly. However, the tests are in this structure:
- Get link
- X
- Other Apps
Trying to get DUnit2 to add some integration tests from files. Currently I have got DUnit2 to file the files and add tests accordingly. However, the tests are in this structure: + My.exe +-+ Integration Tests +-+ File Name +- Test Procedure Name What I would like to do is for the test to run under "File Name" and not have the extra level of "Test Procedure Name". I have tried for the last couple of days without any success :( Is this possible with DUnit2?
New blog post http://theroadtodelphi.wordpress.com/2014/08/10/fix-to-conflict-between-the-delphi-dev-shell-tools-and-avg-antivirus/
- Get link
- X
- Other Apps
Animated Bar series transitions in #TeeChart Pro VCL and FMX.
- Get link
- X
- Other Apps
Animated Bar series transitions in #TeeChart Pro VCL and FMX. A new feature in the next coming TeeChart Pro update is a new TeeAnimation class to perform animated transitions between the different Bar series stacking styles. The link below provides a download of executable demos. http://steema.com/wp/blog/2014/08/10/animated-bar-series-transitions-vcl-and-fmx
Tprogressbar
- Get link
- X
- Other Apps
Tprogressbar no progress has been made there from delphi 2009 to XE6 in fact it slows down progress of the code big time (although if the routine that updates the tprogressbar is in a form onshow event, its fast...its just if that same code is executed once the form has been shown, its real slow...anyone else noticed this?
What component that allows us to do such thing? a small window that appears and disappears when you move the mouse.
- Get link
- X
- Other Apps
I think I just hit a wall regarding method overloading and inheritance.
- Get link
- X
- Other Apps
I think I just hit a wall regarding method overloading and inheritance. I want to hide ancestor constructors. This is only possible if I only have one new constructor because that one will hide all overloads of the ancestor. But when I introduce a second one and overload these two I also get all of the ancestor constructors in. :( Did I miss something?
Delphi XE2 IDE: EStackOverflow
- Get link
- X
- Other Apps
Delphi XE2 IDE: EStackOverflow When using the Ctrl-Shirt-Arrows at the declaration of a method, in order to UpArrow (see declaration) or DnArrow (see code). I started getting this error a few days ago. I have a hunch, it has something to do with a missing "{$ENDREGION}". But I haven't started to audit the code to look for it. It happens in multiple units, which is too bad, and makes me question this assumption. So I wanted to ask.. Anyone know of a trick to get rid of a EStackOverflow when using the Ctrl-Shift-Arrows? I'm running MMX and GEXPERTS v1.36.
#TeeChart Geographical GIS layers examples (for VCL and Firemonkey)
- Get link
- X
- Other Apps
OK group, another quick question/help If I may
- Get link
- X
- Other Apps
OK group, another quick question/help If I may I am having a problem with real numbers in my code i.e sometimes they are in the format 1.25343795e-311 i.e with the e- on the end... like some exponent...scientific notation and if I use str(thatnumber:2:1,mystring): mystring ends up with that e-311 in it..which I dont want whats the solution? thanks guys! (this seems to be something that is happening in XE6 that was not happening in Delphi 2009)
Hi again group
- Get link
- X
- Other Apps
Hi again group I notice in XE5/6 that the color setting for a tlabel does nothing (not the font color)...i.e the background color of the tlabel... in Delphi 2009 that works OK... what am I missing here,....how do I set the background colour of a tlabel? thanks! (I hope I dont need to individually style each one!)
Navigator map for TeeTree diagramming control. Sources and demos (VCL and Firemonkey):
- Get link
- X
- Other Apps
- Get link
- X
- Other Apps
Anybody know if the FastReport for Fmx supports iOS? I'm doing a demo of one of our utility programs that produces a Rave Report currently, but the report is simple enough to use FastReport. If not, then I could put the data in a memo box on the screen. Everything I've read suggest that FastReport for FMX only supports Windows and Mac
Recently I had to debug some JavaScript code that did not work correctly, when loaded into a Chromium Embedded frame in one of my applications. There is built-in support for the Developer Tools in Chrome, which is also available in Chromium Embedded.
- Get link
- X
- Other Apps
Recently I had to debug some JavaScript code that did not work correctly, when loaded into a Chromium Embedded frame in one of my applications. There is built-in support for the Developer Tools in Chrome, which is also available in Chromium Embedded. It’s actually quite simple: ... http://blog.dummzeuch.de/2014/08/06/enabling-the-developer-tools-in-delphi-chromium-embedded/
New blog post http://theroadtodelphi.wordpress.com/2014/08/06/vcl-styles-utils-new-feature/
- Get link
- X
- Other Apps
Hi Group, I have a projects with Delphi 5 use TntUnicode
- Get link
- X
- Other Apps
Hi Group, I have a projects with Delphi 5 use TntUnicode, And now, i build it in delphi 2010; but i have some problem with Unicode ( delphi 2010 suport Unicode, so i don't use TntUnicode Control ); First: How to replace 2 function WideCanvasTextExtent(TextBitmap.Canvas, Caption) ;WideCanvasTextOut(TextBitmap.Canvas,0,0,Caption); Else: GetText; SetText; IsCaptionStored ; in Controls units not be declared ;
ProcessMessages again
- Get link
- X
- Other Apps
ProcessMessages again The topic was brought up by Brian Hamilton a few posts below, and Dalija Prasnikar explained how code that is calling ProcessMessages is reentrant in two different ways. I had to deal with a ProcessMessages problem days ago, let me explain: Within a loop I create thumbnail images of all the samples in the current batch of samples. Each sample in the batch is loaded, the 3D image rendered, and the small bitmap copied out of the viewport and inserted into the larger bitmap, see picture. Viewport.InvalidateRect(Viewport.ClipRect); Viewport.Repaint; Application.ProcessMessages; Viewport.Context.CopyToBitmap(SmallBitmap, SmallRectangle); Without calling ProcessMessages, the Context will not be ready for CopyToBitmap. At least I did not find a better way of doing it. There is also a keyboard event handler in the application which triggers the thumbnail creation process when the user types a question mark. To complete the description, let me say that the viewport...
Blog post "August Series of Developer Skill Sprints" at http://blog.marcocantu.com/blog/2014_august_developer_skill_sprint.html
- Get link
- X
- Other Apps
Hi All!
- Get link
- X
- Other Apps
Hi All! I'm using Delphi XE. Given the next SOAP XML (copied the full XML here to fully understand my problem): [code] xmlns:env=" http://www.w3.org/2003/05/soap-envelope " xmlns:xs=" http://www.w3.org/2000/10/XMLSchema " xmlns:wsse=" http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd " xmlns:tt=" http://www.onvif.org/ver10/schema " xmlns:trt=" http://www.onvif.org/ver10/media/wsdl "> Profile1 VideoSourceConfiguration0_0 0 VideoSource0 AudioSourceConfiguration0 0 AudioSource0 VideoEncoderConfiguration0_0 0 MPEG4 1600 1200 50.0 10 1 6000 10 SP 0 Baseline IPv4 239.128.1.99 ::1 5560 0 false PT30M AudioEncoderConfiguration0 0 AMR 1...
Hi all
- Get link
- X
- Other Apps
Hi all Need a bit of help with TChart: I cant find where in the settings its putting a space before it starts plotting at the start and end of the graph (it seems to have appeared after upgrading from D9 to XE6 (if I drop a new tchart (pro) on the form,it does not appear...but I have tried to compare the settings but cant find it... so looking for some help I have a screen shot to show what I mean Maybe David you can help? thanks
msbuild - How can I overwrite a setting in a Delphi 2007 dproj file with an empty string? - Stack Overflow
- Get link
- X
- Other Apps
wow....I had read the discussion a while back about dont use application.processmessages...
- Get link
- X
- Other Apps
wow....I had read the discussion a while back about dont use application.processmessages... I had that in use in a loop for udating a label for when drawing a graph (tchartpro)....I removed that and just use label repaint..and wow the graph updates heaps faster...I was slowing down things dang, you learn something new every day
Copyright information inside Delphi EXE's. I just opened one of my Delphi EXE files in a hex editor and did a search for the word "Copyright". I found the following two references:
- Get link
- X
- Other Apps
Copyright information inside Delphi EXE's. I just opened one of my Delphi EXE files in a hex editor and did a search for the word "Copyright". I found the following two references: deflate 1.2.7 Copyright 1995-2012 Jean-loup Gailly and Mark Adler inflate 1.2.7 Copyright 1995-2012 Mark Adler I created a simple "Hello Word" program with just a label on a form and these copyright notices were not in the HelloWorld.exe file. Does anyone know what causes these copyright statements to be included in the Delphi EXE files?
unit Execute.AwesomeFMX;
- Get link
- X
- Other Apps
unit Execute.AwesomeFMX; { Awesome FMX for XE6 (c)2014 by Paul TOTH http://www.execute.re } interface uses System.Classes, System.Types, System.UITypes, FMX.Controls, FMX.Graphics, FMX.Types; type TAwesomeFMX = class(TControl) public constructor Create(AOwner: TComponent); override; procedure Paint; override; published property Position; property Width; property Height; end; procedure Register; implementation procedure Register; begin RegisterComponents('Execute.SARL', [TAwesomeFMX]); end; { TAwesomeFMX } constructor TAwesomeFMX.Create(AOwner: TComponent); begin inherited; Position.X := 20; Position.Y := 20; Width := 320; Height := 160; end; procedure TAwesomeFMX.Paint; var R: TRectF; begin R := LocalRect; Canvas.Stroke.Color := TAlphaColorRec.Black; Canvas.Stroke.Thickness := 4; Canvas.DrawRect(R, 0, 0, [], 1); Canvas.Font.Family := 'Arial'; Canvas.Font.Style := [TFontStyle.fsBold]; Canvas.Font.Size := ...
Hi
- Get link
- X
- Other Apps
Hi One thing that I find annoying with the IDE (still there in XE6) is using the find and replace if you highlight the code to be replaced...then change to from cursor then it says cant find it... repeat, and then you have lost that inserted to be replaced code from the highlight...re set that, then it flies anyone else see this problem?
Hello community, could help me make a exemplo of connexion
- Get link
- X
- Other Apps
Hello community, could help me make a exemplo of connexion delphi and advantage database server 7.1 (ADS), and i need to install if necessary. Status: * Server OS: Linux Dis: Centos 5.1 IP: 192.168.0.4 ADS: \ \ 192.168.0.4:2828 / sys_fiscal / sys_exemplo.add Usuer: ADSSYS Passw: 123456 * Computer where I schedule OS: windows 32bit Delphi Ver 7
Do you use TFireMonkeyContainer to embed FMX forms in your VCL forms? If so you might be interested in the latest updates: VCL drag/drop support, support for old FireMonkey versions reinstated, so it now works across XE2, XE3, XE4, XE5 and XE6; and a number of bug fixes and tweaks including improved C++ support.
- Get link
- X
- Other Apps
Do you use TFireMonkeyContainer to embed FMX forms in your VCL forms? If so you might be interested in the latest updates: VCL drag/drop support, support for old FireMonkey versions reinstated, so it now works across XE2, XE3, XE4, XE5 and XE6; and a number of bug fixes and tweaks including improved C++ support. http://parnassus.co/tfiremonkeycontainer-multiple-fmx-forms-dragdrop/ http://parnassus.co/tfiremonkeycontainer-multiple-fmx-forms-dragdrop
Official web site of ICS aka http://www.overbyte.be/ is back ! :-)
- Get link
- X
- Other Apps
Hi , I try to find out the indextype of an indexed parameter with RTTI.
- Get link
- X
- Other Apps