Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

Messages - tools-n-stuff

Pages: 1 [2] 3
Getting Started / Re: search box's
« on: October 26, 2010, 05:58:08 PM »
OOPs! I forgot to mention that one, i have as follows:

Code: [Select]
Global searchIndex

@ Which field to search

Put PopupIndexFN(1) into searchIndex
Put PopupTextFN(1) into searchIndex

General / Re: Just a couple of questions
« on: October 26, 2010, 05:54:59 PM »

    tools-n-stuff wrote:When is version HN.4 coming to the net?

Soon - a lot is happening here - but I can't say more right now.

Hmm, very secretive  ;)

General / Re: Centering cards
« on: October 26, 2010, 05:52:54 PM »
Cool, thanks Malkom

General / Just a couple of questions
« on: October 26, 2010, 01:34:17 PM »
If i find what maybe a bug where do i post what i find?
Maybe a new forum section!?

When is version HN.4 coming to the net?

The splash screen on startup, isn't needed (by me), how can i remove it? oops found the answer in another thread for this one

Are you and tigabyte, the same thing?

General / Centering cards
« on: October 26, 2010, 01:29:40 PM »
I guess the title says it all, but i was wondering if there wasn't a way of having the cards display in the center of the screen?

Getting Started / Re: search box's
« on: October 26, 2010, 01:04:01 PM »
MODIFIED - names only

Thats great thanks, and i can understand your lack of time, i wasn't having a go at you  :oops:

Just a thought, maybe this whole thread could be moved to 'Interface Controls'

This is from the searchfields in the main code:

@ --- Get list to search ---
If fnum=1 Then
   If fnum=1 Then
    Put titleVar into searchlist
If fnum=2 Then
    Put authorVar into searchlist
If fnum=3 Then
    Put publisherVar into searchlist
If fnum=4 Then
    Put commentVar into searchlist
If fnum=17 Then
    Put dateVar into searchlist
If fnum=18 Then
    Put languageVar into searchlist
If fnum=19 Then
    Put salesVar into searchlist
If fnum=20 Then
    Put otherVar into searchlist

Put LinesFN(titleVar) into nbooks

Clear searchResults

For n=1 to nbooks
      Put line n of searchlist into buff
      Put FindWordFN(buff,sword) into wpos
      If wpos>0 Then
         Put n after searchResults

Put searchResults into field 5

And this is from the card:
Local plist

Put 'Title' into plist
Put 'author' after plist
Put 'Publisher' after plist
Put 'Comment' after plist
Put 'Date' after plist
Put 'Language' after plist
Put 'Sales' after plist
Put 'Other' after plist

@ set line endings for Windows platform
Local endline
Put EndLineFN(3) into endline
Put ReplaceEndsFN(plist,endline) into plist


Global searchResults

Put searchResults into field 5

Call DisplayRecord

and finaly this is the button script:
Global searchIndex
Local sword

Clear field 5

Put field 21 into sword
Call SearchFields(searchIndex,sword)

I think thats all is needed, but please correct me if i am wrong.
I guess from the plist you can guess what i am trying to achieve!

MODIFIED - names only

Getting Started / Re: search box's
« on: October 26, 2010, 12:29:03 PM »
I spent most of last night and this morning going over the guides (built in and online) and can't work out why it only works on the 1st plist item.

Now knowing you program 7 days a week, i imagine asking you to look over my project is out of the question?

Getting Started / Re: search box's
« on: October 25, 2010, 08:41:29 PM »
Now i don't understand whats going on.
Where-as i said before the plist is place, but not sending the search results back. Well it is now. All i have done is switch my PC off and come back a couple of hours later and the damn thing is working. I don't get it!

Ok its not working entirely as it only sends results back from the first plist item, but i guess i will eventually find it (probably with your help).

As for adding a debug message, well you got me again.

In the 3d markup language i use i only have to add <debug> at the top of the page and it does the job when trying to run the 3D environment. If there is a bug somewhere then it will show, what and where.

