Jump to content

Zazhir

Members
  • Content Count

    39
  • Joined

  • Last visited

Community Reputation

0 Neutral
  1. Zazhir

    Change TRibbon Style

    I did, but with not luck to get this working
  2. Zazhir

    Change TRibbon Style

    I have a legacy application made and compiled with delphi XE6 (2014). This application since the beggining uses the **obsidian** theme color to style all the components presents in the Jvcl and Vcl. I want to change that. Current I have changed the theme color, but the only component that does not change whit it is the TRibbon component. In my ribbon component, there not a style theme that look like the TabletDark (the custom style that I'am using) I've searched a lot, but look like the only way to change the component style is to upload the Jvcl and Vcl. Here is my ribbon: Ribbon in the Tablet theme Custom Style Ribbon in the obsidian theme Is there a way to change the Ribbon style, to look like the theme that I'am using? or perhaps create another style for the component?
  3. o I see, when I was upp to update the Indy, I follow the steps to delete these files, this was to avoid this kind of error?
  4. so I have to go back to the old version? that do not look right, keep in mind that i need the component in his recent version.
  5. if I just delete these old files, the erros is fixed?
  6. The thing is, the error occurs when i pass the method GET(). So I don't have anything to save, or not save, because a don't have a response coming from the request.
  7. I just update Indy's component to the latest version. I am using a thirdy party libary to make the request of an api call RESTResquest4Delphi. When I tried to run the projet, the follow erro occurs. Any idea on how to solve this issue?
  8. I believe that is Jcl - Jvcl component. So it is a third party component.
  9. Zazhir

    Error in module rtl200.bpl

    Do not ask me how, but the error was fixed! - I just did a update on a component library inside Delphi's IDLE. The component was the Indy, but I think there not to do with the component it self but with the C:\Program Files (x86)\Embarcadero folder. Perhaps I just deleted some files that maybe was causing this issue. For those one that maybe want to attenpt to update Indy's component, here is the documentation on how to do that.
  10. I current have a Delphi application that was made and compiled in delphi XE6. The vcl and jvcl are installed on the IDLE. I just change the theme application for the Amakrits, a dark theme. But the Ribbon do not change to dark... looks like that the dark theme din't affect the ribbon. The butons inside a TRibbonGroup are in dark theme, bu not the ribbon and him componets it self. the only options available for the Ribbon styles are this three here, and none of then are actually a match for the dark theme that I' m using now. How can I apply the same theme style that my project is now using, to the ribbon component and all his sub elements?
  11. I don't want to download it, i just want the response of the request that i send to the api
  12. I'm trying to make a request of type Get, for a simple API, which performs the query of unique codes of companies. I tried several ways to make this request, but all of them lead me to the following error error:1407742E:SSL routines:SSL23_GET_SERVER_HELLO:tlsv1 alert protocol version or this one error:1409442E:SSL routines:SSL3_READ_BYTES:tlsv1 alert protocol version I upgraded from Indy component to the lateste version, current 10.6.20 and am using Delphi XE6. Below is one of the functions I did, but that doesn't bring me anything in the request response, and gives me the erros bellow: function TfrmAttAreaExterno.searchData02; var URL, response: String; jsonStreamRetorno, jsonStreamEnvio: TStringStream; SSLIO: TIdSSLIOHandlerSocketOpenSSL; strm: TMemoryStream; Error: TStringList; begin memo01.Clear(); URL := 'https://www.receitaws.com.br/v1/cnpj/27865757000102'; strm := TMemoryStream.Create; try IdHTTP01.AllowCookies := True; IdHTTP01.HandleRedirects := True; IdHTTP01.ProxyParams.BasicAuthentication := False; IdHTTP01.ProxyParams.ProxyPort := 0; IdHTTP01.Request.Connection := 'Keep-Alive'; IdHTTP01.Request.ContentLength := -1; IdHTTP01.Request.ContentType := 'application/x-www-form-urlencoded'; IdHTTP01.Request.Accept := 'text/html, application/xhtml+xml, image/jxr, */*'; IdHTTP01.Request.AcceptEncoding := 'gzip, deflate'; IdHTTP01.Request.AcceptLanguage := 'pt-BR'; IdHTTP01.Request.BasicAuthentication := False; IdHTTP01.Request.Host := 'img.discogs.com'; IdHTTP01.Request.UserAgent := 'Mozilla/5.0 (Windows NT 10.0; WOW64; Trident/7.0; rv:11.0) like ' + 'Gecko'; SSLIO := TIdSSLIOHandlerSocketOpenSSL.Create(IdHTTP01); SSLIO.SSLOptions.SSLVersions := [sslvTLSv1, sslvTLSv1_1, sslvTLSv1_2]; SSLIO.SSLOptions.Mode := sslmUnassigned; SSLIO.SSLOptions.VerifyMode := [sslvrfPeer, sslvrfFailIfNoPeerCert, sslvrfClientOnce]; SSLIO.SSLOptions.VerifyDepth := 0; try idHttp01.IOHandler:= SSLIO; response := idHttp01.Get(URL); memo01.Text := response; except on E: Exception do begin ShowMessage(E.Message); end; end; except on E: Exception do begin ShowMessage(E.Message); end; end; end; Please, any help would be appreciated! I just run of the ideas to what might be causing this issue. Plus, I just run over all the internet, and tried every single solution that looks like was going to help me....
  13. I'am trying to install in Delphi XE6 the latest version of the Indy component: https://github.com/IndySockets/Indy/wiki/Updating-Indy I've follow the wiki update tutorial, using the Indy200.pgroup. I've build and compile, but when I search to the button os "install", i can not find then. https://docwiki.embarcadero.com/RADStudio/Alexandria/en/Compiler_Versions I have seen that must be a option call "install" for install the indy component.
  14. Hello! I am facing Bad unit format issue for Indy component. I was trying to update it, following the steps in this link: https://github.com/IndySockets/Indy/wiki/Updating-Indy. My version of Delphi is XE6, in this case I tried to compile the ```Indy150.groupproj``` file, but the project has not been compiled. It all started at that point. As I ended up giving up, I decided to go back to the old version of the Indy component. But when returning the files that had been removed and also adding them inside Delphi's IDLE the component paths: Indy 10 Core Design Team Indy 10 Protocols Design Time IP Abstraction Indy Implementation Design Time All of my projects that use the component cannot be compiled. All of them that use the SMTP library have stopped working. Which generates the error shown below: [dcc32 Fatal Error] UfrmSendEmail.pas(47): F2048 Bad unit format: 'IdSMTP.dcu' - Expected version: 27.0, Windows Unicode(x86) Found version: 27.0, Windows Unicode(x64) This unit sends emails using the SMTP server configuration. Do you know how I can resolve this error?
×