Join The Works program to have access to the most current content, and to be able to ask questions and get answers from Revelation staff and the Revelation community

At 12 MAY 2005 10:13:26AM Colin Rule wrote:

Is there any way to disable a specific tab on a tab-control?

Colin


At 12 MAY 2005 11:11AM [email protected]'s Don Bakke wrote:

Colin,

I don't believe so, at least not yet. If you could, I would imagine it would be handled similarly to the radio group control and you would specify a specific tab within the tab group. But it doesn't appear that each tab becomes its own control the way a radio button does.

How important is this feature to you?

[email protected]

SRP Computer Solutions, Inc.


At 12 MAY 2005 11:33AM Colin Rule wrote:

We had this feature before upgrading to 7.1.

This was done via the button image looking like a tab, and was possible because each was a specific control.

It is a 'nice to have' rather than a critical requirement.

I have yet to see an instance in MS software that has this.

For now I will allow them to go the page, and disable the critical controls within the page.

I will raise for a request for future releases.


At 12 MAY 2005 11:48AM Bruce Cameron wrote:

What about this… if you are using the new tab control as they are used in the example application for cust_entry, could you not add code to the click event that checks for the tab clicked and then do nothing or display a message?

ie.

if val=4 then

 return 0

end else

 display that page
 return 1

end


At 12 MAY 2005 12:44PM [email protected]'s Don Bakke wrote:

Colin,

We have a way of disabling and hiding a tab ourselves but I would need you to contact me directly if you were interested in more information.

[email protected]

SRP Computer Solutions, Inc.


At 12 MAY 2005 01:31PM Wayne Shepard wrote:

I've never tried this, but it seems to me that if you programmatically changed the page paramater to the event call to 0 then that would have the desired effect.

Wayne


At 12 MAY 2005 03:23PM Ray Chan wrote:

Colin,

FWIW, here's an example of a disabled "Tab" using the SRP OLEs.

www.symmetryinfo.com_images_disabledtab.jpg

Ray


At 12 MAY 2005 04:14PM [email protected]'s Roger Hall wrote:

Changing the page parameter in the event call to 0 will keep a page from displaying, but then the first page displays under the (still-enabled) tab that was selected.

[email protected]

SRP Computer Solutions, Inc.


At 13 MAY 2005 03:36AM Colin Rule wrote:

I am happy to pick up the event, or to disable the controls on the page, but it just looks slicker withthe tb itself disabled, and then you dont have to worry about other things.

Don (SRP), is this implementation of the disable with the OI tab control?, or with your own?


At 13 MAY 2005 09:49AM [email protected]'s Don Bakke wrote:

Colin,

With our own. If I knew a way of doing this with the OI conrol I would post it. But given that it is a standard MS tab control I don't believe this is a standard feature.

[email protected]

SRP Computer Solutions, Inc.


At 15 MAY 2005 08:10PM dsig _at_ sigafoos.org wrote:

Don ..

is this with your control or with the oi control?

dsig


At 15 MAY 2005 08:12PM dsig _at_ sigafoos.org wrote:

never mind .. after reading more messages the secret was revealed

dsig


At 13 JUN 2005 01:20PM dsig _at_ sigafoos.org wrote:

this is not the OI control it it? .. my *ASSumption* is that it is not.

as mentioned to Don .. yes .. i know his control does it .. just not sure why RTI would write a control without this (seemingly) important feature

Maybe some day in the future ..


At 13 JUN 2005 02:21PM [email protected] wrote:

Because the Windows Standard is to disable everything ON the tab page so users can see what they're being denied access to. See this for an example discussion of the issue

[email protected]

The Sprezzatura Group Web Site

World Leaders in all things RevSoft


At 13 JUN 2005 07:12PM [email protected]'s Don Bakke wrote:

I take it then that Microsoft would rather you hide the tab to resolve the expected behavior. That being the case, is this possible with the OI tab? Perhpas the answer is, "yes, but it has yet to be exposed to Basic+".

[email protected]

SRP Computer Solutions, Inc.


At 13 JUN 2005 09:14PM dsig _at_ sigafoos.org wrote:

so ..

1) so we are limited always by the scope of Microsoft? This is like the old .. can't do multiple page forms .. can't do MDI. don't sail that way you will go of the edge ..

2) there are properties for the tab control which allows enable/visible for the 'page' of the control .. can't find the in the online help .. wiat can't find tab control in online help (properties .. what controls .. )

3) clicked on 'What Products .. ' and it only showed

Microsoft Access 2000 Standard Edition

So .. when a client says .. why can't it do … I can say, with a sly grin .. Access can't do it

hopefully this will be corrected in future release ..


At 13 JUN 2005 10:23PM Franklin Sampson wrote:

Whole lot of speculation without any RTI input here…


At 14 JUN 2005 08:48AM Mike Ruane wrote:

Guys-

Right now we're sticking with this. It supports the standard, people are used to seeing it, and it works in Linux as well.

Tabs are in the help file- in the GAD, Controls and Properties, Command type controls, but they can use some beefing up and we'll do that.

And come on, comparing us to the old guys? If you really believed that, you wouldn't still be working with us. You know that we make the best calls we can, admit it when we screw up, fix things as fast as we can, and take the credit when it works. We'll keep doing it this way because it's the way I work.

If we can make more enhancements to this control without breaking the control or our sanity we'll do so. But don't believe we're limited by MS-defined functionality. We stick to the standards as much as possible (and as many in the Beta program requested and remarked we worked very hard to get the system screens to look like the MS standards), but we will extend it when it makes good sense to us- see the edittable control as an example.

Back to the bug list- it's like a hydra; every time we kill a bug two new ones seem to be reported.

Mike Ruane

Revelation Software


At 14 JUN 2005 09:58AM dsig _at_ sigafoos.org wrote:

]]Tabs are in the help file- in the GAD, Controls and Properties, Command typ …

So i am in the system editor and F1 on set_properties ..

then Contents .. Chapter 4 Properties .. which controls support which properties .. Nothing about tabs

I would have though this is where the info would be but guess I have to read the rest of the help to find stuff

]] comparing us to the old guys …

Come on .. that is why I always sprinkle lots of around. But when Sprezz says things like "ms standard" .. and the article only talks about MSAccess .. (grin) .. it does harken me back to the days of arguments I had with others in the lab ..

Go back to the bug list .. must be covering most of NJ .. just kidding .. well almost (not red blue green)

I know I over simplify .. don't understand the complexities .. just seems that even if the tab can't be disabled it could automatically 'disable' the controls on the page .. from presentation mgr? This way all developers that need it wont need to do it (figure it out etc) themselves each window etc. Write Once .. Use Many ..

thanks .. and thanks again for working on the browser .. i told them and they are very happy.

so .. what have you done for me today

View this thread on the Works forum...

  • third_party_content/community/commentary/forums_works/2bb78068d9624d7985256fff004e2282.txt
  • Last modified: 2023/12/30 11:57
  • by 127.0.0.1