Search found 240 matches

by SamuraiCrow
Fri Sep 08, 2017 7:51 am
Forum: General questions
Topic: Designer 4 not recognising Hollywood 7
Replies: 15
Views: 8934

Re: Designer 4 not recognising Hollywood 7

1Mouse wrote:Is Snoopy available for OS3.9?
http://aminet.net/package/util/moni/SnoopDos
by SamuraiCrow
Wed Sep 06, 2017 1:27 pm
Forum: General programming
Topic: Changing xml files
Replies: 8
Views: 5256

Re: Changing xml files

If the child window is called using CreateRequester then yes.
by SamuraiCrow
Fri Sep 01, 2017 5:30 pm
Forum: Newbie questions
Topic: Pick out items in treeview
Replies: 7
Views: 4894

Re: Pick out items in treeview

There are two ways to do this: Either make each item clickable by giving it a separate button with a separate ID, or supply the information as a table using the setter and getter methods of MOAI.UserData in your Hollywood code to hold the JPG, PDF, and DOC corresponding to the leaf item. I don't thi...
by SamuraiCrow
Thu Aug 31, 2017 8:14 pm
Forum: General programming
Topic: ScuiLib load image from resources
Replies: 4
Views: 2431

Re: ScuiLib load image from resources

Probably brushes and so on preprocessed by @include.
by SamuraiCrow
Sun Aug 27, 2017 3:59 am
Forum: General programming
Topic: Hypertext in treeview
Replies: 10
Views: 6786

Re: Hypertext in treeview

You could try using buttons instead of links. They should be nestable in the same way links are.

However, there might be trouble pulling up a PDF unless you use an external program.
by SamuraiCrow
Fri Aug 11, 2017 4:59 pm
Forum: General programming
Topic: comparison or assignment
Replies: 3
Views: 2292

Re: comparison or assignment

There is a C/C++ coding convention in GCC about having assignments in the middle of an expression that states that if you put two sets of parentheses around it, you meant it as an assignment. Otherwise it warns you that you may have meant to use the == comparison operator. Putting a set of parenthes...
by SamuraiCrow
Fri Aug 11, 2017 11:25 am
Forum: General programming
Topic: How I can get index of array element
Replies: 4
Views: 2541

Re: How I can get index of array element

@Bugala

Don't Array indexes start at 0?
by SamuraiCrow
Thu Aug 10, 2017 6:32 pm
Forum: General programming
Topic: How I can get index of array element
Replies: 4
Views: 2541

Re: How I can get index of array element

When you need a reverse lookup for the entries in one array, you need an index table. You can make one like this:

Code: Select all

Reverse={}
For Key,Value In IPairs(array$) Do Reverse[Value]=Key
Then you can find the index of a value by looking in the Reverse table.
by SamuraiCrow
Wed Aug 09, 2017 3:30 pm
Forum: General programming
Topic: New form
Replies: 11
Views: 6610

Re: New form

I'm waiting also.