Jump to content

Recommended Posts

Posted

Hi,

 

I writhed a VBA code and when it run's the code I want to let my frame to be shown. Normal I use . hide and wen the program is don .show. then it does the whole program. But when I put this in comment then it dusn't proceed the whole program.

any Idea tho let tis run the whole program.

 

Regads and thanks

 

Thomy

Posted

you need to give us a little more to work with here

Posted

Lets try :P

 

in the program it does everything but it doesnt do te redraw, ucs movemen,and view movement. al the rest works. when I let my frame shown. And the zoom all works also but everything els not (wath is show)

 

Private Sub cmdVoorbeeld_Click()
'frmcloisontest.hide

EraseAll
RedrawAll1
RegenAll1
UcsWorld
SWVIEW

Dim punt(0 To 2) As Double
'Zet de counter op -1.
Counter = -1
punt(0) = 0
punt(1) = 0
punt(2) = 0
......

RedrawAll1
RegenAll1
ZoomAll
'frmcloisontest.Show

End Sub

Posted

in the program it does everything but it doesnt do te redraw, ucs movemen,and view movement. al the rest works. when I let my frame shown. And the zoom all works also but everything els not (wath is show)

 

 

 

Private Sub cmdVoorbeeld_Click()

 

 

EraseAllRedrawAll

RegenAll

UcsWorldSWVIEW

Dim punt(0 To 2) As Double

'Zet de counter op -1.

Counter = -1

punt(0) = 0

punt(1) = 0

punt(2) = 0

 

......

RedrawAll1

RegenAll1

ZoomAll

 

 

 

End Sub

Posted

what/why is there a 1 on the end of redrawall?

Posted

Oo I'm sorry I copy paste it and forgot to delete the 1

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...