I've managed to "reverse-engineer" <img src=icon_smile_wink.gif border=0 align=middle> most of Ccontrols last week, and have been working on a few new controls since then, namely a "real" line-edit field, a progress bar (ok, <i>that</i> one's not a big deal <img src=icon_smile_tongue.gif border=0 align=middle>) and a category selector, which is a few days away from being finished.

The line edit is a bit limited (no multi-line, no highlighting, no popup keyboard) but it works. The category selection is almost the same as with the internal Palm apps. They both use the standard (?) Ccontrol commands for set/getcontent, additem, etc.

I don't know how many people actually <i>use</i> the original Ccontrols, and how many would like to see these new controls. If there is any interest, I will actually attempt to document the routines, and post it somewhere (is there a file area on this board?).

Even if there's no interest, I'd like to say that it's been a hell of a way to learn PocketC and the Desktop compiler! <img src=icon_smile.gif border=0 align=middle>

I for one am very interested. I really like Ccontrols and my only complaint is lack of the authors availability. I found a couple of small bugs in the system but never heard from him. I also wish he would release the source code for the Ceditor program so it could be recompiled to ignore the hard/soft button buttons. It has been more than once that I been working for a while and accidently hit one of the soft buttons and Ceditor exited and I lost a ton of work.

Anyways in my opinion its the best GUI designer available for PocketC, and I would love to see further development.

Even if you dont publicly release your enhancements I'd love to try them out.

I have actually been doing the same sort of thing. I have a single line edit field done using the CControls framework and have a multi-line one sort of working. Well it works but is way too slow. We should compare notes and see what we can come up with.

Velvis: Unfortunately, (for you, if not for me <img src=icon_smile.gif border=0 align=middle> ) I'm not working on the GUI designer, just on the Ccontrols "core" code. If you still want to try out the new stuff, once I've polished it up a bit (and get my server up and running again..) I'll post it with a link to my web page.

Also, if the bugs you're referring to are within the Ccontrols source (again, not the GUI designer) let me know via email, maybe I can fix them.

Vilmos: I'm compiling a "quick reference" type documentation on what I've designed so far, and I'll email you the line edit code for your enjoyment <img src=icon_smile.gif border=0 align=middle>. I wouldn't mind looking at the code that you've designed as well, including the multi-line.

I realize the problems I am having are with the GUI designer, I just wanted to post my support for ANY continued development of the code. Perhaps this may scare the original developer out of hiding and he can contribute or release the code for the Ceditor.

As far as I know the bugs are out of the single line edit field. I'm posting the three memo files here. They are used like CControls with the specific arguments listed at the end of the first memo. The big problem is you can't use the popup keyboard.

The main procedure is commented out, remove the comments to run the simple demo, leave the comments in to use in other programs the way CControls is. Feel free to use this for whatever you like.
<pre id=code><font face=courier size=2 id=code>

Heh what a pain. A [ 8 ] without the spaces gives you a <img src=icon_smile_8ball.gif border=0 align=middle>. Anyone know how to turn the graphics off? <img src=icon_smile_wink.gif border=0 align=middle>

Now I know why I use the desktop version of PocketC, and not the device's compiler.. I used to be able to write "squashed" code like this, but not anymore. <img src=icon_smile.gif border=0 align=middle>

Anyway, I've started indenting and spacing the code so I can read it through tomorrow, and found some problems:

function Esetins(), this line is missing bits I think:
for (i=0;i s[i]=substr(*p[6],i,1);

And same with function Ein():
if ((p[5]==1) && (p[9]==1) && (x Esetins(p,x);

I'm sure this has to do with the editor used for this Web board <img src=icon_smile_sad.gif border=0 align=middle>

If it's easier, just attach the code to an email, or post/send a link to it.

Btw, the parts I've seen as I've been "decoding" your code look interesting, I see you managed to use highlighting. I didn't want to jump into that myself just yet, afraid of the performance hit during execution. I'll be looking at your work in more detail tomorrow and see if I could add something like that to my routines. I also hope to send you what I've done so far, tomorrow as well.

Oh, and is there a moderator here? Should we be moving this thread to the Ccontrols GUI board? <img src=icon_smile_big.gif border=0 align=middle>

Hmm, this web board is a pain. I'll email the files to you and see what I can do about editing that message again tomorrow. I did get the highlighting to work. The field behaves just like a real edit field except for the popup keyboard. I've been getting tempted to write one for PocketC...I've gotten stalled on the multi-line edit field though. I haven't looked at any of this code in months! Thanks for reminding me and I hope you can use some of it.

Please do send your code I'd like to see another approach to it. CControls taught me an awful lot about C and PocketC.

Wohoo! I've edited the heck out of that message and it now displays properly. To put code in you use the code button and get the tags...but that didn't work entirely. If you have a < and then some letters after it, the html gets uppity and messes up your line. So with lots of extra spaces you can now cut and paste the text into your respective editor. Of course the html removes the cr from the line so to test the code I had to paste into wordpad then copy it out of that into the PocketC desktop to get the proper line breaks, but at least the code is there. <img src=icon_smile_wink.gif border=0 align=middle>

...Finally!

The three memos have been tested and compiled. Hmm, didn't test the program but it did compile. Maybe I better do that too. Heheh.

[quote]
I for one am very interested. I really like Ccontrols and my only complaint is lack of the authors availability. I found a couple of small bugs in the system but never heard from him.

hi my name is nelson... i have attempted to contact the author... and he was kind enough to provide me a source code copy of CEditor <img src=icon_smile_big.gif border=0 align=middle> (it's a big dizzy codes bunch of codes <img src=icon_smile_dead.gif border=0 align=middle> )... i'm now working it out since i told him i would add new features to it... which will help a lot of people there who use CControls to develop programs... since he did not provide a full comment on the code but rather on a as-is basis... i'm in the process decoding it by adding comments... hopefully i will post a new version of CEditor in this board in the future... i got the codes just a few days back <img src=icon_smile.gif border=0 align=middle>

i would like to let everyone know that finally after searching the web for people who are interested in CControls & CEditor it is quite a relief knowing others use CControls too...

Since the author have kindly provided me the source code of CEditor in the hope that i could made some contribution... at this momment in time i'm trying to make CEditor readble since in it's original form there ae no comments of any kind...

i will try to decode it (since i just got the codes just a few days back... maybe 5 days ago)to make it readable and hopefully release a new version in the future since it's a very good development tool and should continue to be so...

hopefully everybody will not mind if i will not release the code first since this code is not my property to give anyway...

will try t give some progress in a few weeks time, you support and suggestion is very much appreciated...