Jump to content

ron

Members
  • Content Count

    31
  • Joined

  • Last visited

  1. ron

    new Json file

    When you want to add a new Json in the project manager.. you can't remove or rename it!.. smart mobile studio 2.2.2.4543
  2. Same thing with the LoadFromString Procedure.. Procedure TW3Dataset.LoadFromString(Const aText:String); var mHead: TW3DatasetHeader; Begin (* If the dataset is active, close it down *) if FActive then Close; (* Check source string *) if aText.Length>0 then Begin (* Attempt to de-serialize JSON data *) try asm @mHead = JSON.parse(@aText); end; except on e: exception do Raise EW3Dataset.CreateFmt(CNT_ERR_DATASET_FailedLoad,[e.message]); end; (* Verify header *) if mHead.dhMagic=$CAFE then Begin (* Load DEFS i
  3. As i mention in this topic (couldn't delete it) http://forums.smartmobilestudio.com/index.php?/topic/4259-dataset-savetostring/ unit Form1; interface uses SmartCL.System, SmartCL.Graphics, SmartCL.Components, SmartCL.Forms, SmartCL.Fonts, SmartCL.Borders, SmartCL.Application, System.Dataset; type TForm1 = class(TW3Form) mDataset :TW3Dataset; Procedure TestDataset; private {$I 'Form1:intf'} protected procedure InitializeForm; override; procedure InitializeObject; override; procedure Resize; override; end; implementation { TForm1 } Procedure TForm1.Tes
  4. ron

    Dataset savetostring

    ok . thanks for testing..
  5. ron

    Dataset savetostring

    Sorry my question wasn't clear.. my alert box displayed. {"dhCount":50,"dhFieldDefs":"%7B%22ddMagic%22:3401235116,%22ddDefs%22:%5B%7B%22fdName%22:%22id%22,%22fdDatatype%22:6%7D,%7B%22fdName%22:%22key%22,%22fdDatatype%22:7%7D,%7B%22fdName%22:%22name%22,%22fdDatatype%22:4%7D%5D%7D","dhMagic":51966} but i don't see the updated records
  6. ron

    Dataset savetostring

    I was testing some code from Jon Lennart website, but it won't show the updated records when i call savetostring.. what am i missing??? https://jonlennartaasenden.wordpress.com/2014/07/10/dataset-for-smart-mobile-studio-update/ unit Form1; interface uses SmartCL.System, SmartCL.Graphics, SmartCL.Components, SmartCL.Forms, SmartCL.Fonts, SmartCL.Borders, SmartCL.Application, System.Dataset; type TForm1 = class(TW3Form) mDataset :TW3Dataset; Procedure TestDataset; private {$I 'Form1:intf'} protected procedure InitializeForm; override; procedure InitializeOb
  7. I use Autoprefixer a lot. it deals with different vendors.. http://autoprefixer.github.io/
  8. ron

    Inactivity

    Maybe i'm pessimistic but looks to me every teammember has taken his own road.... hexlicense and quartexcomponents is a product from john Lennart Aasenden.. i rather see a update of SMS.
  9. I have the same problem..is there a workaround?
  10. i made a quick and messy example how to use phonegap build.. it uses the camera plugin and the file plugin... copy a picture to a new destination and rename the picture.. maybe its helps you.. ron phonegaptest.zip
  11. I just found https://github.com/SmartMobileStudio... a lots of wrappers made by Christian Budde.. keep up the good work!!! Ron
  12. ron

    Resize event

    Thank you for the detailed explanation, it's clear to me now.. Ron
  13. ron

    Resize event

    Hi, can anyone tell me why the resize event executes 3 times and when you wait another 15 sec the event executes again.. Ron Form1.zip
  14. Hi Igor You could try Rob W ducking typing method.. http://stackoverflow.com/questions/9847580/how-to-detect-safari-chrome-ie-firefox-and-opera-browser/34840631#34840631 I know SMS w3_getIsInternetExplorer detection fails also for internet explorer 11.. since the user agent no longer contains MSIE Ron
×
×
  • Create New...