Suneido

Integrated Application Platform

  • Home
  • Learning
    • Suneido Manual
    • Beginners
      • Inside Suneido
      • The Suneido Programming Language
      • The Suneido Database
      • Installing Suneido
      • Building Suneido
      • IDE Go To Tour
      • Upgrading To A New Release
    • Advanced
      • Canvas Control
      • DrawControl Part 1
      • DrawControl Part 2
      • DrawControl Part 3
      • SAX Like XML Processing
      • A Plug-In Architecture
      • A Simple Wizard Framework
      • An HTML Include Facility
      • An RSS 2 Feed Creator
      • MIME Generation
      • A New Add-on Facility
      • Workspace Improvement Hack
    • Mockito for Suneido
    • The Suneido Task Scheduler
    • Contributing To Suneido
    • Contributor Assignment of Copyright
    • Language Translation
    • Future Directions
    • Interview With Andrew Mckinlay
  • Forum
    • Announcements
    • Internals & Enhancements
    • Cookbook
    • General
  • FAQ
  • Screenshots
  • Downloads
  • Links

liqian

  • Profile
  • Topics Started
  • Replies Created
  • Engagements
  • Favorites

Forum Replies Created

Viewing 7 posts - 1 through 7 (of 7 total)
  • Author
    Posts
  • June 3, 2019 at 8:31 am in reply to: Read a file from where I left off #1464
    liqian
    Participant

    file.Readline/Read returns the next line/bytes from a file, so it should keep the current position by default.

    February 19, 2018 at 11:08 am in reply to: Sorting on columns #1383
    liqian
    Participant

    Hi,

    If you want to sort on a particular column, you can change your query string to sort on the field directly.

    I just realized you get the example from the User’s Manual for ListViewControl, and sorry, we haven’t updated this page yet.

    Thanks

    February 19, 2018 at 10:42 am in reply to: Todo app #1382
    liqian
    Participant

    Hi,

    We havn’t updated todo.zip with the latest version of suneido yet.

    The new suneido does not support “True”/”False” any more, please replace “True” to “true”, and “False” to “false” in TodoControl

    You might run into same problem in other controls

    Thanks

    February 16, 2018 at 9:19 am in reply to: Gridlines #1378
    liqian
    Participant

    Hi Joshob,

    Suneido is case sensitive, please try exStyle instead of exstyle

    Thanks

    February 6, 2018 at 6:10 pm in reply to: Using Repeat Control for Data Entry #1372
    liqian
    Participant

    Hi Ajith,

    I think you have wrong parentheses around vert

    Please try the following code:

    Controller
    	{
    	Controls: ('Access' 'mytable'
    			#(Vert 
    				field_1 
    				field_2
    				Fill
    					(Vert
    						(Repeat (Horz sub_1 sub_2) name: 'field_3')
    					)
    			)
    		)
    	}
    August 6, 2017 at 12:29 pm in reply to: A field to enter structured text #1318
    liqian
    Participant

    I can see the field could very long, and hard to read with different separators

    You could use create a control to inherit from RepeatControl, and use it in the field definition, then the field can be used on the screen directly, and saved as object

    And it expands/shrinks automatically on the screen

    For validation, you could override Valid? method to add your own validation

    August 6, 2017 at 11:59 am in reply to: Writing a file with hex values #1317
    liqian
    Participant

    I don’t think there is an existing function to display hex value string

    so we need something like the following code

    n = 0x0D06
    map = ‘0123456789ABCD’
    s = ”
    while (n >= 1)
    {
    c = n % 16
    s = map[c] $ s
    n = (n – c) / 16
    }
    s.LeftFill(4, ‘0’)

    we probably could add to Numbers as well

    f.Write(0x0D06) converts the hex number to decimal number automatically, the future version of cSuneido will not convert automatically anymore, and will throw error instead.

  • Author
    Posts
Viewing 7 posts - 1 through 7 (of 7 total)

Search Forums

Log In
Welcome to the new Suneido Web Site and Forum.
Register
Lost Password
users of the previous PHPBB Forum should be able to log in with their previous username and password.

Recent Topics

  • Alpha copy of gSuneido to play with
  • how to start jsuneido ?
  • Problem Starting Suneido…
  • Dialog not showing buttons
  • New link for Suneidojo

Contact Us | Legal Statement | Privacy Statement | SiteMap

Copyright © 2023 Axon® Development Corporation. All Rights Reserved. - Open Source Integrated Database and Programming Language