Solved

"Line" affects Shape control?

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

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering 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

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…
Background What I'm presenting in this article is the result of 2 conditions in my work area: We have a SQL Server production environment but no development or test environment; andWe have an MS Access front end using tables in SQL Server but we a…
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 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…

828 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