

Pat Foley
Members-
Content Count
418 -
Joined
-
Last visited
-
Days Won
2
Everything posted by Pat Foley
-
I suspect flooding in Texas. This map shows some outages down there. In Feb 2021 polar vortex may have caused similar issue.
-
virtualization VMWare Workstation PRO vs MS Hyper-V
Pat Foley replied to Drewsky's topic in Delphi IDE and APIs
Also your article on LIBSUFFIX https://www.finalbuilder.com/resources/blogs/advice-for-delphi-library-authors must be how the BDSs can find their vintage BPLs. My get by is putting shortcuts in the Desktop to select when using add Design Package. -
When I mentioned register I should have said install package. Open install packages under the Component menu. Use add to add Startpageidennn.bpl by clicking on it. Here's a table of version numbers. above didn't work. Delphi conditional VER<nnn> Product Product Version Package Version CompilerVersion VER340 Delphi 10.4 Sydney / C++Builder 10.4 Sydney 27 270 34.0 VER330 Delphi 10.3 Rio / C++Builder 10.3 Rio 26 260 33.0 VER320 Delphi 10.2 Tokyo / C++Builder 10.2 Tokyo 25 250 32.0 VER310 Delphi 10.1 Berlin / C++Builder 10.1 Berlin 24 240 31.0 VER300 Delphi 10 Seattle / C++Builder 10 Seattle 23 230 30.0
-
Main Menu on 10.3,10.4.2 Tabs has Welcome Page. 10.2 has a Toolbar for the code Browser. Selecting a dropdown brings up menu button for Welcome page.(It's tab is named Browser). 10.2 is where I got on. I wonder if you to register Startpageide260.bpl !!!! That's the version number for 20 or 10.3 You having older version 10.0 should be a smaller number.
-
Select Welcome Page menu item in view menu. Tested in !0.3 and 10.4
-
What about using Model View as a start and save each UML Class Diagram. In the past I put start up data in non visual components at design time and years later spent a little time trying to determine how the program was able to start... Looking at the DFM component's event assignments is another part of how the program works. Here's a program for cad files. https://www.iseekcorp.com//copy-of-cadseek-adviser
-
How can i retrive components from a dat file;
Pat Foley replied to azrael_11's topic in RTL and Delphi Object Pascal
Try streaming Tpanel with child objects in it object Panel1: TPanel Left = 536 Top = 24 Width = 251 Height = 106 Caption = 'Panel1' ParentBackground = False TabOrder = 0 object Button2: TButton Left = 24 Top = 16 Width = 75 Height = 25 Caption = 'Button1' TabOrder = 0 OnClick = Button1Click end object Edit1: TEdit Left = 112 Top = 72 Width = 121 Height = 21 TabOrder = 1 Text = 'Edit1' end end Simply copy paste these into a form in design window. then follow delphi - How to save and restore a form? - Stack Overflow -
There's some D5 code for adjusting 10MHz transmitters elsewhere on site https://vk4adc.com/web/index.php/software-projects/55-vk4adc-utils/181-gps2time
-
Disable the controls When data is loaded have future event enable controls. Rather than a progress bar have windows 10 olympic ring showing until future event happens.
-
Question Is the modal box selections touchable? Should be able to change settings just touching and tapping. I would only surface the keyboard for passwords and text edits The Tnumberbox should be just the ticket here.
-
After saving as new form name Go in Object inspector and change the name of the form. the form new name is applied in the implementation as well. Or simply show controls in sequence setting visibility as needed.
-
How to gracefully get rid of the use of dictionaries?
Pat Foley replied to Shrinavat's topic in General Help
You might consider white boarding or build simple model. Consider N,S,E,W as UI. Use a heading for instance. So the instance turns left West or right East when heading North. Heading South turning left means heading East on the UI. Then the business of quarter turns could be solved by quadants or (heading + 360 +/90) mod 360. Or given TDirection = (dirN, dirE, dirS, dirW) // note changed heading: TDirection; Const quarterTurn = 1 halfTurn = 2 //change direction by adding subtracting the turn Heading := TDirection((4 + ord(Heading) + quarterTurn)mod 4); -
How to compare performance between Delphi versions?
Pat Foley replied to Mike Torrettinni's topic in General Help
I run 10.3 together with 10.4.1 and now 10.4.2. 10.2 seems old school -
some of the trouble is the windows need destroyed downto in for loop. Destroying the top window first changes the indexes of the window. So with for LItem in LItem in FRegisteredStyleHooks do LItem.Value.Free; We need a "downin" source VCl.themes line 7510. My take.
-
TAppBuilder ... WindowsForms10.Window.8.app.0.1629f15_r56_ad1 This form found in search menu item Find Class shows whatever namespace is scoped in the editor. Once a "class" or whatever is in the namespace is selected it moves to it in the edit window. The find references can then be clicked. These "gems" would be nice if they didn't hang the program.
-
Can Delphi randomize string 'Delphi'?
Pat Foley replied to Mike Torrettinni's topic in Tips / Blogs / Tutorials / Videos
Was thinking that its not getting up to 6 letters... So you saying simply throwing 6 dice with 52 lettered faces take more 2^10 throws. -
Can Delphi randomize string 'Delphi'?
Pat Foley replied to Mike Torrettinni's topic in Tips / Blogs / Tutorials / Videos
shouldn't cPhrases array be 0 based? -
Try - except - finally generates no debug-breakpoint in Exception scope
Pat Foley replied to Rollo62's topic in RTL and Delphi Object Pascal
Maybe a build all projects will surface them -
A Component Named xxxx Already Exists.
Pat Foley replied to RockWallaby's topic in Delphi IDE and APIs
I been having the same issues with some custom components added to a package. I renamed the old BPLs to BPLxxs and seemed to have fixed it. //The IDE uses BPLs for showing components in design Have you used shift+ctrl+F to look for compxxx. When it was happening the component disappeared taking its method assignments with it. I would start second IDE and load back up copy to copy and paste aberrant component with property and method assignments. // When compiler detects unitsearchpath error I cancel loading fix the path first. If you sanitized your system could the problem be transported in the myProject.dproj? Maybe compare with earlier dproj? 10.2.3 (is Stoic does not "leave the room" or disappear like 10.4) when using find class in search menu then control B to see paths in IDE code editor. -
Read and reapply design time properties to specific controls - runtime
Pat Foley replied to aehimself's topic in VCL
Thanks. would creating a new form be good solution for this case. -
Read and reapply design time properties to specific controls - runtime
Pat Foley replied to aehimself's topic in VCL
How to use Explicit properties to restore positions? Iteration or Is there simple revert message undocumented somewhere. -
A Component Named xxxx Already Exists.
Pat Foley replied to RockWallaby's topic in Delphi IDE and APIs
I been having the same issues with some custom components added to a package. I renamed the old BPLs to BPLxxs and seemed to have fixed it. Have you used shift+ctrl+F to look for compxxx. When it was happening the component disappeared taking its method assignments with it. I would start second IDE and load back up copy to copy and paste aberrant component with property and method assignments. -
https://stackoverflow.com/questions/6255248/controlclick-on-function-is-not-working-in-delphi-xe Just hovering over a unpathed unit in an uses clause can cause a quick ending. Issue with browsing path? The form screen position button in Design just happens to be in Bermuda triangle hot zone lower right hand code scrollbar edge.
-
Very Good. I learned something too about default transparency being changed. I am working on a component that sighs, moans and grunts when Sydney gives up.
-
Here is a paper by Marco Microsoft Word - Delphi-and-Unicode_Marco-Cantu.doc (embarcadero.com) What about editing your dfms in a memo. search for object: TLabel and insert the additional properties with offset. You just type the control type in one edit box and the offset to insert and property name value pair in additional edit boxes. when saved makes new improved dfm file. should be able to assign methods too. You need to cook your own search and insert coding. An improvement over the years is the flow panel. That may help in reducing number of views. Above is one way to make two way. You edit the dfms and change the objects types to TswLabels switched when running D10 to set the transparent property. and just TswLabel = class(TLabel) otherwise.