Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
...
#1
I reached the max amount of controls on frmMirage...
Reply
#2
You have 255 controls? 0_O
Reply
#3
I reached that a long time ago, just make objects arrays, like, don't use optGround, optMask, optAnim, optFringe, etc. Use optLayer(0), optLayer(1), optLayer(2), optLayer(3), optLayer(etc). And repeat the process... It takes a while xD
Reply
#4
Dragoons Master Wrote:I reached that a long time ago, just make objects arrays, like, don't use optGround, optMask, optAnim, optFringe, etc. Use optLayer(0), optLayer(1), optLayer(2), optLayer(3), optLayer(etc). And repeat the process... It takes a while xD

That's pretty smart. Of course, you remove quite a bit of controls if you move the map editor.
Reply
#5
Dave Wrote:Looks like it's time to start coding efficiently.
It has nothing to do with that. I have so many labels due to the item description, spell description and stats menu. And also because I have so many menus..

I dont have the map editor on frmMirage. Gotta remove many controls though, so making them into arrays just counts as 1. Nice
Reply
#6
Simple:
Draw everything on screen through DirectX =P
Reply
#7
I know I'm suppose to be supportive of you William, but having 200+ controls on one form is ridiculas. I know i saw a lot of controls on the form when i looked at it but i didn't know it was 200+.
Reply
#8
bhenhur Wrote:I know I'm suppose to be supportive of you William, but having 200+ controls on one form is ridiculas. I know i saw a lot of controls on the form when i looked at it but i didn't know it was 200+.
Well depending on what each control is doing, it shouldn't slow down an average computer these days, so in reality, it's only a mess, not a something that's bad... unless you're like me and hate messes.
Reply
#9
Ew. I don't even have 50 >
Quote:Robin:
Why aren't maps and shit loaded up in a dynamic array?
Jacob:
the 4 people that know how are lazy
Robin:
Who are those 4 people?
Jacob:
um
you, me, and 2 others?
Reply
#10
Iluvlamp Wrote:
bhenhur Wrote:I know I'm suppose to be supportive of you William, but having 200+ controls on one form is ridiculas. I know i saw a lot of controls on the form when i looked at it but i didn't know it was 200+.
Well depending on what each control is doing, it shouldn't slow down an average computer these days, so in reality, it's only a mess, not a something that's bad... unless you're like me and hate messes.

lol, cant stand messy projects & code. I sometimes take a whole minute just to come up with the best name for a variable. :?
Reply
#11
My frmMirage is covered with labels, lets count some on it. I got:
Spell Description: 28
Item Description: 16
Trade Menu: 26
Never mind, lets just look at this..
http://img442.imageshack.us/img442/5484/hmmiw5.png

There are just so many things that I need on frmMirage. Guess I could put a few menus in other forms, but does it really matter.
Reply
#12
bhenhur Wrote:
Iluvlamp Wrote:
bhenhur Wrote:I know I'm suppose to be supportive of you William, but having 200+ controls on one form is ridiculas. I know i saw a lot of controls on the form when i looked at it but i didn't know it was 200+.
Well depending on what each control is doing, it shouldn't slow down an average computer these days, so in reality, it's only a mess, not a something that's bad... unless you're like me and hate messes.

lol, cant stand messy projects & code. I sometimes take a whole minute just to come up with the best name for a variable. :?
Oh god... I need to have the perfect variable names too... *type*.... *backspace*....*type*....*backspace*...etc

If I really don't care I just use single letters =P

William Wrote:My frmMirage is covered with labels, lets count some on it. I got:
Spell Description: 28
Item Description: 16
Trade Menu: 26
Never mind, lets just look at this..
http://img442.imageshack.us/img442/5484/hmmiw5.png

There are just so many things that I need on frmMirage. Guess I could put a few menus in other forms, but does it really matter.
Why not make all of the non-changing labels all object arrays. They'll only take up one count of control on the form even if you have like 100.
Reply
#13
I will remove all the edit forms efore release. There aint really many controls I can get rid of o my frmMirage..
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)