Normal Topic Can a tabpage be invisible? (Read 3159 times)
digimom1962
Junior Member
**
Offline


Natalie Gann

Posts: 92
Location: here
Joined: Nov 26th, 2004
Can a tabpage be invisible?
Feb 11th, 2005 at 4:44pm
Print Post Print Post  
I have a form I want to print w/background and have set several command buttons to be invisible when the form is printed. I thought I might put a tabpage in for some extra information but it doesn't need to be printed. It won't disapear like the buttons. Do I have to scrap the tabpage idea?

Thanx
~Natalie
  

So much time and so little to do . . . strike that, reverse it.
Back to top
YIM YIM  
IP Logged
 
Ray the Reaper
Global Moderator
Members
Lantica Support
*****
Offline


The One & The Only

Posts: 2482
Joined: Aug 20th, 2003
Re: Can a tabpage be invisible?
Reply #1 - Feb 11th, 2005 at 4:53pm
Print Post Print Post  
Hello,

Individual Tab pages can not be made invisible but the entire group of tabs can be made invisible using the Visibility command in SBasic.

-Ray
  

Raymond Yoxall Consulting
ray.yoxall@gmail.com
ryoxall@lantica.com
Sesame Applications, Design and Support
Back to top
IP Logged
 
Bob_Hansen
Senior Member
Members
*****
Offline


WOW, They have the Internet
on computers now!

Posts: 1861
Location: Salem, NH
Joined: Nov 24th, 2002
Re: Can a tabpage be invisible?
Reply #2 - Feb 11th, 2005 at 7:08pm
Print Post Print Post  
Shocked While individual Tab Pages cannot be invisible, it is possible to make SubForms invisible.  So that might open some doors, to have different forms in the database on top of each other on the form and only making one visible at a time.

I have done that using subforms from other databases but not within the same database, so I don't know yet if that works.  Perhaps you will try this and let us all know?  ???
  



Bob Hansen
Sesame Database Manager Professional
Sensible Solutions Inc.
Salem, NH
603-898-8223
Skype ID = sensiblesolutions
Back to top
IP Logged
 
digimom1962
Junior Member
**
Offline


Natalie Gann

Posts: 92
Location: here
Joined: Nov 26th, 2004
Re: Can a tabpage be invisible?
Reply #3 - Feb 11th, 2005 at 8:46pm
Print Post Print Post  
Food for thought, next wk most likely though. I've about exhausted my programing time alotment for the week Undecided
(Only 1 of many projects . . .)

Thanx alot!
Natalie
  

So much time and so little to do . . . strike that, reverse it.
Back to top
YIM YIM  
IP Logged
 
digimom1962
Junior Member
**
Offline


Natalie Gann

Posts: 92
Location: here
Joined: Nov 26th, 2004
Re: Can a tabpage be invisible?
Reply #4 - Feb 11th, 2005 at 10:08pm
Print Post Print Post  
I re-read Ray's response & just HAD to ask what I should call the group of tabs. As you see I was trying to do an individual tabpage.


Var vSuccess as Int


If @visibility(find) = 1
   Then Visibility(find, 0)
If @visibility(tabpage) = 1
   Then Visibility(tabpage, 0)
vSuccess = @SelectTreeItem("Search Update Menu!Record Commands!Printing Commands!Print Form to Default")

If vSuccess = 0 Then
{
WriteLN("The Command Failed")
}

If vSuccess = 1 Then
{
WriteLN("Printing")
}
If @visibility(find) = 0
   Then Visibility(find, 1)
If @visibility(tabpage) = 0
   Then Visibility(tabpage, 1)

(by the way, I copied this somewhere and modified a few things, still really fuzzy on programing)
  

So much time and so little to do . . . strike that, reverse it.
Back to top
YIM YIM  
IP Logged
 
Ray the Reaper
Global Moderator
Members
Lantica Support
*****
Offline


The One & The Only

Posts: 2482
Joined: Aug 20th, 2003
Re: Can a tabpage be invisible?
Reply #5 - Feb 11th, 2005 at 10:12pm
Print Post Print Post  
The easiest way to find the name of the tab group is to select the tab group in Sdesigner. Then go to the Other tab of the Property Editor, not the Property Viewer as it will show the name of the Tab Page itself. Click in the Name field and hit F5. The name that shows up will be the name of your tab group.

-Ray
  

Raymond Yoxall Consulting
ray.yoxall@gmail.com
ryoxall@lantica.com
Sesame Applications, Design and Support
Back to top
IP Logged
 
digimom1962
Junior Member
**
Offline


Natalie Gann

Posts: 92
Location: here
Joined: Nov 26th, 2004
Re: Can a tabpage be invisible?
Reply #6 - Feb 12th, 2005 at 12:28am
Print Post Print Post  
EUREKA!!!!!!!!!!!
  

So much time and so little to do . . . strike that, reverse it.
Back to top
YIM YIM  
IP Logged