First Symbos Application

Pagina 4/47
1 | 2 | 3 | | 5 | 6 | 7 | 8 | 9

Van edoz

Prophet (2465)

afbeelding van edoz

06-01-2014, 21:38

Thanks! Compile errors are gone!! Can you share the later version Wink ?

Van Trebmint2

Master (242)

afbeelding van Trebmint2

06-01-2014, 22:02

Unfortunately not yet as its still broken... most stuff will compile fine but its wont actually work beyond drawing the form in symbos.

Will let you know when it is fixed

Van edoz

Prophet (2465)

afbeelding van edoz

06-01-2014, 22:08

I got the EXE file (code looks like this)

Global Message

Global Position1%,Position2%,Position3%,Position4%,Position5%,Position6%,Position7%
Global Position8%,Position9%,Position10%,Position11%,Position12%,Position13%
Global Position14%,Position15%,Position16%

Global X_Position1%,Y_Position1%
Global X_Position2%,Y_Position2%
Global X_Position3%,Y_Position3%
Global X_Position4%,Y_Position4%
Global X_Position5%,Y_Position5%
Global X_Position6%,Y_Position6%
Global X_Position7%,Y_Position7%
Global X_Position8%,Y_Position8%
Global X_Position9%,Y_Position9%
Global X_Position10%,Y_Position10%
Global X_Position11%,Y_Position11%
Global X_Position12%,Y_Position12%
Global X_Position13%,Y_Position13%
Global X_Position14%,Y_Position14%
Global X_Position15%,Y_Position15%
Global X_Position16%,Y_Position16%

Global OpenLocation%

IncludeSheet 1,1,32,32

;**** Code called on Opening Window Form1
FUNCTION Form1_Open


	;Set defaults

	X_Position1= 1
	Y_Position1= 1
	X_Position2= 32
	Y_Position2= 1
	X_Position3= 64
	Y_Position3= 1
	X_Position4= 96
	Y_Position4= 1

	X_Position5= 1
	Y_Position5= 32
	X_Position6= 32
	Y_Position6= 32
	X_Position7= 64
	Y_Position7= 32
	X_Position8= 96
	Y_Position8= 32

	X_Position9= 1
	Y_Position9= 64
	X_Position10= 32
	Y_Position10= 64
	X_Position11= 64
	Y_Position11= 64
	X_Position12= 96
	Y_Position12= 64

	X_Position13= 1
	Y_Position13= 96
	X_Position14= 32
	Y_Position14= 96
	X_Position15= 64
	Y_Position15= 96
	X_Position16= 96
	Y_Position16= 96



	setObjPos(Imagebox1_ID,X_Position1,Y_Position1)
	setObjPos(Imagebox2_ID,X_Position2,Y_Position2)
	setObjPos(Imagebox3_ID,X_Position3,Y_Position3)
	setObjPos(Imagebox4_ID,X_Position4,Y_Position4)
	setObjPos(Imagebox5_ID,X_Position5,Y_Position5)
	setObjPos(Imagebox6_ID,X_Position6,Y_Position6)
	setObjPos(Imagebox7_ID,X_Position7,Y_Position7)
	setObjPos(Imagebox8_ID,X_Position8,Y_Position8)
	setObjPos(Imagebox9_ID,X_Position9,Y_Position9)
	setObjPos(Imagebox10_ID,X_Position10,Y_Position10)
	setObjPos(Imagebox11_ID,X_Position11,Y_Position11)
	setObjPos(Imagebox12_ID,X_Position12,Y_Position12)
	setObjPos(Imagebox13_ID,X_Position13,Y_Position13)
	setObjPos(Imagebox14_ID,X_Position14,Y_Position14)
	setObjPos(Imagebox15_ID,X_Position15,Y_Position15)

	Position1%= 1
	Position2%= 2
	Position3%= 3
	Position4%= 4
	Position5%= 5
	Position6%= 6
	Position7%= 7
	Position8%= 8
	Position9%= 9
	Position10%= 10
	Position11%= 11
	Position12%= 12
	Position13%= 13
	Position14%= 14
	Position15%= 15
	Position16%= 16

	Openlocation = 16
	
		
	RefreshObj ImageBox1_ID
	RefreshObj ImageBox2_ID
	RefreshObj ImageBox3_ID
	RefreshObj ImageBox4_ID
	RefreshObj ImageBox5_ID
	RefreshObj ImageBox6_ID
	RefreshObj ImageBox7_ID
	RefreshObj ImageBox8_ID
	RefreshObj ImageBox9_ID
	RefreshObj ImageBox10_ID
	RefreshObj ImageBox11_ID
	RefreshObj ImageBox12_ID
	RefreshObj ImageBox13_ID
	RefreshObj ImageBox14_ID
	RefreshObj ImageBox15_ID
	RefreshObj ImageBox16_ID

	RefreshObj Form1
EndF


;**** Main loop of Form Form1
FUNCTION Form1_Main

ENDF
;****

If I run the EXE in symbos itself I got this error:

I think this has something todo with the sheet again :D ..

Anyway.. all those debugging is good for the learning part :D :D

Van Trebmint2

Master (242)

afbeelding van Trebmint2

06-01-2014, 22:57

Im looking into it now with Prodatron so hopefully we can get something working soon

Van edoz

Prophet (2465)

afbeelding van edoz

06-01-2014, 23:23

No hurry

Van Trebmint2

Master (242)

afbeelding van Trebmint2

06-01-2014, 23:26

Hey edoz. Try using the 9_94 zip and load and compile the Picture project. It seems to work and is a good example for what you're trying to do.

http://www.dreaddonkey.com/symstudio/sym9_94.zip

Van edoz

Prophet (2465)

afbeelding van edoz

06-01-2014, 23:40

Wow that's fast !.. I will try!

Van edoz

Prophet (2465)

afbeelding van edoz

07-01-2014, 00:21

AMAZING! You did already what I was planning Big smile Big smile

Wow ..WTF!! those mouse-over animations!!!!!! very cool!!! smart to use the titles!!!! I'm totally surprised!!!!! Also the moving is very smooth !!!
Amazing!

Van Prodatron

Paragon (1836)

afbeelding van Prodatron

07-01-2014, 00:34

Big smile What the hell is going on here after 6 years?! Running Naked in a Field of Flowers

Van Trebmint2

Master (242)

afbeelding van Trebmint2

07-01-2014, 00:36

Well I didnt just write that, it was one of the demo programs. You should be able to add a button to pick random images etc and add things to it. Glad you're impressed.... I know its bugged but it shows what its potential is

Pagina 4/47
1 | 2 | 3 | | 5 | 6 | 7 | 8 | 9