Jump to content


Most Liked Content


#15740 Version 2.1.2

Posted by Smart Mobile Studio Team on 13 October 2014 - 01:48 AM

Version 2.1.2 is released.

 

Take a look at the change log:

http://smartmobilest...o-2-1-hotfix-2/

 


  • Welchtaut, MiltonOi, Ekbergket and 8 others like this


#15803 Real Demo

Posted by JimKueneman on 22 November 2014 - 05:24 PM

Hi,

 

   After fighting with the bloatware XE for days I gave up.  SMS seems like a really great alternative for me to create some mobile apps for my hobby use.  I have stared at it for a few days and still don't have a clear path to do something useful will it.  Are there an real demos that actually do something useful that I can look at and explore?

 

Thanks,

Jim


  • MiltonOi, Ekbergket, RudyAttemia and 7 others like this


#15767 Scrolling DIVHTML

Posted by Pyxis on 04 November 2014 - 03:24 PM

How can I add a vertical scrollbar to a TW3DIVHtmlElement that I use as a chat room window? Looks like the "StyleClass" property doesn't work with DIV element and I still get "overflow:hidden" instead of "overflow:scroll".

 


  • MiltonOi, Ekbergket, RudyAttemia and 7 others like this


#15957 Avira claims smsc.exe to be a virus

Posted by dummzeuch on 31 March 2015 - 01:05 PM

My Avira Antivir (free version) constantly claims, that

 

C:\Program Files (x86)\Smart Mobile Studio\smsc.exe

 

contains the virus "TR/Agent.1228800.7"

 

A google search for the virus name and "Smart Mobile Studio" turned up nothing and neither did a search in these forums. Am I the only one where this happens?


  • Ekbergket, RudyAttemia, Danielfem and 6 others like this


#15899 Issue with 'Application.Showmodal ?'

Posted by atlandev.mq on 18 February 2015 - 09:00 AM

Hello,

I  have an issue with showmodal/hidemodal.

When I click on the button of my modal form that should hide the form, the OpaqueMask disappears but not my form.

I uninstalled sms, reinstalled then tested the demo 'Modal Dialog.sproj' -> same issue.

On firefox(standart/dev) chrome and ie11.

sms version 2.1.2.3592

T.


  • Ekbergket, RudyAttemia, Danielfem and 6 others like this


#15896 QTXLIBRARY

Posted by eric.garcia on 17 February 2015 - 09:44 PM

Hello,

 

I saw that here is an existing QTXLIBRARY.

I would like to know the use and the installation guide. 

Do you have some documentation ?

I don't see any folder RTL or Libraries when SMS is installed. where do I copy this Qtxlibrary folder ?
 
Thanks 
 
ega
 

 


  • Ekbergket, RudyAttemia, Danielfem and 6 others like this


#15887 Spring

Posted by rdevine on 27 January 2015 - 12:47 PM

I'm in the process of adopting Spring4D for my new Delphi projects - any plans for something similar in SMS?

 

Thanks, Bob


  • Ekbergket, RudyAttemia, Danielfem and 6 others like this


#15806 Non GUI project?

Posted by RaelB on 23 November 2014 - 03:57 PM

Hi,

 

I would like to develop some standalone JS classes/code in SMS that can then be called from other html/js files.

 

Is this possible? (iow, is there some project setup/options that will streamline such a process)

 

Thanks

Rael


  • Jørn E. Angeltveit, Ekbergket, RudyAttemia and 6 others like this


#15797 Pascal for iOS

Posted by bee on 20 November 2014 - 08:26 AM

Hi...

 

I'm a pascal lover. I love to code using pascal on everything. I've tried almost all pascal compilers available on earth since Turbo Pascal 5.5. My favorite pascal tool now is FreePascal.

 

I'm also an Apple fan. I love my iOS devices... especially my iPad. And I'd love to code on it using pascal as well. Unfortunately, due to pascal as more compiled than interpreted language, it doesn't comply with Apple's rules. So I couldn't expect FreePascal to be available on iOS. I love to code, so I have to use other tools on iOS. My favorite coding app for iOS are Codea (http://twolivesleft.com/Codea/ using Lua) and Pythonista (http://omz-software.com/pythonista/ using Python). Codea is for more graphical and visual programming, it's very good. Pythonista is for more general purpose programming, it's also very good. I like both of them. Except one problem... they are not pascal. :)

 

