Jump to content

Recommended Posts

  • Moderators

It's been a while since I posted (parts of) a framework for visual projects (under the tag 'shoestring' or 'native')

The aim was to code as close to the metal (browser) as possible. It has been fun developing it.

The last and final version (with latest addition : grid column resize option) 

Sources etc. freely available at

  • documentation of framework and demo's : www.lynkfs.com/native/SmartNativeFramework.pdf
  • source code : www.lynkfs.com/native/index.sproj
  • additional asset directories (mostly for included demos) : www.lynkfs.com/native/www/assets , .../images and .../pics
  • also the handwritten digits trainingset for the included neural network : www.lynkfs.com/native/www/mnist.1000 and www.lynkfs.com/native/www/filereader.js

Post closed.

 

 

Link to post
Share on other sites
  • 4 weeks later...
  • Moderators

I suppose this was bound to happen.

Not sure if I should object to this or not, after all I put source code in the public domain

Meant though for Smart users only.

Could we have a secure place somewhere which we can use to share code for the Smart community only ?

 

Link to post
Share on other sites
  • 1 month later...
  • Moderators

as an aside A DBGrid component has been added to the native/shoestring framework.

This component features sizeable columns where columns are also autosized on content. 

Works on any DB / server as long as it returns a json-structure in the format of a 'rows' object as an array of arbitrary field/value pairs

{"rows":[{
"ID":"90020",
"Category":"Triggerfishy",
"Common name":"Clown Triggerfish",
"Species name":"Ballistoides conspicillum",
"Note":"Also known as the big spotted triggerfish..."},

}]}

 

usage example :

      DBGrid1.Query    := #'
        Select
           Species_No   as "ID",
           Category     as "Category",
           Common_Name  as "Common name",
           Species_Name as "Species name",
           Notes        as "Note"
        from FishFacts';
      DBGrid1.RowHeight := 40;           //optional, default = 14
      DBGrid1.ColumnWidths[5] := 300;    //optional, overrides auto sizing for 5th column

 

Capture.JPG

Link to post
Share on other sites
  • 3 weeks later...

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...