HyperNext Studio > Getting Started

Beginner at Programming and need alittle help/advice

(1/1)

blacksmithkazuma:
I am going to be most likely asking alot of questions so instead of filling up the form I will just make one spot for them all here. I found this program on the idea of creating a software that can help one of my friends who runes a scrap yard. The Program I am trying to make is a smple Image/data entry page. Something along the lines of the attached documents. I worked on one last night and was able to get it somewhat working. Keep in mind I know absolutely nothing about writing scripts but I learn fast. But my goals and Ideas are:

1- In the Image Boxes (canvases) be able to click, go to a general folder to on the machines local hard drive, and input an image onto it.

2- In the Metal type boxes, allow a drop down or scroll menu to select 1 item out of many

3- Create a simple Printer Interface to print the sheets (I tried with that example in the guide and failed :( )

4- Enable the user to scroll up and down along the window using the mouse wheel

If #1 can not be done that is ok, I got it work with the simple drag and input method, which will work with what I have do to, just wondering if there is a way to load from a folder into the selected canvas.

I would like to go ahead and thank anyone who replies and when the program is finished I WILL add your name into the credits so others will know who helped.

Malkom:

--- Quote from: blacksmithkazuma on November 12, 2011, 03:55:52 PM ---1- In the Image Boxes (canvases) be able to click, go to a general folder to on the machines local hard drive, and input an image onto it.

--- End quote ---

The CanvasLoadAsk command should do this.
Here is a post about it:-

http://www.tigabyte.com/smf/index.php?topic=72.0


This post is about dragging an image to a canvas and about enabling canvas image drop as it is disabled by default:-

http://www.tigabyte.com/smf/index.php?topic=21.0




--- Quote from: blacksmithkazuma on November 12, 2011, 03:55:52 PM ---2- In the Metal type boxes, allow a drop down or scroll menu to select 1 item out of many

--- End quote ---

Here is a post and script on dropdown menus (also called popupmenus)

http://www.tigabyte.com/smf/index.php?topic=96.0




--- Quote from: blacksmithkazuma on November 12, 2011, 03:55:52 PM ---3- Create a simple Printer Interface to print the sheets (I tried with that example in the guide and failed :( )

--- End quote ---

This is answer to your other post:

http://www.tigabyte.com/smf/index.php?topic=260.0




--- Quote from: blacksmithkazuma on November 12, 2011, 03:55:52 PM ---4- Enable the user to scroll up and down along the window using the mouse wheel

--- End quote ---

This is answer to your other post:

http://www.tigabyte.com/smf/index.php?topic=259.0




--- Quote from: blacksmithkazuma on November 12, 2011, 03:55:52 PM ---I would like to go ahead and thank anyone who replies and when the program is finished I WILL add your name into the credits so others will know who helped.

--- End quote ---

Thats nice but its not necessary for me.
If we programmers credited everyone who gave us advice then the credit list would be tens of thousand of lines in length :)


blacksmithkazuma:
Thanks for all the posts, I have ready through them, still sort of greek to me but I am trying to understand. I did try the first post about the canvases, and when the, strings? where entered it gave me an error on the fname, I think for me as in what i am trying to do I need to replace the fname with a destination folder. So the user can click and choose the images in any folder within the local hard drive. I read through the language guide and did not find anything in the canvas section about how to change that or what command to write in.

I am really sorry if I am asking alot, Didnt think it would actually be so hard and have to learn so much just to do this simple program. I dont want to give up and am searching all areas of the net for information.

Malkom:
Its bound to be confusing at first but you have made a good start and are making progress building your app.

As long as one knows what their app must do then its just a matter of filling in the peices until its finished.
Its cruicial though to identify if there is anything in your app that the creation language cannot accomplish.
In your case you were having problems printing and I hope you got that sorted.



About the canvas problem - this might help.

Use this to find the full path to your images:-

http://www.tigabyte.com/smf/index.php?topic=72.msg276#msg276

Then pass the full filepath to the CanvasLoadAbs command.

If you put the contents of a variable into a field it helps debuggging but make sure your field is set to multi-line via the Creator properties. This way you can see where the error occurs in your script.

eg

--- Code: ---Put filename into field 1
--- End code ---


Navigation

[0] Message Index

Go to full version