Forum Replies Created
-
AuthorPosts
-
ajith
ParticipantHi Andrew,
Thanks for your reply. The button is showing up now.Thanks,
ajithajith
ParticipantHi Andrew and Liqian,
Thanks for the explanation and pointing out my error. Everything is working fine after correcting my error.
ajith
ajith
ParticipantHi Andrew.
Yes, that small addition does the magic.
But, when the layout is complex, I get an error message – uninitialized member: “Name”
This happens when Repeat is kept inside two containers of the same type as in this example#(Vert field_a field_b (Horz Fill Vert( (Repeat(Horz sub_1 sub_2) name:field_c)))))
Adding a Name:”V2″” to the inner Vert brings another error- uninitialized member: “YStretch”.
Please do explain a bit of what is happening when a name argument is given / which other controls can be used in a similar fashion to enter data into a field (without using a field definition).
Thanks,
ajithajith
ParticipantHi,
The link in Downloads page https://suneido.com/downloads/ points to the suneido20180115.zip
https://github.com/apmckinlay/csuneido/releases/download/v20180115/suneido20180115.zip
ajithajith
ParticipantHi Jeff,
Thanks for your reply. May be I missed some error as you say. Except for the initial trouble I had which was solved by re-defining the table, it is working as I wanted.
Thanks,
ajithajith
ParticipantHi Jeff,
Thanks to your reply. Great to hear from you after a long time.
I deleted my table and re-created it and the trigger is getting called. But, it is not working as expected, instead it is giving an error. I will look into that error and get back if I need your help.
I noticed that the trigger doesn’t get called if the the library entry for the trigger is made after the table is constructed. I checked it twice by deleting the table and re-creating it and got the same pattern. I am running Suneido as standalone. My table has a details table linked to it and has two keys, one of which is a compound key from three columns.
Thanks,
ajithajith
ParticipantHi Andrew,
Thanks for your reply. I am really amazed to see so much options. I have decided to go with the CallClass way. The zipped exported library record is attached. Please do include it in next release if you think it would be useful for others too.
Thanks,
ajithAttachments:
You must be logged in to view attached files.ajith
ParticipantHi,
Thanks for your reply. I am not sure if I understand your suggestion. I think you are suggesting to not bring up the Repeat control as a dialog, but use a modification of it as a field definition. If so, I will explore that too.
Thanks,
ajithajith
ParticipantThanks both of you for your replies. I tried what Andrew suggested and it is working well.
Thanks
ajithajith
ParticipantHi,
I did it! I removed one character at a time and after removing 8 characters, Suneido asked for rebuild. Thanks a lot. You saved a lot of my work.
Given the trouble I caused myself, may I ask if it will be a lot of work to implement the option of rebuilding up to a user given time?
Thanks a lot,
ajithajith
ParticipantHi,
I tried with Notepad++ and with Scite. However, I am getting the error: “..\mmfile.cpp:61:ERROR:assert failed: (file_size% MM_ALIGN)==0” when I try to corrupt the database. I did try many different combinations of inserting / deleting /altering characteristics each time on a fresh copy of the backed up db file. But, I keep on getting the above error. I am assuming that I am not breaking the file at the right spot and that I should try again. However, because the error is the same, I just want to make sure that I am not missing anything.
Thanks,
ajithajith
ParticipantHi Andrew,
Thanks for the quick reply. I knew it was not going to be easy. Happy to hear that there are some possibilities. I will check them and get back.
I did keep a copy as soon as I recognized the blunder I did.Thanks,
ajithajith
ParticipantHi,
Thanks for clarifying that.
Some how I was under the impression that Display wont add additional quotes if its argument was a String. Yes, I am using ob[0]$ob[1]ajith
ajith
ParticipantHi,
Following a suggestion by Andrew by email,instead of commenting out the List_HeaderContextMenu of BrowseControl, I tried changing it to:
List_HeaderContextMenu(x, y) { if .readOnly return 0 else return ContextMenu(.menu.Copy().Add("", "Reset Columns", at: .menu.Size())).ShowCall(this, x, y) }
Apparently, this is working as expected with all context menus working when the Browse isnt protected and hidden when it is readOnly.
Thanks,
ajithajith
ParticipantHi,
Thanks for the reply. It is working.
My mistake was that I specified the second argument as MshtmlControl(‘hello world’) instead of #(Mshtml ‘hello world’). I assumed that it was because of a problem of Mshtnl because I could not find CallClass method which UserManual refers to in the section on Dialog – “A Controller that is designed to be used in a Dialog commonly defines a CallClass like …”
Sorry for the silly mistake.
Thanks again,
ajith
-
AuthorPosts