7.0 Tab Control (OpenInsight 32-Bit)
At 05 FEB 2004 10:20:49AM dsig@sigafoos.org wrote:
I have been looking for info on how to use the tab control and have not been able to get it to work .. the help says don't use it
Anyone with a quick example of it's use and abilities
thanks
dsig@sigafoos.org
Phone: 971-570-2005
OS: WinXP Pro
OI: 7.0
At 05 FEB 2004 11:05AM Bob Carten wrote:
Dave:
You use the control sort of like an MDI frame
Make some stand alone forms
make a form which contains a tab control, sized as big as you want it.
Load the properties sheet of the control with an array of the label for each tab and the window you want opened when the tab is clicked.
The control is not integrated with the semantic logic layer, so it will give you locking messages if you open more than one form bound to the same table. We will be replacing that control with one that works, so don't do anything you would hate to lose. If you need a tab control now, check out SRP's OLE controls.
Bob
At 05 FEB 2004 07:00PM Richard Bright wrote:
Good. I am glad that it has been accepted that this implimentation - designwise - had some problems. Presumably we can stick with the older methodology until 7.1?
Richard Bright
At 06 FEB 2004 03:00AM dsig@sigafoos.org wrote:
Bob,
thanks for the quick and insightful response. I think I will wait. I would prefer to use a control supported by RTI than paying for one that might not work in the future. Knowing the changes the system is going under. Still working on fixing all the Reporter reports
dsig@sigafoos.org
Phone: 971-570-2005
OS: WinXP Pro
OI: 7.0
At 06 FEB 2004 09:41AM Bob Carten wrote:
Yep.
Not sure we shipped it, but I added a program called tabpage ( a cut and paste of Cam's old program ) and a program called get_current_event. Using these you can implement the old-style tabbed pages with quick events, as follows:
1. Use the same naming conventions Ctrl_Fix and Page_N_Tab
2. on the create event of the form, call a stored procedure, tabpage, with arguments '@SELF', '@EVENT'
3. on the gotfocus of each tab, call a stored procedure, tabpage,
with arguments '@SELF', '@EVENT'
If we didn't ship it, lemme know, I'll post it here.
Bob
At 06 FEB 2004 10:59AM Donald Bakke wrote:
DSig,
I would prefer to use a control supported by RTI than paying for one that might not work in the future. Knowing the changes the system is going under.
Ouch! I know you didn't mean that personally. However, just for the record, our Tab control is OLE. Thus, if OI dropped support for OLE (which is obviously highly unlikely) then they would lose the ability to support the OIPI as we know it. Thus, it's a pretty safe bet that our Tab control will have long term support.
BTW, Bob, thanks for the plug!
dbakke@srpcs.com
At 06 FEB 2004 05:21PM Ray Chan wrote:
Don,
Ouch?? Hey don't worry. We're starting to incorporate your new TABS into our app. I think it's going to work out well. Easier to make; easier to maintain and change; looks great, and more flexibility (multiple rows, security, graphics, etc.)
Dave take a look you might be impress?
Ray
At 10 FEB 2004 03:33AM dsig@sigafoos.org wrote:
Don,
yes it was no slam on you or yours.
I tend to expect the tool paid for (and paid for and paid for and ..
to have the bits I need. And although in the past that wasn't the case, the new tool looks to be going in that direction. Although the help, i believe, mentions not to use the tabs (and we don't) we have been promised such and Mike has been very good so far at coming through. So we will wait.
After market and 3rd party tools are important and for bits that *shouldn't be* part of the product we will go for them as needed.
Now that a lot of work has been done in other areas and cleanup is being done .. i hope that the UI gets the attention it needs.
Once again sorry if any offense was taken. It certainly wasn't the intention.
dsig@sigafoos.org
Phone: 971-570-2005
OS: WinXP Pro
OI: 7.0
At 10 FEB 2004 09:35AM Donald Bakke wrote:
DSig,
yes it was no slam on you or yours…Once again sorry if any offense was taken. It certainly wasn't the intention.
I knew you weren't slamming us or trying to offend. None taken. I hope it was clear that I was having fun with you on this. Thanks for wanting to be clear on this however.
I tend to expect the tool paid for (and paid for and paid for and ..
to have the bits I need. And although in the past that wasn't the case, the new tool looks to be going in that direction. Although the help, i believe, mentions not to use the tabs (and we don't) we have been promised such and Mike has been very good so far at coming through. So we will wait.
Agreed on this. 100%.
After market and 3rd party tools are important and for bits that *shouldn't be* part of the product we will go for them as needed.
Again, I agree 100%. However, sometimes a 3rd party tool just simply offers more than the stock tool. Consider S/Web vs OECGI as one example. On our case, our tabs can emulate whatever XP theme is being used (if desired), individual tabs can be disabled or invisible, support graphics, can have n-rows -or- be scrollable if there are more tabs that can fit in the horizontal space, and they can be easily modified during runtime.
All that to say we agree and are looking forward to a working OI-based tab control. But if you want something with more features then you have options.
dbakke@srpcs.com