?
Solved

"Line" affects Shape control?

Posted on 1998-09-15
5
Medium Priority
?
366 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 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

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

I’ve seen a number of people looking for examples of how to access web services from VB6.  I’ve been using a test harness I built in VB6 (using many resources I found online) that I use for small projects to work out how to communicate with web serv…
Introduction While answering a recent question (http://www.experts-exchange.com/Q_27402310.html) in the VB classic zone, I wrote some VB code in the (Office) VBA environment, rather than fire up my older PC.  I didn't post completely correct code o…
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…
Suggested Courses
Course of the Month15 days, 9 hours left to enroll

743 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