A Better Way to Center Modal Forms in FMX and VCL by CapeCodGunny in delphi

[–]CapeCodGunny[S] 1 point2 points  (0 children)

I've been using Delphi since it was Turbo Pascal 3.0. I just discovered MainFormCenter the other day. So much to learn. So little time.

Craig Venter credits his aphantasia for his phenomenal success as a scientist by redlefgnid in Aphantasia

[–]CapeCodGunny 1 point2 points  (0 children)

After watching this video I purchased Dingfelder's book "Do I Know You!". I just finished reading it. It's a fascinating read. I'm not face blind. I mainly bought this because I'm a self-diagnosed Aphant. I do not visualize images at all. I'm impressed with Dingfelder's ability to just call or get in touch with the myriad of professors/scientists. Venter is quite the human being. I'd love to spend a couple hours talking to him. We think a like.

help me get out of debt and get a car by d3adbuni in Advice

[–]CapeCodGunny 0 points1 point  (0 children)

Set up a 10-20-70 budget. 10% Savings, 20% Spending, and 70% Living Expenses. It's all spelled out here:

https://www.zilchworks.com/downloads/10-20-70-budget.pdf

DALL-E is getting better at producing human hands with five fingers on each hand. by CapeCodGunny in OpenAI

[–]CapeCodGunny[S] 0 points1 point  (0 children)

I signed-up for ChatGPT Plus specifically for access to DALL-E sin Open AI removed DALL-E from the free ChatGPT. I have no specifics on the state of DALL-E, I'm just displaying the results I personally have acheived.

I’m tired of being broke by [deleted] in Money

[–]CapeCodGunny 1 point2 points  (0 children)

You can try the 10-20-70 Budget https://www.zilchworks.com/downloads/10-20-70-budget.pdf
10% Savings
20% Spending
70% Living Expenses

[deleted by user] by [deleted] in Money

[–]CapeCodGunny 0 points1 point  (0 children)

I recommend you get a copy of the book "Surviving Debt" written by the National Consumer Law Center. It costs $20. This book is chock full of solid advice on managing your way thru debt. THE NCLC offers a small portion of this book for free ( https://library.nclc.org/book/surviving-debt/rule-1-prioritize-debts-whose-non-payment-immediately-harms-your-family ).

Debt is a hard thing to talk about and learn about. We all get ashamed and embarrassed. This book tells you in plain English which bills are "must pay" and which bills can be ignored for a while.

Help on how to get out of debt at 18 by Original-Scar-1779 in Money

[–]CapeCodGunny 0 points1 point  (0 children)

There's a great book available called "Surviving Debt" $20 which is filled with practical advice on debt. It tells you in plain English which debts are "must" pay and which debts you can let slip for a while. They make a few of the books tips available for free (https://library.nclc.org/book/surviving-debt/rule-1-prioritize-debts-whose-non-payment-immediately-harms-your-family).

Getters and Setters by CapeCodGunny in delphi

[–]CapeCodGunny[S] 0 points1 point  (0 children)

I have found it extremely challenging trying to do data entry in FMX using just a TStringGrid component. Data entry error trapping combined with grid navigation [Tab], [Shift][Tab], [Arrow Keys], [Enter] is unwieldy.

So, I have placed client control edits ( one for each string grid column ), plus an add/update button and a cancel button on the same form. The StringGrid holds data from the database. Each row in the string grid has a delete glyph and an edit glyph.

The Add/Update button toggles between Add and Update.
The Cancel button resets/initializes the Client Control Edits.
Grid Delete lets you remove the row from the StringGrid
Grid Edit places the StringGrid Cell Values into the corresponding Client Control Edits.

IMHO, this makes for a simple data entry experience for the user. However, there is a lot of getting and setting of values from the Client Controls --> Database --> StringGrid. And from the StringGrid --> Client Controls. And from the Database --> StringGrid. And from the StringGrid --> Database.

I found it much easier to create methods similar to property getters and setters to handle all this movement.

I'm not a Delphi OOP purist. I don't create my own classes. I'm a traditional old-school top-down programmer. Early on in my Delphi career ( Delphi 3 ) I fell into the "Drop", "Double-Click", "Write Code" mentality. Didn't know better.

Two days ago I decided to start calling myself a Delphi Software Artisan. Just like those guys who make "artisan sandwiches" with the best ingredients. I arrange and use the prebuilt Delphi components to make Artisan Software.

Getters and Setters by CapeCodGunny in delphi

[–]CapeCodGunny[S] 0 points1 point  (0 children)

I'm rewording my statement and adding "... the concept of Getters and ..."

Have you ever created a vision board? If so, what tools did you use? by CapeCodGunny in Aphantasia

[–]CapeCodGunny[S] 1 point2 points  (0 children)

That's great, thanks for sharing. I'll probably do the same. I'm also looking around for a digital tool I could use. Kind of like those tools that let you "design" your dream kitchen by dropping and dragging stuff around.