Forum Replies Created
-
AuthorPosts
-
liqian
Participantfile.Readline/Read returns the next line/bytes from a file, so it should keep the current position by default.
liqian
ParticipantHi,
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
liqian
ParticipantHi,
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
liqian
ParticipantHi Joshob,
Suneido is case sensitive, please try exStyle instead of exstyle
Thanks
liqian
ParticipantHi 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') ) ) ) }
liqian
ParticipantI 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
liqian
ParticipantI 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.
-
AuthorPosts