Cheat Engine Forum Index Cheat Engine
The Official Site of Cheat Engine
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 


Making Grids? how

 
Post new topic   Reply to topic    Cheat Engine Forum Index -> General programming
View previous topic :: View next topic  
Author Message
Jorg hi
I post too much
Reputation: 7

Joined: 24 Dec 2007
Posts: 2276
Location: Minnesota

PostPosted: Thu Feb 14, 2008 6:30 pm    Post subject: Making Grids? how Reply with quote

Does anyone know how to make a grid for vb8????
_________________
CEF will always stay alive.
Back to top
View user's profile Send private message  
XxOsirisxX
Grandmaster Cheater Supreme
Reputation: 0

Joined: 30 Oct 2006
Posts: 1597

PostPosted: Thu Feb 14, 2008 7:32 pm    Post subject: Reply with quote

DataGridView?
_________________

Back to top
View user's profile Send private message  
Jorg hi
I post too much
Reputation: 7

Joined: 24 Dec 2007
Posts: 2276
Location: Minnesota

PostPosted: Fri Feb 15, 2008 3:47 pm    Post subject: . Reply with quote

No to show a grid on the form?
_________________
CEF will always stay alive.
Back to top
View user's profile Send private message  
です
Newbie cheater
Reputation: 0

Joined: 09 Feb 2008
Posts: 20

PostPosted: Fri Feb 15, 2008 11:35 pm    Post subject: Reply with quote

You could change the paint sub to draw lines when the form is drawn.
Back to top
View user's profile Send private message  
CyClonenl
Newbie cheater
Reputation: 0

Joined: 12 Mar 2005
Posts: 24

PostPosted: Tue Feb 19, 2008 2:55 am    Post subject: Reply with quote

I only know it in C#, but this would do it horizontal. You just have to rewrite it to VB, and change it for vertical too.

Code:

int lineSpacing = 10;

private void onPaint(object sender, PaintEventArgs e)
{
  Graphics graph = e.Graphics;

  int num_lines = this.Width / lineSpacing;

  for(int i = 0; i > num_lines; i++)
  {
 
    graph.drawLine(Pens.Black, 0, (i * num_lines), this.Height, (i * num_lines);
 
  }

}



Not tested, although i think it'll work...
Back to top
View user's profile Send private message  
Display posts from previous:   
Post new topic   Reply to topic    Cheat Engine Forum Index -> General programming All times are GMT - 6 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group

CE Wiki   IRC (#CEF)   Twitter
Third party websites