Archived

This topic is now archived and is closed to further replies.

Motwner

V.B. Help....CRUCIAL!!!!!!!!!!!

Recommended Posts

Motwner    122
I am doing a program that has me printing out 4 different rows of asteriks with 4 different command buttons. My problem is that my rows print below each other rather than side-to-side. How do I get these rows to go side to side? Here is what it is doing: * ** *** **** ***** ****** ****** ***** **** *** ** * I want it to do this: * ****** ** ***** *** **** **** *** ***** ** ****** *

Share this post


Link to post
Share on other sites
nes8bit    275
I havne't tested this since I just wrote it as I posted..

    
Sub Form_Load()
Dim I as Long

For I = 0 to cmdButton.Count - 1
cmdButton(I).Caption = String(I,"*") & " " & String(cmdButton.Count - I,"*")
Next
End Sub



yay

---------------------------------------------


[edited by - nes8bit on March 20, 2002 9:04:27 PM]

Share this post


Link to post
Share on other sites
Programmer One    746
Hmmmmm, sounds like homework to me....

This problem is not really language specific, all you need is an algorithm - put some pseudocode onto paper and try to work it out.


_____________________________________________________

ICQ #: 149510932
Google - OpenGL - DirectX - Windows Guide Network - MSDN - Symantec Virus Info
"Imagination is more important than knowledge." - Albert Einstein

Share this post


Link to post
Share on other sites
Guest Anonymous Poster   
Guest Anonymous Poster
quote:
Original post by VBDios
Fuck Matt Wingblad, fuck him up his stupid fucking ass.

You can''t handle this.


?

Share this post


Link to post
Share on other sites