Help with VB6 Std & Snap Grid Feature

  • Thread starter Thread starter philocrazy
  • Start date Start date
Click For Summary
The discussion revolves around implementing a snap grid feature in a Visual Basic 6 Standard (VB6 STD) application. The user is seeking a method to move the cursor to specific grid positions but is struggling to find a suitable function or procedure, such as "xxxx.cursormove(x,y)." There is a suggestion to check the CURRENTPOSITION function, which may provide the desired functionality. However, there is clarification that "xxxx.currentx/y" is a property, not a function, and it is uncertain whether it can move the cursor. The conversation also includes links to resources that may assist in resolving the issue.
philocrazy
Messages
40
Reaction score
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
check the CURRENTPOSITON function, that may do what you want.
 
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
 
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:
Thread 'ChatGPT Examples, Good and Bad'
I've been experimenting with ChatGPT. Some results are good, some very very bad. I think examples can help expose the properties of this AI. Maybe you can post some of your favorite examples and tell us what they reveal about the properties of this AI. (I had problems with copy/paste of text and formatting, so I'm posting my examples as screen shots. That is a promising start. :smile: But then I provided values V=1, R1=1, R2=2, R3=3 and asked for the value of I. At first, it said...

Similar threads

  • · Replies 2 ·
Replies
2
Views
837
Replies
11
Views
3K
Replies
3
Views
2K
  • · Replies 1 ·
Replies
1
Views
11K
  • · Replies 1 ·
Replies
1
Views
2K
Replies
4
Views
2K
  • · Replies 8 ·
Replies
8
Views
2K
Replies
2
Views
3K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 3 ·
Replies
3
Views
3K