But as I found SmartMobileStudio, it compiles pascal code into javascript code, I see a hope. I think it's possible to write a coding app for iOS utilizing SMS technology. The user writes code in pascal, the app compiles it into javascript code, then run it inside a webview component. It's all on the iOS devices, no remote connection is needed.

 

So, can you make an app to write and run pascal code using SMS on iOS devices? Please... I've been waiting such an app since the first time I got my first iOS device. If such app exists... I will buy it in a heartbeart right after it appears on the App Store! :)

 

Such app is also good for kids learning programming on iOS devices. We're all know that the best language for those cute kids is Pascal. What do you think?

 

Thank you.

 

Regards,

 

-Bee

 


  • Ekbergket, RudyAttemia, Danielfem and 6 others like this


#15783 Is it possible to create Modern UI / Metro apps?

Posted by Neil HippieKiller on 07 November 2014 - 02:45 AM

Hi, I did a search but could not find anything, so please excuse me if my question has been answered before.

I read on MSDN that Windows Runtime Apps (Win8 full-screen apps) and Windows Phone Apps can be made using JS + Html + CSS, so is it possible to use the output of SMS to compile into an app for Win8?

 

I've just found SMS and it's a really interesting idea, I hope I can contribute something when I get to grips with it :)

Have fun!

Neil


  • Jørn E. Angeltveit, MiltonOi, Ekbergket and 6 others like this


#15734 Using w3CustomDataset

Posted by vbm2002 on 07 October 2014 - 12:53 PM

I try to use Dataset.LoadFromString ( json string come from Dataset.SaveToString ) but not thing happend. what i wrong ? , Please see following source code
 
 
var
 
  mDataset, mDataset2: TW3CustomDataset;
  a : string;
  x:Integer;
  mId: Integer;
 
begin
 
  mDataset:=TW3CustomDataset.Create;
  try
 
    mDataset.FieldDefs.add('id',ftAutoInc);
    mDataset.FieldDefs.add('key',ftGUID);
    mDataset.FieldDefs.add('name',ftString);
 
    mDataset.createDataset;
 
    for x:=1 to 1 do
    Begin
      mDataset.Append;
      mId:=mDataset.Fields.FieldByName('id').asInteger;
      mDataset.Fields.FieldByName('name').asString:='Field Data #' + IntToStr(mId);
      mDataset.post  ;
    end;
 
    a := mDataset.SaveToString ;
 
  finally
    mDataset.free;
  end;
 
  mDataset2 := TW3CustomDataset.Create;
  try
 
    mDataset2.LoadFromString(a) ;
 
    showMessage( mDataset2.SaveToString ) ; // it show empty string
 
  finally
    mDataset2.Free ;
  end;
 
end;

  • Ekbergket, RudyAttemia, Danielfem and 6 others like this


#15718 Using grids

Posted by Takavoir on 12 September 2014 - 11:40 AM

Hi,

 

I am trying to use a grid this way: I would like to be able to retreive a row ID when I click on a specific row to delete that row for example.

So far, here is what I got to create the ButtonColumn in the grid:

 


procedure TSpeakers.InitButtonColumn(ColumnName: String);
begin

  procedure W3ButtonColumnButtonClick(Sender: TObject);
  begin
    var i : integer;
    for i := 0 to Speakers.Count - 1 do
    begin
      var speaker :=  Speakers.Items[i] As TSpeaker;
      var button :=   TW3Button(Sender);
      if speaker.Name = TW3Button(Sender).Caption  then
      begin
         CurrentSpeaker :=  speaker;
         CurrentSpeakerLabel.Caption := CurrentSpeaker.Name;
      end
    end
  end;

  var ButtonColumn: TW3ButtonColumn;
  ButtonColumn := nil;
  ButtonColumn := TW3ButtonColumn.Create(SpeakerGrid as IW3ColumnsControl);
  ButtonColumn.Header.Caption := ColumnName;
  ButtonColumn.Width := 200;
  ButtonColumn.OnButtonClick := W3ButtonColumnButtonClick;

  SpeakerGrid.Columns.Add(ButtonColumn);

