Search found 609 matches

by jerome
Tue Mar 15, 2016 9:40 am
Forum: General Discussion
Topic: Can i run Ecere+Gui to Html5???
Replies: 7
Views: 55861

Re: Can i run Ecere+Gui to Html5???

You can do this with Emscripten.
At the moment this requires that the browser supports WebGL.
by jerome
Fri Mar 11, 2016 1:43 pm
Forum: General Discussion
Topic: How to Compile Ecere Files To Emscripten???
Replies: 3
Views: 36663

Re: How to Compile Ecere Files To Emscripten???

Hi Lestroso, It is a somewhat complicated process to compile projects to Emscripten. In fact, I am currently trying to get one of our own projects to run. I should probably post an article about how to do this in the near future. What you are trying to do in your example though is to give a C++ comp...
by jerome
Sun Mar 06, 2016 7:28 pm
Forum: General Discussion
Topic: Problem compiling tic tac toe example....
Replies: 4
Views: 38177

Re: Problem compiling tic tac toe example....

Hi Lestroso, I'm really not sure what is causing these errors you are getting, and it will likely take a lot of back and forth to figure it out. Please give as detailed and complete information as you can. First, how did you install the SDK? Which version are you using? Where did you download it fro...
by jerome
Sat Mar 05, 2016 7:40 pm
Forum: General Discussion
Topic: Problem compiling tic tac toe example....
Replies: 4
Views: 38177

Re: Problem compiling tic tac toe example....

Hi Lestroso, It sounds like you're having a write or directory creation permissions issue. Make sure you have write permissions and permission to create a directory in the directory where the TicTacToe project and source files are located. Please let me know if that solves your problem. Best regards...
by jerome
Fri Jan 08, 2016 4:53 pm
Forum: General Help
Topic: Debugger line stepping
Replies: 2
Views: 27480

Re: Debugger line stepping

If you are using the 'Debug' config, optimizations are disabled, and you have 'Debuggable' checked (In Project compiler settings), then you are set up correctly, and are sadly suffering from some remaining limitations. Something that works particularly bad with line stepping at the moment is when yo...
by jerome
Thu Jan 07, 2016 11:06 pm
Forum: GUI Toolkit & 2D Graphics
Topic: Clearing a float DataField
Replies: 4
Views: 86771

Re: Clearing a float DataField

Hi Shakeshuck, Sorry for the late reply. The data internally is stored as a float when using a float data type. However the ListBox doesn't really provide a proper public API to query unset cells. In fact, assigning the result of a GetData() to a float will crash on a cell with an unset float value....
by jerome
Tue Jan 05, 2016 4:12 pm
Forum: GUI Toolkit & 2D Graphics
Topic: Clearing a float DataField
Replies: 4
Views: 86771

Re: Clearing a float DataField

Happy New Year Shakeshuck! We're always glad to see you back with queries! You're right that there is no built-in way to clear a ListBox data cell after it is set. There is however a method, UnsetData() to do just that. It was suffering from a bug however, for which I just pushed a fix: https://gith...
by jerome
Fri Dec 18, 2015 1:41 am
Forum: eC Language
Topic: Numeric check
Replies: 7
Views: 48615

Re: Numeric check

Hi shakeshuck,

I see what you mean.
What happens is that the data types have a 'default alignment', and setting the dataType property after the alignment will set it to that default alignment. If you change the code to set the alignment after the dataType it will work again.

Regards,

Jerome
by jerome
Thu Dec 17, 2015 12:03 am
Forum: eC Language
Topic: Numeric check
Replies: 7
Views: 48615

Re: Numeric check

Please post some sample code to compare.
If you follow my example above it should work.
(But you will need the custom type and the libecere tweak to get the 'edited' data box to follow the alignment as well)
by jerome
Wed Dec 16, 2015 1:34 pm
Forum: eC Language
Topic: Numeric check
Replies: 7
Views: 48615

Re: Numeric check

If you set the data type to e.g. float for a ListBox field, the data will normally be displayed with the alignment you setup for that field. But only when editing that data, it will be left-aligned. This could be a work around for now, if you want the editing to be e.g. right-aligned as well. class ...