Tab Page Label
Hi,
Is it possible to change a Tab Page Label dynamically.
i,e clicking on a tree node, the tab page label should
change to the name of the selected node.
Thanks
Sharath
As far as I remember, there is also a difference between Forms 6 and 6i. I think Forms 6 isn't able to set the size dynamically, 6i is. So you have to use enough spaces to have the right size for the longest possible dynamic value.
Regards,
Torsten
Similar Messages
-
Programmatically change tab page label font size
Hellow Fellow LabVIEW Lovers,
I thought this subject was easy with LV2009, somehow I cannot find the property for the "tab page label font size", yes, i also looked with the "pages" ref array from the tab ref, also no luck. Could someone point me to the right place? I would really appreciate your help. Thanks.
BryanOdd,
The each tab is a page Class Generic>Page.
This snippet shows that there are no objects on the page (like the lable)
However ,Page Propertise do not include lable.font.all elements
Page Properties
Dim hasPlayer, playerversion
hasPlayer = false
playerversion = 10
Do While playerversion > 0
On Error Resume Next
hasPlayer = (IsObject(CreateObject("ShockwaveFlash.ShockwaveFlash." & playerversion)))
If hasPlayer = true Then Exit Do
playerversion = playerversion - 1
Loop
is_FlashVersion = playerversion
is_Flash = hasPlayer
Requires: Base Package
Inherits from Generic. View the class hierarchy.
Property
Description
Colors
Gets or sets the foreground and background colors of a tab
control page. Details
Colors:BG Color
Gets or sets the background color of the tab control page. Details
Colors:FG Color
Gets or sets the foreground color of the tab control page. Details
Controls on Page[]
Returns an array of references to the controls and indicators
on a page. The order in which you place the objects on the page determines the
index of the object in the array. For example, if the first object you place on
the page is a numeric control, the index of the numeric control in the array
returned by this property is 0. Details
Decorations on Page[]
Gets an array of references to all decorations on a tab
control page. Details
Description
Gets or sets the description of a tab control page. Details
Independent Label
Makes the tab control page caption independent of the page
label. Details
Objects on Page[]
Gets an array of references to all controls, indicators, and
decorations on a page. Details
Page Enabled State
Gets or sets the state of a tab control page to enabled,
disabled, or disabled and grayed. Details
Page Label
Gets the label of a tab control page. Details
Page Visible
Shows or hides individual pages of a tab control. Details
Tab Caption
Gets or sets the text of a caption on a tab control page. Details
Tip Strip
Gets or sets the tip strip of a tab control page. Details
Moreover, I can select a tab lable on the FP, change its font and EACH tab lable changes to the SAME font and color.
Must be some serious MAGIC in the background similar to how NI made Latching Bools.
Champions?
Jeff -
Forms 6i - Highlight a tab page label (BOLD or coloring) in a tabbed canvas
Hi Sir,
I have an urgent requirement wherein I need to highlight a particular tab page header (label) either via
1. Making the tab page label BOLD
Or
2. Coloring that particular tab page.
OR
some other way.
Could anyone please help me on this.
Regards,
KiranNo version of Oracle Forms allows you change these properties of a tabbed canvas. If you were using Forms 10g or higher, you would be able to use the Oracle Forms Look and Feel Project which is a set of JavaBeans created by Francois Degrelle and enables you the change many of the properties that Forms won't let you change. Unfortunately, you are stuck with what is available in Forms 6i.
Craig... -
Tab page label color changes between 9.0.4 and 11.1.2
In Forms 9.0.4, all of my Tab Page Labels were in a black font. When I migrated to version 11.1.2, they are now in a white font. How can I force the font on the tab page labels to be black?
I tried setting foreground color on the Tab Page to be black, but that didn't help.
I also tried setting a visual attribute on the Tab Page to one that had a black foreground color, but that also didn't help.
Any suggestions will be much appreciated.I was able to solve the problem by changing the text color directly in the Layout Editor (with the color pickers at the bottom of the left hand toolbar), rather than using the property palette to set this.
Edited by: cindyconlin on Mar 21, 2013 10:43 AM -
Set Tab Page property - Label property dynamically
Hi All,
I have a Tab page canvas.
My 1st tab canvas Label is "Projects".
If i entered 2 record means i need to change the Tab page label as "Projects 2".
IN which trigger , i will write a coding for that?
If i am in the Tabbed canvas , it is working .If i come to Main canvas the Tab canvas label is clearing.
Can u tell me suggestion for that.You could go with a combination of a Calculated item of type "Summary" and another calculated item of type "Formula":
Create a calculated item :BLOCK.IT_COUNT of type "summary" which counts one of the NOT NULL-items in your data-block.
Create a Program Unit liek that:
FUNCTION FK_CHANGE_COUNT
RETURN NUMBER IS
BEGIN
SET_TAB_PAGE_PROPERTY('YOUR_TAB_PAGE', LABEL, 'The Text' || :BLOCK.IT_COUNT);
RETURN 1;
END;Create a second calculated item of type "Formula", in the formula enter FK_CHANGE_COUNT.
Now, everytime the count of the block changes, the "dummy" function will be called to calculate whatever, and the function sets the Tab-Label to the desired value. -
Tab pages do not seem to have "scroll" feature in 9i
I have a couple of forms with a lot of Tab pages, and in the Forms9iDS it appears to have that small, horizontal "scrollbar" (widget with [start][scroll on tab page back][scroll one tab page forward][end] at the upper right corner).
However, the tab pages (when run in 9i) all show up on the same canvas, but they seem to have been shortened instead, substituting "..." where the tab page label is too long to display.
Can this be set - I mean can you choose whether it display the little scroll-thingy, or whether it tries to fit everything inside the Tab Canvas at once?
Sincerely,
Jesper Vad Kristensen
Aarhus, DenmarkJesper,
there exist a HTM parameter "dontTruncateTabs" that needs to be set to true. To use this HTML parameter do as follows
1. open basejini.htm in the forms90/server directory with a text editor
2. Add the following line to the IE section
<PARAM NAME="dontTruncateTabs" VALUE="true">
3. Add the following line to teh Netscape section of the same file
dontTruncateTabs=true
Note that if you use other base HTML files then basejini.htm you will have to edit these too.
Frank -
Tab pages do not have "scroll" feature in 9i
I have a couple of forms with a lot of Tab pages, and in the Forms9iDS it appears to have that small, horizontal "scrollbar" (widget with [start][scroll on tab page back][scroll one tab page forward][end] at the upper right corner).
However, the tab pages when run in 9i all show up on the same canvas, but they seem to have been shortened instead, substituting "..." where the tab page label is too long to display.
Can this be set - I mean can you choose whether it display the little scroll-thingy, or whether it tries to fit everything inside the Tab Canvas at once?
Sincerely,
Jesper Vad Kristensen
Aarhus, DenmarkJesper,
please see
vertical scrollbar on only one tab-page
Frank -
Tab control label "font" property node
Hi!
I am trying to manage font dimensions of different controls.
I am using property nodes, and it is simple to find the font part in the list of properties you can choose, both the label font part and the different contents fonts (boolean text, numeric text, string, etc...).
However, when I search for the property used to manage the font of the pages labels in a tab control, I am not able to find it.
Can anybody tell me where to find it? Or is this property just not available for the property nodes?
Thank you!
Mike
MikeNuke, PhD student
Politecnico di Milano
Department of Energy, Nuclear Engineering DivisionIt seems not:
http://forums.ni.com/t5/LabVIEW/programmatically-change-tab-page-label-font-size/td-p/1071913
Jean-Marc
LV2009 and LV2013
Free PDF Report with iTextSharp -
Is there a way to make the user's name appear as the Tab Page name. Here's the issue: We have several tabs on a page that are fixed (the user cannot change them). One of the tabs is labeled 'My Tab' (The user has full control of this tab, but since this is a fixed tab, he cannot edit the name). What we would like to do is, programmatically change the name of 'My Tab' to something like 'Gary's Tab' when the user logs in. Is this possible?
We are developing an Intranet site, so the only customization takes place within 'My Tab', because of our environment, we do not allow the user to add their own tab page, which would fix the problem.
Thanks,
Gary
We are running Portal 3.0.9.8.2 JPDK 3.0.9.0.5Hi Gary,
The user level customization of the tab page label is not supported. Also, there is no public API to update the label.
And even if there was an API, your updating routine needed to be called each time the page is rendered to make sure that the tab is correctly rendered for that particular user.
When multiple users are accessing the page the label needs to be changed with each request... Not very elegant.
Is there any other way you could implement the navigation?
Peter -
How to Make the label of the active tab-page BOLD?
Hi All
I am working on forms 10g(version 10.1.2.0.2 ) with Oracle Database 10g Enterprise Edition Release 10.2.0.1.0 on windows 2000 platform.
My requirement is to make the label of the active tab-page either in italics or with a different color or make it BOLD than the other pages of the canvas.
Any suggestions ?
Regards
Mohanthere are no properties for those requirements on tab-pages. You can't do it.
Setting italic for all Tabpage-Labels is possible, when you change it in the canvas-properties. But you can't change only one tabpage.
One Solution is, what Jeneesh said: Active-Style. But only "Bold" and for the active tab.
Gerd -
I have noticed in LabVIEW 7.0 and 7.1 that when the text in the page labels display is enlarged, that the arrows enlarge but the top arrow enlarges more then the small arrow but then when you decrease the text size, the arrows stay remain large. This is not a problem in 6.1 because the arrows aren't available. Is there a work around for this bug or do I have to use small text for these page label arrows to look right?
I must admit that I've never used the page labels display and it does look like a bug. You can fix it however. Select the tab control and choose Advanced>Customize. In the control editor, select the page label control and do the same thing. You should be in the control editor for the numeric control and then you can go to edit mode and enlarge the decrement arrow to make it the same size as the increment.
-
Tab control page label change color programmatically
Hi everybody!
I have a question about a tab control.
I'm trying to figure out a way to programmatically change the properties of the tab labels so the selected tab's label looks different to the others.
I'd like to do this by changing aspects of it's font and it's color. But I can't find out how to access it either directly or by reference.
I can get at the label string so if all else fails I could make the selected one all capitals!
Am I missing something, or is this one of those things which can't be done?
I'm using Labview 11.
Regards,
Jonathan.The link still works for me!
Search the forum for "Tab Color".
This does not change the text, but the tab color which is what I do to high light the selected tab.
I use dark gray and light gray to help the user tell which tab is "active".
Not exactly what you wanted.
http://forums.ni.com/t5/LabVIEW/How-can-I-change-the-font-color-size-of-tab-controls/m-p/967920/high...
http://forums.ni.com/t5/LabVIEW/Programmatically-changing-page-color-in-a-tab-control/m-p/840699/hig...
http://forums.ni.com/t5/LabVIEW/tab-control-color/m-p/3062557/highlight/true#M873360
Omar -
how can I aligned my labels on the tabs? I want them to all be at the left within the tab space.
thanks!I must admit that I've never used the page labels display and it does look like a bug. You can fix it however. Select the tab control and choose Advanced>Customize. In the control editor, select the page label control and do the same thing. You should be in the control editor for the numeric control and then you can go to edit mode and enlarge the decrement arrow to make it the same size as the increment.
-
Is there a way to create multiple New Tabs pages and name them?
This feature is great but I would like to be able to create multiple new tabs pages and label them. This would be more useful than tabs groups that all load at once.
No that is (currently) not possible.
It will be possible in future Firefox version to specify the number of rows and columns.
*[https://bugzilla.mozilla.org/show_bug.cgi?id=752841 bug 752841] - [New Tab Page] make the number of tabs adjustable
<i>([https://bugzilla.mozilla.org/page.cgi?id=etiquette.html please do not comment in bug reports])</i> -
WEB.show_document in Browser Tab Pages
Hi
This problem occurs in IE7 which makes use of tab pages on the web browser. I'm using forms 10g, web.show_document(v_url, '_BLANK') to pop up a browser window in IE to display a PDF file residing on the App Server.
The new browser window pops up in IE and displays the pdf document fine. The window title and address bar contain the correct url (a rather long one). The problem I have is that the browser tab page is labelled "Error" which immediately causes concerns amongst the users. I'm not sure if it does this because it does not know what to label the tab page or if the URL is perhaps too long.
Is there any way to rename / relabel the tab page or set the name or alias somewhere? I'll appreciate any advice on the issue...
Regards
MarioHi,
With web.show_document() you could call a html page that call your php page with POST().
Francois
Maybe you are looking for
-
Help needed in solving a issue
Hello, Using obiee 11g. I am trying to build a report which uses prompt value. The report is like for the prompt value show the count.If the prompt value is not selected show all and if selected show only relevant records. The req is like i have a re
-
Sql server 2005 in server 2012 domain
Hello, I am running sql server 2005, in a 2003 domain. I plan to possibly upgrade domain/servers to 2012, but am thinking it may create issues with sql 2005? 1. Can sql server version 2005 (32-bit) run ok in a 2012 server domain? 2. If not, will it
-
When I perform a Google search, loner windows also go to the google search term site.
Sometimes when I am browsing, I click on a link that opens a new window. So far, so good. Then I may go back to the main browser window and perform a Google search. The little extra window changes to the address for the search term, right along with
-
How to import mpg files into imove
trying to import Sony MPG files into imove anyone got some good software to use?
-
I cannot get cs2 to activate because the activation server was taken off line.
I purchased CS2 but use it infrequently. Recently, I tried to start the program and was requested to activate (reactivate) the software. I had the serial numbers but the online activation service is no longer available. I googled the problem and b