473,804 Members | 2,180 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Moving Invisible Objects

2 New Member
I have a form with a list of OLE objects imported from Excel (they might as well be images or labels, doesn't matter.)

Form_Current() is set up so when a check box is ticket (one for each object) they are visible or invisible

If PropCD820 = vbChecked Then
PriceCD820.Visi ble = False
Else
PriceCD820.Visi ble = True
End If

Simple enough.. the PROBLEM is to rearrange the visible ones to be one after the other (to avoid white space on the form.)

Any suggestions? Like how to anchor them together when visible?

I'm sure there's more than one way to do this, but any help is much appreciated.
Feb 4 '09 #1
2 1487
ChipR
1,287 Recognized Expert Top Contributor
I'm not sure what you can do with the objects, but if you were working with labels, you would just determine how many you needed, make that many visible from the top going down, and change the label captions to the ones that are visible. In effect, you just have placeholders.
Feb 4 '09 #2
layhan
2 New Member
Thanks for your Reply but,the problem is that the objects (could also be labels) are visible only when you check a box (corresponding to that label) in a seperate form. So I have 10 check boxes corresponding to 10 labels. The checked ones become visible. The INvisible ones still take up space however.
I need it to all be flush and not waste space (to then export it to pdf and print.)

Can you help?
Feb 4 '09 #3

Sign in to post your reply or Sign up for a free account.

Similar topics

0
1935
by: HeroOfSpielburg | last post by:
hi, I know this is a much-travelled subject, but I was wondering what people's thoughts were on the bare minimum (and conversely the grand scheme) for augmenting standard memory references to handle moving objects around in memory (as is needed in compaction algorithms associated with 'moving collection' aka 'copy collection'). There are a number of ways to handle this without affecting the overarching structure of one's program (albeit...
5
8228
by: Harry Gould | last post by:
To all, I'm a newbie here, so please bear with me. I develop web pages for a company intranet where Internet Explorer 6 is the standard. Now I must develop a public internet website that is browser-agnostic (i.e., works with Netscape, version 4x, 7x, etc). My question is this: I have about 10 table rows, each tagged with a class attribute (<tr class="billing" style="display:none">) that I wish to make visible or invisible in response...
8
1759
by: Fabri | last post by:
I have to move 2 layers (one from up to center and one from bottom to center) and I found this way: <div id="up" style="position:absolute;left:10px;top:-20px">Up</div> <div id="down" style="position:absolute;left:10px;top:200px">Down</div> function movediv(){ var u = document.getElementById("up") var d = document.getElementById("down") u.style.top = "100px";
10
10118
by: Cy | last post by:
I've had good luck with posting in the past, so we'll see how things go this time...:) I have an Access 2000 form. On the form is about 40 objects. I want to set everything to invisible, except a drop down box. Once the user selects from the pull down menu, I have code that picks the applicable fields to be visible. Thus, if a user makes changes to the pull down menu, ie. changes the value in the pull down, I need everything to go...
3
9326
by: VM | last post by:
If I have three exact strings composed of "Hello world", what 'invisible' char could I add to the string so I can distinguish between them? With visible characters, it'd look something like this: "#Hello world" "@Hello word" "$Hello world" I'd like to replace the #, @, $ with invisible characters. These strings will be displayed in a windows datagrid cell.
2
1658
by: ACaunter | last post by:
Hi all, I have the following code in the html part of my asp.net page to display an activeX control object which is like a picture viewer: ---------------------------- Response.Write("<object style='position: absolute; left=275px; top=73px; width=725px; height=595px;' width='656px' height='475px' classid='clsid:68CE4C35-090C-470B-B956-96B129554E64' standby='Please Wait...' codetype='application/x-oleobject' codebase='com/test.cab'>" &...
4
1853
by: Nick Wedd | last post by:
I have a test page http://www.files.maproom.org/00/12/q/w.html which almost does what I want. The idea is that, when you hover the mouse over one of the dates near the top of the page, it updates _both_ the appearance of the map, _and_ the text appearing in the iframes further down the page. I would like it to do this smoothly; but each time you select a new page, the browser window jerks down to the iframes (where the text was...
0
1144
by: Fir5tSight | last post by:
Hi All, Again I apologize for posting this topic at the wrong forum, because I don't know where else I can get help on this matter. This is about invisible lines and rectangles in a PDF file. Other developers used "Active Reports" API in Visual Basic to create the PDF file. Since they set some sections to "visible = false", the lines/rectangles in those sections are therefore invisible in the PDF file.
3
4553
by: SonOf27 | last post by:
Morning all. I was hoping somone would be able to help me with some VBA program that will allow me to move the whole Tab Control on an Access form at runtime. What I have is a form in Access 2000 that has 2 tab controls side by side, with multiple pages on each control, that looks fine on a 22inch monitor at its heigest screen resolution. Unfortunately not eveyone using this db will have a screen this size or be running at the max resolution....
0
9714
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
9594
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
10600
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
10350
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
10351
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
10096
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
1
7638
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
2
3834
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
3002
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.