...So I copied the code from 'your button 1' and placed it into one of my buttons 'button 2'.I get instant compile errors, attached an image....
Quote from: andyf97 on April 02, 2023, 07:58:08 am...So I copied the code from 'your button 1' and placed it into one of my buttons 'button 2'.I get instant compile errors, attached an image....All of the highlighted errors are defined in the ectypes.pas unit. Does that unit appear in your uses clause?