Author Topic: Sentence Split  (Read 37790 times)

Offline Zelos

  • Bot Overlord
  • ****
  • Posts: 707
    • View Profile
Sentence Split
« Reply #30 on: October 12, 2005, 11:19:29 AM »
ok, what if I use Riquadro?
When I have the eclipse cannon under my control there is nothing that can stop me from ruling the world. And I wont stop there. I will never stop conquering worlds through the universe. All the worlds in the universe will belong to me. All the species in on them will be my slaves. THE ENIRE UNIVERSE WILL BELONG TO ME AND EVERYTHING IN IT :evil: AND THERE IS NOTHING ANYONE OF you CAN DO TO STOP ME. HAHAHAHAHAHAHAHA

Offline PurpleYouko

  • Bot God
  • *****
  • Posts: 2556
    • View Profile
Sentence Split
« Reply #31 on: October 12, 2005, 11:47:28 AM »
Do you mean for the name of your picturebox?

Doesn't matter what you call it. just put .CLS on the end of it.
There are 10 kinds of people in the world
Those who understand binary.
and those who don't

:D PY :D

Offline Zelos

  • Bot Overlord
  • ****
  • Posts: 707
    • View Profile
Sentence Split
« Reply #32 on: October 12, 2005, 12:37:38 PM »
Hey, I cant paint lines on the picture box, they disaphere behind it. btw, Riquadro is what is used in the DB graphes to have the graphes on.
« Last Edit: October 12, 2005, 12:40:43 PM by Zelos »
When I have the eclipse cannon under my control there is nothing that can stop me from ruling the world. And I wont stop there. I will never stop conquering worlds through the universe. All the worlds in the universe will belong to me. All the species in on them will be my slaves. THE ENIRE UNIVERSE WILL BELONG TO ME AND EVERYTHING IN IT :evil: AND THERE IS NOTHING ANYONE OF you CAN DO TO STOP ME. HAHAHAHAHAHAHAHA

Offline Numsgil

  • Administrator
  • Bot God
  • *****
  • Posts: 7742
    • View Profile
Sentence Split
« Reply #33 on: October 12, 2005, 12:48:34 PM »
I don't know what a riquardo is.

Offline PurpleYouko

  • Bot God
  • *****
  • Posts: 2556
    • View Profile
Sentence Split
« Reply #34 on: October 12, 2005, 12:50:57 PM »
I have never really looked at the code for graphs in DB. I really don't like the way they work so I never use them.

If you want to make the lines appear on any object in VB you have to make sure that you address the object otherwise lines will just appear on whatever the current active object is.

Let me go look over the code a bit.
« Last Edit: October 12, 2005, 12:51:15 PM by PurpleYouko »
There are 10 kinds of people in the world
Those who understand binary.
and those who don't

:D PY :D

Offline PurpleYouko

  • Bot God
  • *****
  • Posts: 2556
    • View Profile
Sentence Split
« Reply #35 on: October 12, 2005, 12:55:44 PM »
OK Riquadro is a rectangular "shape" object drawn onto a form named "Grafico"

Riquadro does not need to be used in any code. It is just four lines making up a rectangle, nothing more.

All drawing should be done with Grafico.

such as.....

