?
Solved

"Line" affects Shape control?

Posted on 1998-09-15
5
Medium Priority
?
380 Views
Last Modified: 2012-05-04
Why the Label and Shape not happy when I do
Line(,)-(,),color,BF
but the text box is OK?
The line didn't go through the Label and Shape.

Don't tell me use Picture or Text boxes instead :-)
0
Comment
Question by:victorlong
5 Comments
 
LVL 2

Expert Comment

by:wj7ster
ID: 1435116
What are you trying to do?
0
 
LVL 12

Expert Comment

by:mark2150
ID: 1435117
I assume that you've got some values in the (,)'s?

When you say "not happy" what is problem?

LINE...,B sometimes acts like ,BF on certain printers, If you don't want filled box, then safest is to draw box as four lines.
0
 
LVL 1

Accepted Solution

by:
cvidler earned 150 total points
ID: 1435118
there are three layers used by VB to posistion its controls. The is the form layer (where line(,) on the form goes). The lower layer (where graphical controls goes, lines, labels, shapes, etc.) and the high level (buttons, text boxes, picture boxes) Now even if using hte ZOrder method controsl can not leave their layer, so a button (or text box) will ALWAYS cover a shape or line. No way around this, sorry!
0
 

Author Comment

by:victorlong
ID: 1435119
Hi Experts,

Thank you.

When I did Line (..,..)-(..,..),someColor,BF on the form, the shape glittered strongly, no matter the line went though under the shape or not.

As Cvidler said that the shape is on the higher layer than the layer the Line(,) located, so why the shape still be affected?

How to avoid it?
0
 
LVL 1

Expert Comment

by:cvidler
ID: 1435120
I don't think there is any way to avoid this.
My only sugestion is to all your graphics in one big picture box, or directly on the form.
0

Featured Post

VIDEO: THE CONCERTO CLOUD FOR HEALTHCARE

Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

The debugging module of the VB 6 IDE can be accessed by way of the Debug menu item. That menu item can normally be found in the IDE's main menu line as shown in this picture.   There is also a companion Debug Toolbar that looks like the followin…
When trying to find the cause of a problem in VBA or VB6 it's often valuable to know what procedures were executed prior to the error. You can use the Call Stack for that but it is often inadequate because it may show procedures you aren't intereste…
Get people started with the process of using Access VBA to control Outlook using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Microsoft Outlook. Using automation, an Access applic…
This lesson covers basic error handling code in Microsoft Excel using VBA. This is the first lesson in a 3-part series that uses code to loop through an Excel spreadsheet in VBA and then fix errors, taking advantage of error handling code. This l…
Suggested Courses
Course of the Month13 days, 11 hours left to enroll

755 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question