Help with VB6 Std & Snap Grid Feature

  • Thread starter philocrazy
  • Start date
In summary, The user is seeking help with implementing a snap grid feature in their small engineering CAD application using Visual Basic 6 Std. They have been unsuccessful in finding a method, procedure, or function for forcing the cursor to move onto the snap grid at a specific position. They are wondering if the std edition supports such a call or if there is a library that contains it. Another user suggests checking the CURRENTPOSITION function and provides a link for more information. The original user also asks if xxxx.currentx/y is a property or a function and if it moves the cursor.
  • #1
philocrazy
40
0
hi everyone
can you help me?
i use visual basic 6 std to make a small engineering cad application
i want to implement a snap grid feature but in vb6std i have been unsuccessful
the reason being i can't find a method,precedure,function
for example xxxx.cursormove(x,y)
to force move the cursor onto the snap grid at the position i want
does the std edition support such a call??
is there a lib i could use which contains such a call??

your help will be appreciated,thank you.
 
Last edited:
Computer science news on Phys.org
  • #2
check the CURRENTPOSITON function, that may do what you want.
 
  • #4
Integral :
Join Date: Mar 2003
Location: Oregon
Posts: 2,134
Read my Journal check the CURRENTPOSITON function, that may do what you want.
__________________
as far as i know xxxx.currentx/y is a property not a function,
does it also move the cursor?? i haven't tried it

thanks Integral
 
  • #5
futb0l
Join Date: May 2004
Location: Australia
Posts: 134
Read my Journal Check this out:
http://www.vbcity.com/forums/faq.as...t=Mouse#TID6688
-----------------------
thanks futb0l
 
Last edited by a moderator:

FAQ: Help with VB6 Std & Snap Grid Feature

What is VB6 Std?

VB6 Std refers to Visual Basic 6 Standard Edition, a programming language and development environment created by Microsoft. It was released in 1998 and is commonly used for creating desktop applications.

What is the Snap Grid Feature in VB6?

The Snap Grid Feature in VB6 allows developers to align and position objects in their applications on a grid, making it easier to create visually appealing and organized interfaces. It helps to ensure consistency and precision in design.

How do I turn on the Snap Grid Feature in VB6?

To turn on the Snap Grid Feature in VB6, go to the Project menu, select Grid, and then click on Snap Grid. This will enable the feature and objects will now snap to the grid when moved or resized.

Can I customize the Snap Grid settings in VB6?

Yes, you can customize the Snap Grid settings in VB6. To do so, go to the Project menu, select Grid, and then click on Grid Settings. From here, you can adjust the grid spacing, color, and other options to suit your needs.

Is the Snap Grid Feature available in other versions of Visual Basic?

Yes, the Snap Grid Feature is also available in other versions of Visual Basic, such as Visual Basic .NET. However, the steps for enabling and customizing the feature may differ slightly between versions.

Back
Top