|
-
Jul 5th, 2001, 04:50 AM
#1
Thread Starter
Junior Member
How to create superposition of graphic calcs ?
Hello,
I'm looking for the way I could create such a superposition of graphical levels (with transparent calcs) in order to have a hierarchy in the appearing of the different graphics that I want to put in each calc.
For example:
I have some graphical forms in the calc1 and other in the calc2.
When these two calcs are moving and recovering , the calc1 must have the visible priority over the calc2.
If someone has an idea about how to realize such a function, in VB or other language that could be integrated in a VB project.
Tahnk you all
Bye
-
Jul 5th, 2001, 07:16 AM
#2
transcendental analytic
If you mean Z-ordering of your controls, you can call the Zorder function on them (if they have any) and they will be sent to the front.
Use  
writing software in C++ is like driving rivets into steel beam with a toothpick.
writing haskell makes your life easier:
reverse (p (6*9)) where p x|x==0=""|True=chr (48+z): p y where (y,z)=divMod x 13
To throw away OOP for low level languages is myopia, to keep OOP is hyperopia. To throw away OOP for a high level language is insight.
-
Jul 5th, 2001, 11:29 AM
#3
Retired VBF Adm1nistrator
she ; I'd just use an array that stores info on what's being drawn.
Say you wanted to draw graphs :
Code:
Private Layer(0 to 5) As myLayer
Private Type myLayer
Points() As myPoint
End Type
Private Type myPoint
x As Long
y As Long
End Type
Then when you want a layer to be on top of another, you'd clear your picturebox (or whatever), then draw the bottom-most layer, then work your way up to the upper-most layer.....
Thats how I'd do it.
I wouldnt listen to that kedaman guy, he doesnt really know what he's talking about. He likes to pretend he knows how to program
Microsoft MVP : Visual Developer - Visual Basic [2004-2005]
-
Jul 5th, 2001, 02:30 PM
#4
transcendental analytic
Originally posted by plenderj
Thats how I'd do it.
and did you reply to the correct thread?
Use  
writing software in C++ is like driving rivets into steel beam with a toothpick.
writing haskell makes your life easier:
reverse (p (6*9)) where p x|x==0=""|True=chr (48+z): p y where (y,z)=divMod x 13
To throw away OOP for low level languages is myopia, to keep OOP is hyperopia. To throw away OOP for a high level language is insight.
-
Jul 6th, 2001, 01:57 AM
#5
Retired VBF Adm1nistrator
yeah
Microsoft MVP : Visual Developer - Visual Basic [2004-2005]
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|