end;

And I create each row with the following:

 


procedure TSpeakers.AddRowToGrid(SpeakerName: String; SpeakerNumber: integer);
begin

  { Add 1 new row & set 1st cell in newly added row }
  SpeakerGrid.AddRow;
  SpeakerGrid.Cell[0, SpeakerGrid.LastAddedRow].Value := SpeakerName;

end;

So how can I specify a row ID when I create a row so that I can retreive it in the W3ButtonColumnButtonClick procedure in order to know what row I am processing?

 

Thanks

 

 


  • Ekbergket, RudyAttemia, Danielfem and 6 others like this


#15702 SmartMS 2.1 hotfix 1 installer

Posted by markus_ja on 05 September 2014 - 11:39 AM

It seems, that the installer is deleting all subfolders in "..\Smart Mobile Studio\Libraries". That's bad, because my custom libraries which are shared in some projects are now deletet :( !!!!

 

Where should I store my shared SmartMS files, in order I can reuse it?


  • MiltonOi, Ekbergket, RudyAttemia and 6 others like this


#15674 General question to existing customers

Posted by markus_ja on 25 August 2014 - 11:22 AM

Hello all,

 

I just want to ask, which UI controls you are using for building apps with SmartMS?

  1. Do you use the build in standard controls, only?
  2. Do you create your own controls, only?
  3. Do you use 3rd party components, only (if yes, which one)?
  4. Do you mix UI controls (if yes, how to you handle the different .css stuff - look and feel)?

Is it just me, or do you have the same impression, that with the build in standard controls it is almost impossible to create a feature rich UI?


  • Jørn E. Angeltveit, tstoicescu, Ekbergket and 6 others like this


#13641 Eric Grange

Posted by Jørn E. Angeltveit on 15 March 2012 - 01:31 PM

Eric Grange has implemented the classical random maze generation algorithm in Smart Mobile Studio. And a solver, of course.
http://delphitools.i...-to-javascript/

You can run the generated app in most mobile and desktop browsers (only Firefox has a glitch related to Mozilla event names): http://delphitools.i...2/03/index.html
  • Ekbergket, Danielfem, HowardtorY and 6 others like this


#15970 Sluggish forum

Posted by warleyalex on 22 April 2015 - 01:00 AM

I have noticed the Smart Mobile Studio discussion forum is very sluggish / slow. I have always experienced sluggishness when I try to post. This forum does not like of my old Google Chrome v31 :)
  • Ekbergket, Danielfem, HowardtorY and 5 others like this


#15929 Hard time learning Graphics from demos with Basic version

Posted by piXelicidio on 11 March 2015 - 06:05 AM

Hi, newcomer here ;)

 

I'm new to SMS, a guy from the old times of Delphi  7 with almost zero knowledge of java-script. 

 

My problem is that I'm using Basic verison and most demos are using Forms with controls.

 

Is there another version of Spartacus demo or similar sprite demo without froms? Canvas only?

Would be too hard to convert Spartacus demo to canvas only?

 

Regards,

Denys.


  • Ekbergket, RudyAttemia, Danielfem and 5 others like this


#15874 Transpile HTML+Pascal to HTML+JS?

Posted by raytracer on 12 January 2015 - 11:51 PM

Is it possible to convert a unit containing HTML & pascal to one containing HTML & JS?

 

For example

 

From:

<html>
<head>
<script type="text/ObjectPascal">
  <!-- Pascal code here -->
</script>
</head>
<body>
</body>
</html>

To:

<html>
<head>
<script type="text/javascript">
  <!-- Javscript code here -->
</script>
</head>
<body>
</body>
</html>

  • Dany, Ekbergket, RudyAttemia and 5 others like this


#15859 Using SMS to create websites

Posted by raytracer on 10 January 2015 - 10:34 AM

I'd like to use SMS to create a website. There's a few hints that this is possible. But I can't find any documentation or guides in the forum here. 

 

How could SMS be used to create a website?

 

Is it possible to write a HTML page with embedded object pascal code?

 

 


  • MiltonOi, Ekbergket, RudyAttemia and 5 others like this


IPB Skin By Virteq