Solved

"Line" affects Shape control?

Posted on 1998-09-15
5
351 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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

Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Suggested Solutions

Introduction In a recent article (http://www.experts-exchange.com/A_7811-A-Better-Concatenate-Function.html) for the Excel community, I showed an improved version of the Excel Concatenate() function.  While writing that article I realized that no o…
You can of course define an array to hold data that is of a particular type like an array of Strings to hold customer names or an array of Doubles to hold customer sales, but what do you do if you want to coordinate that data? This article describes…
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…
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…

749 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