Jump to content

IElite

Members
  • Content count

    1,016
  • Joined

  • Last visited

  • Days Won

    3

IElite last won the day on July 7

IElite had the most liked content!

About IElite

  • Rank

Contact Methods

  • Website URL
    https://www.facebook.com/coldrivermedia

Profile Information

  • Gender
    Male
  • Interests
    FreePascal, Delphi, Smart Mobile Studio

Business

  • Company name
    Cold River Labs
  • Sector
    Information technology
  • Position
    Founder

Smart Mobile Studio

  • Edition
    Professional

Recent Profile Visitors

3,951 profile views
  1. IElite

    Professional version and database connectors

    Did you see these posts? Database  connectivity - 1 Database  connectivity - 2
  2. IElite

    Date and Time Computations

    @COMFIED Did you solve this? I have still not seen an example from the team on how to accomplish this other than that snicker remark "system.dateutils unit have everything you need"
  3. IElite

    Date and Time Computations

    @rshotbolt - I never did look at the code in HoursBetween If you look at the function HourBetween in code completion, it takes two Tdatetimes, so, I assumed it would give you the hours between them...therefore, if you add 2 days to d2, it should then be at minimum 48 hrs between d1 & d2... so, it is a little misleading Having said that, nobody has yet to post a solution - not even @lennart - which i thought was little snickery to leave @COMFIED hanging there by just sayin "system.dateutils unit have everything you need"
  4. IElite

    Date and Time Computations

    @lennart I do not see a DaysInBetween.....i do see seconds, minutes, and hours....however, when I attempt to use hours, it returns 0 procedure TForm1.W3Button1Click(Sender: TObject); var d1, d2: TDateTime; Hours, Days: integer; begin d1:= now; d2:= now - 2; //ShowMessage(FormatDateTime('mm/dd/yyyy',d1)); //ShowMessage(FormatDateTime('mm/dd/yyyy',d2)); Hours:= HoursBetween(d2, d1); //Days:= Round(HoursBetween(d2, d1)/24); ShowMessage(IntToStr(Days)); end;
  5. IElite

    Date and Time Computations

    For the days between dates, it looks like they did not add a DaysBetween function in the unit "system.dateutils". So maybe something like: procedure TForm1.W3Button1Click(Sender: TObject); var d1, d2: TDateTime; days: integer; begin d1:= now; d2:= now + 2; Days:= round(d2 - d1); ShowMessage(IntToStr(Days)); end; For hours between two times, try using the function found in "system.dateutils" function HoursBetween(const aThen,aNow:TDateTime):Integer;
  6. IElite

    MultipleForms project - why is button text blue?

    @rshotbolt Here are some resources that might help you out. I like the first one as it explains the precedence and how each overrides the others. Playing with the design 03.06.2013 https://smartmobilestudio.com/2013/06/03/playing-with-the-design/ Smart Mobile Studio and CSS: part 1 October 9, 2017 https://jonlennartaasenden.wordpress.com/2017/10/09/smart-mobile-studio-and-css-part-1/ Smart Mobile Studio and CSS: part 2 https://jonlennartaasenden.wordpress.com/2017/10/11/smart-mobile-studio-and-css-part-2/ Smart Mobile Studio and CSS: part 3 https://jonlennartaasenden.wordpress.com/2017/10/12/smart-mobile-studio-and-css-part-3/ Smart Mobile Studio and CSS: part 4 https://jonlennartaasenden.wordpress.com/2017/10/18/smart-mobile-studio-and-css-part-4/ Themes and styles https://smartmobilestudio.com/documentation/getting-started/themes-and-styles/ Working with controls, the boxing model 05.01.2012 https://smartmobilestudio.com/2012/01/05/working-with-controls-the-boxing-model/ Hidden stylesheets with Smart Pascal August 13, 2014 https://jonlennartaasenden.wordpress.com/2014/08/13/hidden-stylesheets-with-smart-pascal/ HTML5 Attributes, learn how to trigger conditional styling with Smart Mobile Studio November 8, 2017 https://jonlennartaasenden.wordpress.com/2017/11/08/html5-attributes-learn-how-to-trigger-conditional-styling-with-smart-mobile-studio/
  7. IElite

    'Open in Browser' not working

    No, you do not need a web server running on your system. It is built in Maybe there is an issue with your Default Browser - linkage? Try changing your project options. Project\Project Options\Execution The default should be Internal Browser, but you can change it to say use Custom Browser
  8. IElite

    Tw3TabControl's OnPrepareTab ?

    @jarto thanks!
  9. IElite

    Tw3TabControl's OnPrepareTab ?

    @Czar , yes, I have found a number of ways to accomplish it as well, i was just trying to understand how the OnPrepareTab worked thanks
  10. IElite

    Tw3TabControl's OnPrepareTab ?

    @lynkfs i figured it was something like that occurring at the end......but that means that the TagId would be already three at the end too! thanks
  11. IElite

    Tw3TabControl's OnPrepareTab ?

    It is my understanding that the following code should produce 3 tabs with the captions ("one', 'two', 'three')...however, it does not. It seems that the OnPrepareTab when run on the third time through overwrites all three tabs with "three" for i:= 1 to 3 do begin str:= getStr(i); tab:= W3TabControl1.AddTab(str); tab.AutoSize:=True; tab.OnPrepareTab:= procedure (sender: TObject) begin lbl:= TW3Label.Create(TW3Tab(Sender)); lbl.Caption:= str; end; end; In order to make it work, I have had to use the TagId property to store the value for i:= 1 to 3 do begin str:= getStr(i); tab:= W3TabControl1.AddTab(str); Tab.TagId:= str; tab.AutoSize:=True; tab.OnPrepareTab:= procedure (sender: TObject) begin lbl:= TW3Label.Create(TW3Tab(Sender)); lbl.Caption:= TW3Tab(Sender).TagId; end; end; am I too tired? What am I not seeing in the first code block?
  12. I did the Alpha Update is mine now says 2.9.9.127 and not 3.0.0
  13. IElite

    Status?

    hmmm, well, lets begin with a perfect example It has taken a week for someone from the team to respond to Czars post I have to say, I do not expect the team to be monitoring every minute, but if they are planning on any future with this product, they should not have left that post unanswered for a week. Its nice that some regulars chime in and try to help, but after a full day or two, a team member should have responded. When potential NEW users come to this forum and see that posts are going unanswered by team members, and website news hasn't been updated in over a month, and no Facebook (social Media) posts are happening........then it doesn't look like a product someone wants to have their money invested in
  14. IElite

    Status?

    What is the status of SMS? Anything new in the pipeline. Whats the road map. Seems like once again, things are going stale. Still no changes to IDE Still no documentation. and Smart Book still has no updates. Very small and sparce RTL updates. No more news updates on the SMS website. Been a month since last Facebook post. Same couple people posting on the forum and responding to posts on forum yikes
  15. I removed it http://coldrivertech.com/clients/test/
×