Graphico.PSet (xo + xunit * 1, yo - yunit * data(k, t)), col
(taken from the RedrawGraph subroutine

the actual text is Me.PSet........etc. but that only works if the code is located inside the Grafico form.
There are 10 kinds of people in the world
Those who understand binary.
and those who don't

:D PY :D

Offline Zelos

  • Bot Overlord
  • ****
  • Posts: 707
    • View Profile
Sentence Split
« Reply #36 on: October 12, 2005, 02:15:14 PM »
but how do I remove all the lines with in it?
When I have the eclipse cannon under my control there is nothing that can stop me from ruling the world. And I wont stop there. I will never stop conquering worlds through the universe. All the worlds in the universe will belong to me. All the species in on them will be my slaves. THE ENIRE UNIVERSE WILL BELONG TO ME AND EVERYTHING IN IT :evil: AND THERE IS NOTHING ANYONE OF you CAN DO TO STOP ME. HAHAHAHAHAHAHAHA

Offline Ulciscor

  • Bot Destroyer
  • ***
  • Posts: 401
    • View Profile
Sentence Split
« Reply #37 on: October 12, 2005, 02:25:54 PM »
Graphico.CLS would sound about right from what PY has said.
:D Ulciscor :D

I used to be indecisive, but now I'm not so sure.

Offline Zelos

  • Bot Overlord
  • ****
  • Posts: 707
    • View Profile
Sentence Split
« Reply #38 on: October 12, 2005, 02:36:48 PM »
I tried with the name of the thing . cls and it didnt work
When I have the eclipse cannon under my control there is nothing that can stop me from ruling the world. And I wont stop there. I will never stop conquering worlds through the universe. All the worlds in the universe will belong to me. All the species in on them will be my slaves. THE ENIRE UNIVERSE WILL BELONG TO ME AND EVERYTHING IN IT :evil: AND THERE IS NOTHING ANYONE OF you CAN DO TO STOP ME. HAHAHAHAHAHAHAHA

Offline Ulciscor

  • Bot Destroyer
  • ***
  • Posts: 401
    • View Profile
Sentence Split
« Reply #39 on: October 12, 2005, 02:39:08 PM »
Have you done:
Code: [Select]
formname.graphico.clsif you are coding in another form or module?
:D Ulciscor :D

I used to be indecisive, but now I'm not so sure.

Offline Numsgil

  • Administrator
  • Bot God
  • *****
  • Posts: 7742
    • View Profile
Sentence Split
« Reply #40 on: October 12, 2005, 02:53:35 PM »
Try to be more specific about what didn't work and what the code looks like, etc.

And make sure you haev "Option explicit" at the top of your VB code.  It catches some programmign errors and forces you to be explicit with new variables, which is a good thing.
« Last Edit: October 12, 2005, 03:14:15 PM by Numsgil »

Offline PurpleYouko

  • Bot God
  • *****
  • Posts: 2556
    • View Profile
Sentence Split
« Reply #41 on: October 12, 2005, 03:00:16 PM »
Quote
Graphico.CLS would sound about right from what PY has said.

Actually this would be extremely bad in this case since Grafico is the actual form. It has a bunch of other stuff on it too including the afore-mentioned rectangle.
All drawing in here is done directly onto the form itself rather than into a picturebox.

A general CLS would wipe the entire form.
It would be better to replace the rectangle shape with a picturebox then draw to it instead.
There are 10 kinds of people in the world
Those who understand binary.
and those who don't

:D PY :D

Offline PurpleYouko

  • Bot God
  • *****
  • Posts: 2556
    • View Profile
Sentence Split
« Reply #42 on: October 12, 2005, 03:01:41 PM »
Quote
Have you done:
Code: [Select]
formname.graphico.clsif you are coding in another form or module?
Shouldn't need to as Grafico is the form itself. This is the highest level object in VB
There are 10 kinds of people in the world
Those who understand binary.
and those who don't

:D PY :D

Offline Ulciscor

  • Bot Destroyer
  • ***
  • Posts: 401
    • View Profile
Sentence Split
« Reply #43 on: October 12, 2005, 04:23:01 PM »
Oh right! Sorry I thought you meant grafico was a picturebox  :redface:
:D Ulciscor :D

I used to be indecisive, but now I'm not so sure.

Offline Zelos

  • Bot Overlord
  • ****
  • Posts: 707
    • View Profile
Sentence Split
« Reply #44 on: October 13, 2005, 01:48:12 AM »
I tried using the "line" command to create lines on a picture box but it didnt work :( should I do something to the picture box or command?
the line code look like this
Code: [Select]
Line (xo + Generationstepp * (N - 1), yo - Percentstepp * lastgene(1))-(xo + Generationstepp * N, yo - Percentstepp * Gene(1)), RGB(0, 100, 0)
When I have the eclipse cannon under my control there is nothing that can stop me from ruling the world. And I wont stop there. I will never stop conquering worlds through the universe. All the worlds in the universe will belong to me. All the species in on them will be my slaves. THE ENIRE UNIVERSE WILL BELONG TO ME AND EVERYTHING IN IT :evil: AND THERE IS NOTHING ANYONE OF you CAN DO TO STOP ME. HAHAHAHAHAHAHAHA