473,385 Members | 1,359 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,385 software developers and data experts.

Show/Hide Frames

I'm making a program in vb6 where i have command buttons down the side which show/hide the 5 frames

i tried frame.visible, frame(index).visible, frame(index).visible = true

none work

any tips?
Sep 22 '07 #1
2 9531
hariharanmca
1,977 1GB
I'm making a program in vb6 where i have command buttons down the side which show/hide the 5 frames

i tried frame.visible, frame(index).visible, frame(index).visible = true

none work

any tips?
Expand|Select|Wrap|Line Numbers
  1. frame.visible, frame(index).visible, frame(index).visible = true
Here, is frame is a control name?
(if that is a control name then it should work
Or better post what you had tried.
Sep 22 '07 #2
QVeen72
1,445 Expert 1GB
Hi,

If all the Frames are in a Control array, then u have to loop thru all of them and hide/show them. else u have to hide/show individually :

if control array :

Expand|Select|Wrap|Line Numbers
  1. Dim i As Integer
  2. For i=0 to 4
  3.     Frame1(i).Visible = False
  4. Next
  5.  
Or :

Expand|Select|Wrap|Line Numbers
  1. Frame1.Visible = False
  2. Frame2.Visible = False
  3. Frame3.Visible = False
  4. Frame4.Visible = False
  5. Frame5.Visible = False
  6.  
Regards
Veena
Sep 22 '07 #3

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

Similar topics

5
by: Zambien | last post by:
Hi all, Here's my problem. I have tables that are using the menu/submenu idea for hiding rows. This works fine in IE (of course) and does show/hide correctly in netscape, but as soon as the...
3
by: dricks dr | last post by:
Hi, I'm using the AxWebBrowser Control from microsoft in a C# application. It works fine, but i have many problems to hide the javascript error windows that appear when u visit a website with......
10
by: Giovanni Cobos | last post by:
Hi: I have a web application with Visual Basic .NET. I am using Frames to show the information in my pages. But for some link's I would like them to show without the frame and others with the...
13
by: Matt | last post by:
Does anyone know how to hide the ASPX extension of web pages in ASP.Net 2.0? Thanks, Matt
1
by: proplady | last post by:
I've had this menu for some time, and periodically make changes. I've made some changes now (just some menu items), and the menu will not show up on my webpages. I know it's something simple,...
2
by: Mel | last post by:
I have a table with two TDs (LHS & RHS), each TD contains a frame full of stuff. on one of the frames (RHS) I have an icon with onClick attached to show/hide LHS. My code goes like this: ...
1
by: pamate | last post by:
hi, I want to show hide layers. I am able to show and hide layers but i am facing problem that, cant view the cursor in Mozilla,but i can type in input text box, its overlapping the layers. ...
1
by: ll | last post by:
I'm currently working on a form which consists of a show and hide javascript. The toggle works fine, although when I click on submit, I would like the page to reload with the toggle (show/hide)...
1
oranoos3000
by: oranoos3000 | last post by:
hi would you please help me i have a online shopping center that i show pictures of the my product in home page. in the InterExplorer pictures is shown correctly but in Firefox browser is shown...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 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 former...
0
by: ryjfgjl | last post by:
In our work, we often need to import Excel data into databases (such as MySQL, SQL Server, Oracle) for data analysis and processing. Usually, we use database tools like Navicat or the Excel import...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...

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.