Page 1 of 2

BETA Tester required SOON

Posted: Thu Oct 13, 2011 3:09 am
by djrikki
BETA Tester required SOON

So I need some volunteers to look out for 0.4 of rl_funcs.lha in the next few coming days on OS4Depot.

In the archive will be a drawer titled Text Entry.

In the drawer will be some source code along with a Codebench project file which I want volunteers to compile and test for me.

Text Entry is a complete replacement for StringRequest(). With it you can insert TextFields into a window directly (hallelujah!).

Features:

* Mark text (works with keyboard only atm, might work on mouse support in 0.5 dunno lets see how far I can get)
* Cut, Copy and Paste
* Field Type: Number or Text
* Number fields have 'Spinboxes' next to them with wheel-support
* Number fields, you can specify min and max values
* Text fields can easily be defined as password fields with correct asterisk masking on-screen
* Text fields, possible to define whether a string is REQUIRED or OPTIONAL
* Text fields, placeholder text is possible - *think HTML5*

I've also refined buttons to look even more like AmigaOS buttons so don't forget to check out
the rest of the source and have a play around.

So yeah, volunteers required - I wanna find out if anyone can break it!

Please post here if your interested in volunteering.

Thanks in advance.

Re: BETA Tester required SOON

Posted: Thu Oct 13, 2011 5:03 pm
by djrikki
For anyone who is looking forward to this, it sure is surprising how much work it takes to create a simple textbox with all the features you would expect of one!

Been working on and off on it all week, got text marking by the keyboard done this afternoon, apart from getting the mouse to achieve the same thing, I have
'delete selected text' left to finish.

Re: BETA Tester required SOON

Posted: Thu Oct 13, 2011 7:42 pm
by djrikki
NOW AVAILABLE ON OS4Depot, check upload queue first.

See rl_funcs.lha version 0.4.

Please fully test this for me. Thanks. :D

Re: BETA Tester required SOON

Posted: Fri Oct 14, 2011 3:24 pm
by Clyde
Is there a reason, why it should only work on OS4? Can I test/compile it under OS3 as well?

Re: BETA Tester required SOON

Posted: Fri Oct 14, 2011 8:19 pm
by djrikki
Possibly. Only the OK button uses AISS icons. Give it a try and find out.

Re: BETA Tester required SOON

Posted: Sun Oct 16, 2011 3:07 pm
by Clyde
Hm, to be honest, I have problems how to use it (I don't have Codebench, just Cubic/HW4C on OS3.x). In your OS4Depot page you write someting about a working example of p_StringRequest? Where/In which file do I find it?

I also tried to compile main.hws under the folder "Text Entry" (as I think this is the way supposed to do!?), but this ends in a compile error in commonroutines.hws in line 25 (Table locale{} not declared).

Re: BETA Tester required SOON

Posted: Sun Oct 16, 2011 10:12 pm
by djrikki
To gain a working example you first to have to compile it. All the relevant files are contained in the folder Text Entry.

Commonroutines.hws in the folder Text Entry should have locales defined in the source (1), and the only one in there relates
to the OK button. Careful not to get commonfunctions.hws in the root folder mixed up with the one in Text Entry.

If you still got problems, try declaring Global locale in main.hws and on a new line type locale = {false}. Have a play around,
its not the biggest program in the world.

Re: BETA Tester required SOON

Posted: Sun Oct 16, 2011 10:23 pm
by djrikki
I'll tell you what'll do, I'll put the executable in the package and re-upload to OS4Depot, so you can at least see what you are missing.

Re: BETA Tester required SOON

Posted: Sun Oct 16, 2011 10:28 pm
by djrikki
Ok its now on OS4Depot, look in the upload queue.

Re: BETA Tester required SOON

Posted: Sun Oct 16, 2011 10:33 pm
by djrikki
Ok, in the source code there are 3 locales, but that shouldn't stop the program from compiling.

If thats the case which is very odd, open main.hws and type somewhere near the top:

Code: Select all

Global locale

locale[122] = "AAA"
locale[147] = "BBB"
locale[453] = "CCC"
If you see one of those appear in a dialog box when you run TextEntry it means it cannot load AISS brushes from tbimages: