Jump to content

Jeff Steinkamp

Members
  • Content Count

    30
  • Joined

  • Last visited

Community Reputation

1 Neutral

About Jeff Steinkamp

  • Birthday 04/11/1955

Technical Information

  • Delphi-Version
    Delphi 11 Alexandria

Recent Profile Visitors

38493 profile views
  1. I am attempted to do a bit of Word Automation. I have a template document for an evaluation report. I think I am able to search and replace text with the unique values for the report. But I have 3 images that I need to include in this report. I have not found any documentation on how to insert an image at a specific location, replace a dummy image with the current image, or replace text with the specific image. Can someone point me in the right direction? Thanks
  2. Jeff Steinkamp

    Print TDBGrid

    Where is it?? I do not find any component called Fast Reports and based on the vidoes, I do not find any actual program on my computer called FastReports.
  3. Jeff Steinkamp

    Print TDBGrid

    The community version of Delphi 11 does not contain any Reporting Components and I'm not going to spend a boatload of money for a component that I will rarely use. Can someone point me in the direction to help me devise a quick and easy way to send the data I have in a DBGrid to a printed output. I do have a couple of PDF components that should do this, PowerPDF and Winsodt's TPDF, but I am unbale to find much in the way of basic documentations for either of these components. Any hep will be much appreciated.
  4. Jeff Steinkamp

    Copy table data between two different databases.

    I tired playing around with this and got Abstract Errors no matter what I did. However, I did find some more down to earth instructions on how to use BatchMove and the solutions was horribly simple. I just added this to my Data Module and it just works. Here is the code. procedure TDM.CloneCountry; begin WinData.ExecSQL('delete from country'); tmp.Open('select * from country'); // users table ddquery.Open('select * from country'); // default table // setup the writer LDataSetWriter.DataSet :=tmp; LDataSetWriter.Optimise := False; //setup the reader LDataSetReader.DataSet := ddquery; LDataSetReader.Optimise := False; // make it happen FDBatchMove.GuessFormat; FDBatchMove.Execute; end;
  5. I am using SQLite in this project along with some FireDAC controls. Both databases have a table called county which is the same table, but one table has different data. I need to be able to copy the county table data is Database B into the county table in database A after truncating that table of data. Someone had mentioned using the BatchMove component, but after trying to research this out it became almost as convoluted as moving a shot of Scotch from the planet Uranus to a picnic table in Key West with a few trips around Jupiter! What would be the best and easiest way to accomplish this feat? There are around 3300 records in this table. If I can create a solution for this, it will solve another major headache I have with my Window 7 users accessing secure data downloads that are currently unavailable to the Win 7 user due to the lack of SSL/TSL in their operating system.
  6. Jeff Steinkamp

    Minimizing Forms

    I think we have beat this horse enough. I have two solutions that will work, and I have my beta testers evaluating each to determine which way we are going to go. Many thanks to everyone who provide input.
  7. Jeff Steinkamp

    Minimizing Forms

    I'll play with this and see what happens. Right now, what I am doing is creating the contest form with the main form as the owner, hiding the main form and launching the contest form as a Modal form. When the user closes the contest form and we retune with the modal result, I'm making the main form visible again. I'll discuss this with my team of user testers and see what they say. I'll test this code above and if this works, we'll use it. Thanks!!
  8. Jeff Steinkamp

    Minimizing Forms

    What is that going to do? That is NOT what the user has selected to do. I can intercept the minimize action and change it to hide, but then how is the user going to get that back as hiding a form does not place it on the task bar.
  9. Jeff Steinkamp

    Minimizing Forms

    Yes I did forget the Override directive. I have added that, and that procedure is now being called. I also now get the icon for that form in the taskebar. But, when I minimize the main form, the contest form still minimized, and the icon is removed from the task bar. I cannot believe this is such a freaking goat rope! How is it that a form that is created with NO owner is being manipulated by the main form.
  10. Jeff Steinkamp

    Minimizing Forms

    The form is not being shown as a modal form. But, Yes I do have a DataModule and I have tried passing that as the owner and still get the same behavior.
  11. Jeff Steinkamp

    Minimizing Forms

    If you read the code I posted, TSelectContest is NOT the issue. the Issue with TMyContest.Create(nil, tablename);
  12. Jeff Steinkamp

    Minimizing Forms

    I must say that I am completely perplexed and confused. I do not quite understand how a form that is created without an owner is being controlled by the mainform. Remember, this form is not being created at the application level with the Applicaiton.CreateForm syntax in the program module. It is an available form for creation at a later time. I did add this code: procedure TMyContest.CreateParams(var params: TCreateParams); begin inherited CreateParams( params ); params.ExStyle := params.ExStyle or WS_EX_APPWINDOW; end; But, as far as I can tell, it never gets fired. I placed a breakpoint in the code, but it never stops on the breakpoint even though the documentation says that this gets run when the form is created. Here is the create code for that form: constructor TMyContest.create(AOwner: TComponent; name: String); begin inherited create(AOwner); Tablename := name; show; end; and here is the calling code from the main form: dlg := TSelectContest.CreateNew(self, false); try if dlg.showmodal = mrok then begin tablename := dlg.tablename; TMyContest.Create(nil, tablename); end; finally dlg.Free So at this point, I have no clue how to create a form, show it and allow it to remain visible when the main form is minimized. I've coded in Visual Studio, QT and Swing and never run into this behavior.
  13. Jeff Steinkamp

    Minimizing Forms

    I have a number of forms that are created from the main form, but those forms are created without an owner. But if those forms are showing and we minimize the main form, all of the forms, owned by the main form or not, get minimized. That certainly is not the behavior I would expect. These forms are not created at Applicaiton run time, but whenever the user clicks on the menu item for those forms. Here is a sample of the code: <code> begin dlg := TSelectContest.CreateNew(self, false); try if dlg.showmodal = mrok then begin tablename := dlg.tablename; TMyContest.Create(nil, tablename); end; finally dlg.Free end; </code> Tmycontest is the form that should remain visible. The form is actually shown in the forms create procedure after some other initialization. I have searched for a workaround on this but have not found anything remotely related. Is there some way to make this happen? Thanks
  14. Jeff Steinkamp

    Round corners on FMX form

    I have a form that I'm going to use as a splash screen, and I have set the border style to none. How do I go about rounding the corners of this form. This was pretty simple in VCL but proving to be almost impossible with FMX. This will be a Windows Desktop application. Suggestions? Thanks
  15. Jeff Steinkamp

    Radio Button and Check Box font color not changing with parent..

    That does appear to be a workaround, but it screws up the transparency of all the menu icons and removed all the images from the buttons. However, I can still select any of the themes this way, but with the image limitations I just provided. With runtime themes enable and selecting Windows as the default theme. I am able to change the colors and fonts of the form. The font style for the Radio Buttons and Check Boxes will change, It is just the font color that will not change on these two components. The font color does change for everything else on the form.
×