Solved

"Line" affects Shape control?

Posted on 1998-09-15
5
338 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 50 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

What Should I Do With This Threat Intelligence?

Are you wondering if you actually need threat intelligence? The answer is yes. We explain the basics for creating useful threat intelligence.

Join & Write a Comment

Introduction While answering a recent question about filtering a custom class collection, I realized that this could be accomplished with very little code by using the ScriptControl (SC) library.  This article will introduce you to the SC library a…
I was working on a PowerPoint add-in the other day and a client asked me "can you implement a feature which processes a chart when it's pasted into a slide from another deck?". It got me wondering how to hook into built-in ribbon events in Office.
Get people started with the process of using Access VBA to control Excel using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Excel. Using automation, an Access application can laun…
Get people started with the utilization of class modules. Class modules can be a powerful tool in Microsoft Access. They allow you to create self-contained objects that encapsulate functionality. They can easily hide the complexity of a process from…

757 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

Need Help in Real-Time?

Connect with top rated Experts

21 Experts available now in Live!

Get 1:1 Help Now