Query for Tab Control
Hey everyone,
I am working on an application which need a Tab Control in it. I have 2 Tabs in that control. One is Engineering mode and other is Application mode. Only when certain condition's are met in Engireeing mode then only user can change to other mode by pressing the tab's .....
I hope you got wht I want. for any further clarification please let me know
thanks
Regards,
Sarang Dhananjay Jaiswal
Satyam Development Center, Banglore, INDIA
Nice post Lynn!
You taght me something with the array to cluster >>> Unbundle by name construct.
It looks like this got introduced in LV 7.0 and I nver noticed it. It figures that I am still learning about LV 7.0 and LV 8.0 is announced.
Thank Lynn.
Ben
Message Edited by Ben on 10-01-2005 11:02 AM
Ben Rayner
I am currently active on.. MainStream Preppers
Rayner's Ridge is under construction
Attachments:
Array to Cluster.JPG 6 KB
Similar Messages
-
How to disable Query for single controls in a Form Applet?
Hi All,
this should be so simple, but seems like I don't get it at the moment.
I have a Form Applet in HI Mode and want to disable the possibility to Query on certain fields. these are Calculated fields and querying will most likely crash the application due to heavy performance impact. They should be for displaying only. How to do that? I have searched for Applet Control User Properties and such stuff but couldn't find one.
ThxHi Siebelade thanks for your reply,
in the meantime I managed to do it using a BusComp Field User Property called "DisableSearch". If you set this to "TRUE" for the desired fields, the user will receive an error message when trying to query for these fields.
Benny -
Hi,
I use a tab control which got in the meanwhile more tabs than could still all be displayed simultaneously. That's why I would like to use a menu ring instead of the tabs in order to control which tab will be displayed in the forefront. However, I could not yet figure out how to change the "page label display" of the tab control into a menu ring. Have a look onto my simple example. I guess you agree that my current solution doesn't really look like a pull down menu although it works like one. Any hint how to improve the design?
Thanks in advance,
Peter
Attachments:
Tab_Control.vi 17 KBHere's an example that is based on an example that ships with LV. I cleaned it up a bit so it would look mre like a "real" application. It's not great from the standpoint of code design (No error handling for instance) but it shows how these plugins could work.
Mike...
Certified Professional Instructor
Certified LabVIEW Architect
LabVIEW Champion
"... after all, He's not a tame lion..."
Be thinking ahead and mark your dance card for NI Week 2015 now: TS 6139 - Object Oriented First Steps
Attachments:
subpanel.llb 72 KB -
How to handle events for Tab Control
Hi,
I have a Tab control with 4 tabs and I would like when I go to a specific tab all the contents of that tab being updated. Could you please help me with this?
How should I set the event structure
ThanksTab Control->Value Change is the event you want. You can then use a case structure to do whatever you need it to based on the "New Value".
There are only two ways to tell somebody thanks: Kudos and Marked Solutions
Unofficial Forum Rules and Guidelines -
I’d like an example or description of this:
For Tab Control, change the name of the Tab Page at Runtime?
Thanks,ChrisYou CAN do this. For each tab, right-click and choose Advanced->Make Page Caption Match Label to uncheck the option.
Then, in your program, get the Pages property. Use that reference to access the Caption property.
Note that the enum strings do not change, so if the LABEL for the tab is Page 1 and the caption is hello world, the tab value is still Page 1.
Message Edited by Matthew Kelton on 02-27-2008 12:03 PM
Attachments:
Tab Caption.png 2 KB -
Dynamic creation of tab control
Hi,
Am suppose to create table control for each header record in intenal table.
ie-
Header1
Tab contrl 1
header2
Tab contrl 2
header n
Tab contrl n
Though number of records in int table not fixed.
can anybody please guide me how can this be achieved as for tab control we have to draw tab control container in screen painter first.
Thanks,
Sanjay DeshpandeIf you intend to do that, you'd have to create the dynpro dynamically and generate it using the sentence GENERATE DYNPRO, otherwise you won't be able to place N fields dynamically in the screen. (However SAP does not recommend using this sentence in application programs)
Another option would be the use of OO ALVs instead of Table Controls, with this approach, you'll be able to generate N ALVs (one for each header) by splitting a screen container control in N predefined 'SubContainers' (You can use the CL_GUI_SPLITTER_CONTAINER component) -
Need Example how to use Tab Control properties...pls?
Hi all,
I would like to request for an example on using the Tab control and how to use its properties.
Thanks in advance,
juniSearching for Tab Control on NI Home yields several results. I find the following relevant to your request. I'll suggest you repeat the search for more examples.
http://zone.ni.com/devzone/explprog.nsf/6c163603265406328625682a006ed37d/bcf35c2bdbf132d786256945007d8004?OpenDocument
http://digital.ni.com/public.nsf/3efedde4322fef19862567740067f3cc/c050233a993f14f88625698e007eb082?OpenDocument -
Using a jQuery list box placed onto a tab control doesn't seem to work for posting?
Hello,
I developed a U.I. in Dreamweaver for a product and have several list boxes that use the onChange modifier to collect what the user selects from the list. I use the onChange=this.form.submit() function to grab the user's selection from the list box..
When this dropdown list box code is placed onto a form, it posts properly and I can retrieve the user's list selection. If however I place the list box code onto a Tab page from a jQuery Tab Control, developed in Dreamweaver, the posting doesn't seem to work.
I must be missing something because identical code is working fine when the list box code is placed on a form yet when the code is repeated from within a Tab, it isn't working.
The code is simple, and shown below). The list values are coming from a MySQL table.
$MyQuantity_query="SELECT * FROM Quantity_Table";
$MyQuantity_Result=mysqli_query($cxn,$MyQuantity_query) or Die ("Cannot connect");
echo"<select name='ThisQuantity[$RowCounter]' value='ThisQuantity[$Rowcounter]' onChange='this.form.submit()'><option value='-1' selected>Qty</option>";
While($MyQuantity_Row=mysqli_fetch_assoc($MyQuantity_Result))
extract($MyQuantity_Row);
echo"<option value='$Qty_Number'>$Qty_Number</option>";
echo"</select>";
Any suggestions would be appreciated. Thanks.
Joel
[email protected]Thanks you.
I tried placing the selection list inside of
tags but posting still doesn’t seem to be working?
Regards,
Joel -
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 shows wrong display for selected tab
My computer crashed when I tried to post this earlier, so I apologize if the first post actually shows up.
I have seen this for years so it is nothing new, but I don't remember seeing it in any release notes (sorry if I missed it).
Upon loading the .vi (or as an executable), the .vi shows the wrong page for the selected tab. After selecting a different tab, the control works fine. Also, if you create a property node to read the tab value, it matches the displayed page....just the selected tab seems to be incorrect.
A work around is to select the default tab before saving the .vi, but why is this happening in the first place?
Attachments:
tab_example.vi 24 KBHi Stephen,
The erroneous tab display is something I see on most of not all of my code that uses a tab control (each is a typedef).
What change would I make the the typedef? If I disconnect the tab from the typedef then I will loose the advantages of using the typederf...I will stick with the workaround like I have for the past 3+ years.
Isn't this a LabVIEW bug since the displayed tab is not equal to the value read from the control? I have not tried it on this example I posted but in the past, writing to the control does not fix the displayed tab (writing the control may not work since I wrote the same value that LabVIEW thinks is the current value, but the displayed!=actual).
Thanks,
Todd -
Tab Control Solution for my project
I am implementing the program acquisition and signal processing. The program has two parts are Aquisition and Analysis. I want to integrate into a program should use the "tab control". Each program section have some special processing so I do not know how the tab control to not conflict.
+ Aquisition Tab will perform receiving signals continuously from the computer through the COM port, recording the file by "write the measurement file" .tdms
+ Analysis performs the "read measurement file .tdms", which have been recorded to display and several other process.
I expect people to help to have appropriate solution for the tab control for my project.
Attachments:
EMGbk_UI_standard.vi 171 KB
2603_sEMG_10.zip 342 KBHi ducta,
Ofcourse you can integrate the tab control in your project.But please clarify me on this question.
Do you want to use the tab control in a toggling fashion?i.e. initially keep the tab in acquisition and then change the tab in analysis and then again change it to acquisition.If you are using this way then only it makes sense as the acquisition and analysis will hand in hand according to the tab control.
Regards,
SrikrishnaNF -
Tab Control Property Node gives a build error when used in a VI for LabVIEW PDA
Hello,
Iam new to LabVIEW development & need help regarding this:
We are trying to port a LabVIEW application from desktop to a Windows Mobile PDA. Please note that the LabVIEW application works fine on the desktop. In one of the VIs, a Tab control property node is used which gives a build error with LabVIEW PDA project. A sample VI which shows the problem & the error list snapshot is attached with this post. Can anyone please suggest an alternate approach to achieve the same functionality with LabVIEW PDA? Waiting for an early response from anyone...
Thanks & Regards,
Subhashini
Attachments:
VI_Error.zip 31 KBHello Ton,
Am glad that i got a response, thanks. The following links indicate that Tab control is supported on PDA target:
http://digital.ni.com/public.nsf/allkb/CBA335641E27B858862571490015EA88?OpenDocument
http://forums.ni.com/ni/board/message?board.id=170&message.id=221507&requireLogin=False
I feel that the Tab control property node that has been used in the VI (which is attached earlier) may not be supported on the PDA target. Can u (or any LabVIEW expert) suggest an alternate approach to achieve the same goal with LabVIEW PDA (changing colour of Tab control pages programatically)??
I had missed out some details earlier: We are using LabVIEW 8.5 PDA module on a Windows Mobile PDA.
Thanks & Regards,
Subhashini -
Query for MAP Calculation - Price Control ind V and S
SAP Guru's
Query regarding MAP Calculation Logic
Scenario:
*I have one material xyz
1. It is split valuated material,
2. Two valuation types with diff price control indicators
3. Batch Management is also activated on this material.*
Follwoing is the Material Master Accounting1 View :
Vauation Type Price Control Total Value Qty MAP Batch
ZA1 V 610835.00 37 16509.05(V) 01
ZB1 S 0 1 20000.00(S) 02
but when we are running MM03 w/o Valuation Type Accounting 1 View
is showing MAP as 16074.60 i.e. 610835.00/38
Diff. Reports Output------>
MB5L - List of Stock Values: Balances --> Output
ValArea Total Stock Total Value
A101 1 0
A101 37 610835.00
Net--> 38 610835.00
MB52 - Display Warehouse Stocks
Check Box - Display Batch Stocks
Condition1: When Display Batch Stocks is selected on main screen of MB52
Mat. Palnt Sloc Unrestricted Stck in Transit Total Value
xyz A101 0010 0 30 482238.00
XYZ A101 0010 7 0 115563.00
xyz A101 0010 1 0 0
This is not correct result as Total Values is 597801.00 only
Condition2: When Display Batch Stocks is not selected on main screen of MB52
Mat. Palnt Sloc Unrestricted Stck in Transit Total Value
xyz A101 0010 0 30 482238.00
XYZ A101 0010 8 0 128597.00
This is correct result as Total Values is 610835 .00 only
So my query on above issue is :
1. How System is including 1 Qty of Std Price Control for MAP calculation?
As per my understanding MAP is only for Price Control V indicator Materials Stock
2. Whats the difference between these two report output from MM03 Accounting
view?
Thankshi Animesh,
For Split Valuated Material at header level Price control is always "V" i.e. Moving average price reagrdless of the Price control you have given for different valuation types.
Due to this you are getting these kind of results. Please visit the following link for more information
http:///saphelp/EN/8f/d1de34e4cb2300e10000009b38f83b/frameset.htm
Check it and revert back.
Regards,
Jay
Edited by: SAP_MM on Dec 4, 2008 10:19 AM -
Execute query for oracle forms tab pages
Hi Guru's,
Please help me how to work on execute query with forms tab pages. I have created three tabs like A, B & C in one canvas.
I have three tables and I have created three tabs in one canvas. And there is no master detail relationship with these three tables.
I have written the code in form level - when-new-form-instance like do_key('execute_query') but when i see at run time its executing for first tab A not for tab B or tab c.
How to get the data or execute the data in tab B and tab C.
Thanks
RS1- create a block blk_1 add items item_1,Item_2 and Item_3.
2- create main canvas main_canvas. type Content.
3- create tabcanvas TABCANVAS . Type Tab
4- Create tabpages tb_1,tb_2 and tb_3.under tabcanvas
5- create stack1,stack2 and stack3.type stack.
6- put Item_1,Item_2 and Item_3 under stack1,stack2 and stack3.
add when tabpage change trigger.
Declare
V_TapPage_Name VarChar2(100);
Begin
Show_View('TABCANVAS');
V_TapPage_Name := Get_Canvas_Property('TABCANVAS',TOPMOST_TAB_PAGE);
If V_TapPage_Name = 'TP_1' Then
Go_Item('Blk_1.ITEM_1');
Show_View('STACK1');
Hide_View('STACK2');
Hide_View('STACK3');
ElsIf V_TapPage_Name = 'TP_2' Then
Go_Item('Blk_1.ITEM_2');
Show_View('STACK2');
Hide_View('STACK1');
Hide_View('STACK3');
ElsIf V_TapPage_Name = 'TP_3' Then
Go_Item('Blk_1.ITEM_3');
Show_View('STACK3');
Hide_View('STACK1');
Hide_View('STACK2');
End If;
End;
Edited by: kingadmin on 20/04/2011 02:15 ص
Edited by: kingadmin on 20/04/2011 02:16 ص -
Is it possible to have a new Query Result tab opened every time a query is run instead of overwriting the current contents of the window Query Result tab?
thanks,
LouisHi Louis,
Welcome to the forum. Here is a thread with some posts telling you how to control this, both for Query Results and the Object Viewer:
Re: SQL Developer no longer letting me look at the same table name on 2 servers
Regards,
Gary
Maybe you are looking for
-
Invoice payment..
Hi all, In MIRO after posting the document message is coming, "Document no. xxxxxx created (Blocked for payment)" But our requirement is to remove the default "Block for payment" What is the necessary setting to be done to remove it. Thnks & Regards
-
When I try to send back a gift in a Facebook game, there should be a pop-up that appears to allow me to do this. However in the newest version of Firefox, I can not get these pop-ups to appear and I have to have version 6 to be able to work from home
-
Cutom ribbon button and valid RegistrationId for an External Type List
I'm developing a custom ribbon bar command for my particular External Content Type list. I know that for the command to be shown correctly I need a valid RegistrationId which would correspond to my list. But it seems to be unclear for me what to set
-
No Audio with my touch Smart 600
I have a touch smart 600, and have ran all the diagnostics and updates but it still does not have any sound to it!
-
Good morning, I want to buy an AR Drone 2.0 in the Apple store. On the site are informed that you can control the Air Drone with an IPOD 2G. I have this Ipod and I can not download the FreeFlight 2.0 for my Ipod, just FreeFlight 1.0. I was wondering