TECHNOLOGIES
FORUMS
JOBS
BOOKS
EVENTS
INTERVIEWS
Live
MORE
LEARN
Training
CAREER
MEMBERS
VIDEOS
NEWS
BLOGS
Sign Up
Login
No unread comment.
View All Comments
No unread message.
View All Messages
No unread notification.
View All Notifications
Answers
Post
An Article
A Blog
A News
A Video
An EBook
An Interview Question
Ask Question
Forums
Monthly Leaders
Forum guidelines
sarika.paralkar
NA
3
0
Graphics and Step keyword
Mar 15 2005 10:22 AM
Hi, I am migrating a VB 6.0 app to VB.NET and am stumped about the migration of the Step keyword that the vb 6.0 Line function uses. eg //----------------------------------------------------------------- Pic.Line (X - 2, Y - 2)-Step(m_Width + 4, m_Height + 4) //----------------------------------------------------------------- The upgrade wizard converted the above line to //--------------------------------------------------------------- Pic.Line (X - 2, Y - 2)- (m_Width + 4, m_Height + 4) //--------------------------------------------------------------- Is this correct or has the upgrade wizard simply missed the "Step" keyword? I have tried googling about the equivalent of the Step keyword/relative co-ordinates in VB.NET, but have not found anything yet. I found a function that gets the current mouse position //----------------------------------------------------------------------- LocalMousePosition = myControl.PointToClient(Cursor.Position). //----------------------------------------------------------------------- However I am not sure if this is the right replacement for the Step keyword. Any help would be appreciated. Thank you. Sarika
Reply
Answers (
0
)
Referencing C# Corners logo in my website?
proveIt.com