Jump to content

azrael_11

Members
  • Content Count

    54
  • Joined

  • Last visited

Everything posted by azrael_11

  1. azrael_11

    TStringGrid maybe problem

    I download and install successfully the new 10.3.2 Delphi CE Start a new VCL program Add a Stringgrid and load some data inside. Every ok in that stage. When i try to click inside the grid or in the column or everywhere inside the stringgrid i get the forbitten icon and i can't do anything. Did i miss something here or is a bug to new CE edition?
  2. Hello, I am using the default ClientRest components the provide the Delphi Community 10.3.2. I manage to get and delete a file from a json server but i can't do a post. I try to post a new user to cscart based jsonserver here is the api wiki that tells how to manipulate the API. https://docs.cs-cart.com/latest/developer_guide/api/entities/users.html I don't know how to post the data needed for creation a user. Thank you.
  3. azrael_11

    dbExpress "database unavailable"

    Hello.. I finally manage to success a TSQLConnection with all the required params. Before i run my program i test it and change the connection from false to true. Add the password and it connects successfully. Return to True to False propertie. Try to run my program and i get the below message Am i doing something wrong or embarcadero have some default about dbexpress components and make me drive crazy?
  4. azrael_11

    dbExpress "database unavailable"

    After many tries and a lot of read i found that the dbExpress components simple aren't to stable. So i change to FireDac and everything works just fine. So please do not use dbExpress components at least for Interbase Database embedded. Thank you for all the awnsers.
  5. azrael_11

    Interbase

    Do you know any good links for very beginner in Interbase Like how to create a database Connect Show results ADD , Update, delete Staff like that Thank you
  6. azrael_11

    Interbase

    Thank you Markus
  7. azrael_11

    FMX Tstringgrid

    Try to add columns to Tstringgrid at run time with the code below var vStringColumn: TStringColumn; for vi := 0 to 15 do begin csCart.main.Grid.InsertObject(vi, TStringColumn.Create(vStringColumn)); ... end; But i get abstract error ... What i am doing wrong? I use Delphi 10.3.2
  8. azrael_11

    FMX Tstringgrid

    Ok i found it the right one is csCart.main.Grid.InsertObject(vi, TStringColumn.Create(csCart.main.Grid));
  9. Try to connect to cscart Rest API Server The documentation here says that Uses Basic HTTP authentication so but the e-mail and the api-key must encode to base64 encoder. So i encode the email and api and try with the rest tool that embracedero provides. I add in the authentication tab the basic and in user name the encoded with base64 email and in the password the encoded with base64 Apikey. And returns that
  10. azrael_11

    REST BASIC Authentication

    Thank you i ll try this.
  11. azrael_11

    REST BASIC Authentication

    Try the Inline passing in the URL . I set the correct username and api key. In the browser everything works just fine it ask me if i want to see this content with the current username i press ok and json with response is here. In the rest debugger i do the same but it returns anauthorised. Any help please
  12. azrael_11

    REST BASIC Authentication

    I try that not working i also add in the content-type the application/json but nothing i get the same responce
  13. azrael_11

    REST BASIC Authentication

    Sorry but i don't understand where to put the plaintext l/p?
  14. azrael_11

    Using a var array in procedure paremetre

    Hello I try to add a var array in procedure parametre. i try this but not working so procedure delete_an_element_from_array(var vArray: TArray; const vIndex: Cardinal); begin ...... end; How can i do this vArray get many array types like records, objects, integers, strings etc. Thank you.
  15. azrael_11

    Using a var array in procedure paremetre

    I'' try this when i found time Thank you
  16. azrael_11

    Using a var array in procedure paremetre

    Thank you very much. Sorry for the late response. David the arrays is set of record having more records and object types. The main goal here is. example type TmyRecord_2= Class(TObject) procedure : mine(); function : mine_2():boolean; ...... .... end; type TmyRecord = record one: array [0..10] TmyRecord_2 two: string; three ........ ..... end; var myHole_Array: array of TmyRecord; Create a dynamic set of myHole_Array about 100 entries Now i want to Delete the 7 entrie Now i want to Insert a new entrie in 16 position So far is good I Try to make a global procedure to delete or insert entries in different arrays or records. How can i add this Procedure Delete_Entrie_In_Array(myArray : here is the difficult part for me ; vDelete_Num: Cardinal); Thank you again.
  17. azrael_11

    Using a var array in procedure paremetre

    Error is that cant compile TArray is a try of mine to add a generics view of point like TArray<> but i cant do that either. The main goall here is the procedure to take any array that maybe is a records or objects or any else and delete the desire element of that array.
  18. azrael_11

    TMediaPlayer and TMediaPlayerControlFMX

    Hello ... Try to add video files with TMediaPlayer and TMediaPlayerControl and always get "unsupported media file" for any video file type like *.avi, *.wmv or *.mp4. I install the latest K-Full media codecs and the problem remains the same. Anyone has some experience about TMediaPlayer? P.S. Even the MediaPlayerHD example provided from delphi not working. Thank you..
  19. azrael_11

    TMediaPlayer and TMediaPlayerControlFMX

    Is DsPack support fmx native o have a popup window when play a video file?
  20. azrael_11

    TMediaPlayer and TMediaPlayerControlFMX

    Windows
  21. azrael_11

    OrangeUI

    Maybe we can stick a post with the best "Free" Firemonkey Components that is usefull until today... Here is my suggestion Alcione Components you can found very interesting things here and it is FREE
  22. azrael_11

    Change font size in TstringGrid in Fmx

    I Think this is not correct grid.StyledSettings.size:=false; the correct on is grid.StyledSettings:= grid.StyledSettings - [TstyledSetting.Size];
  23. azrael_11

    Screen Cursor

    Try to change the screen cursor in FMX desktop application with no success. I find that you can do this. form1.cursor := crHourGlass; ///Make the job form1.cursor := crDefault; But it is not working. How can i do this.
  24. azrael_11

    Rest question (Newbie)

    Hi I Create an app for windows and i try to add forecast results on it. I use the Yahoo weather api but recently even the free access goes to oauth1 Authorization. here what Yahoo wants to access forecast results. GET /forecastrss?location=sunnyvale,ca HTTP/1.1 Host: weather-ydn-yql.media.yahoo.com Yahoo-App-Id: YOUR_APP_ID Authorization: OAuth oauth_consumer_key="YOUR_CONSUMER_KEY",oauth_signature_method="HMAC-SHA1",oauth_timestamp="YOUR_TIMESTAMP",oauth_nonce="YOUR_NONCE",oauth_version="1.0",oauth_signature="YOUR_GENERATED_SIGNATURE" cache-control: no-cache I go to REST Debugger tool provide by emb I add the get method in method url like this http://weather-ydn-yql.media.yahoo.com/forecastrss?w=2502265 I select the from authentication the method oauth 1 and i put my Client-ID and the Client-Secret and select the HMAC-SHA1 from OAuth-Assistant. Now how can i add Timestamp, oauth_nonce, BCS when i execute the request i get Connection=keep-alive Date=Fri, 18 Jan 2019 08:32:06 GMT Via=http/1.1 media-router-omega65.prod.media.bf1.yahoo.com (ApacheTrafficServer [cMsSf ]) Content-Length=0 Content-Type=application/json;charset=UTF-8 Age=0 Server=ATS WWW-Authenticate=OAuth oauth_problem="OST_OAUTH_SIGNATURE_INVALID_ERROR", realm="yahooapis.com" //here i get an error X-Frame-Options=SAMEORIGIN X-Content-Type-Options=nosniff X-XSS-Protection=1; mode=block Referrer-Policy=no-referrer-when-downgrade Thank you.
  25. azrael_11

    From TOKYO TO RIO

    Hello Try to move a project from tokyo 10.2.3 to rio 10.3.1 community edition. And have two questions 1. How to remove the inherited values from debug from include file search path? 2. In rio i install the pasLicVlc and everything is ok. Create a new multi application add the component TFmxPasLibVlcPlayer go to include file search path add the path source and source.fmx like tokyo do but compiler cant find it. Does this change in rio somehow? P.S. I have both installed in my computer Delphi 10.2.3 CE and Delphi 10.3.1 CE
×