I tried this in HN but that returned as a bug  :D

Anyway, im off to see if i can find out why the plist only works for the first item

Getting Started / Re: search box's
« on: October 25, 2010, 05:50:14 PM »
Oh man, i am at the point of giving up, 3 days wasted on a damn dropdown menu. I bet your having a good old laugh at my expense.

No i hadn't declared endline as a variable and now that i have it shows the list but wont send back the search results.
Once again i have looked everywhere to try and find the solution.

I don't suppose you have a working example i can use, because getting bits of info every now and again is doing my head in and its not helping me learn or understand what i am doing.

Thanks again for being patient!

Getting Started / Re: search box's
« on: October 25, 2010, 11:58:26 AM »
Thanks for that!
I have gone over the strings section in the guide but it only says what you can place. It doesn't help explain where and why, which is obviously what i need because your new addition to the code gives back an error message as follows:

  ^ Invalid destination
Put EndLineFN(3) into endline

I have once again tried to change a couple of things and at best i get an empty dropdown menu with space for a list of 2 lines. So i put the code back to the way you changed it.

Im sorry i can't get my head round this yet, i am used to HTML, 3DML and Flash(3DFA), and installing and themeing forums (phpbb, simplemachine etc)

Getting Started / Re: search box's
« on: October 25, 2010, 12:34:43 AM »
I have spent the whole day going over the quick start and reference guide and i still can't get the list to show as a list. It continues to display as a single line of text.

I don't know if you read the post just before this one!? But basicly it works, but it will only search for the Title. I believe this is because the whole list is on one line and im hoping that when the list becomes a list it will allow a full search through all fields.


Getting Started / Re: search box's
« on: October 24, 2010, 05:15:34 PM »
Heh heh! Well spotted!

You are correct, after pasting my 4 other additions to the plist i forgot to change them from 'into' to 'after':
As for displaying the result, my bad, i forgot to tell the button where to display.
So basicly it works, except for one small thing that i have spent the last 2 hours trying to find.

The plist is not showing as a list but as one line of text.
I 'think' that it has something to do with this:


I have tried changing values, removing one line at a time and even both. Yes there are changes each time but not the one i want.

I will go back now and try to work it out. I will come back and let you know if and when i get it to work.
Unless you manage to see this before i do and you have the solution.


Ok back again.
I have tried to put the plist into a firld as you suggested and it displays as a list, good.
But the drop down list is still showing as one line and not as a list!!??

Databases / Re: HyperNext as database, where is data stored?
« on: October 23, 2010, 08:36:01 PM »
I noticed when working on the book example that quiting will save all pages created but only the data contained on the first entry. All the other pages data isn't saved.
Could this have something to do with arrays and if so how do i go about setting one up?


Getting Started / Re: search box's
« on: October 23, 2010, 06:59:53 PM »
Right i've got a general idea after going over the guide and somethings still not right.
Firstly the plist is only displaying the last option out of 8 leaving you without a choice.
Secondly the search part simply doesn't return results.

Obviously i need to read and learn (as you mentioned/suggested), but how many times do i read the guide before i give up.

For me this example doesn't work, and for you: You think it may work but you haven't tested it. (  :)  remind me not to buy a car from you)

As a user i can understand that you haven't the time to invest in noob non programmers, thats down to the software owners, (unless they don't really "understandably" care about their own "freeware" products)
I don't suppose you know of any other users or forums where i can find someone to help?

And thanks again.

Graphics / Re: User selected image
« on: October 23, 2010, 04:50:00 PM »
Situation Update:

Ok after further testing, i have now discovered that .stk files do not liked being opened directly by double clicking them. It makes the program crash when the button is pushed.
But if i open the player and the use it to open an stk file then it works just fine. I guess i should be happy with that, and yes i am overjoyed, but i really need the exe file to work as well.
I'll keep you informed and let you know if and how i get it working.

Pages: 1 [2] 3