How can I set the tab order of text box controls on each page of a tab control?
I need to be able to select the tabbing order of individual controls
on a single page of a tabbed control. How??
In LV 6.1 an up you should be ablel to right click on the edge of the
tab control when the tab-page in question is selected.
The bttom selcetion in the pop-up is "Reoder controls in page..."
selecting this option will switch editing modes to allow you to
specify the ored, just like in a cluster.
I seem to remeber in older versions you had to drag the tabable
controls off the tab control, specify the tabbing oder and then drag
them back on. The oldest version I have on ...Long pull down menu of tab control. References to controls on page of tab control.
two questions regarding a tab control:
I am using a tab control for offering the user various sub menus. The tabs are switched invisible. Instead I am using the page labels display for control of the tab. The list of available sub-menus (tabs) has already become quite long so that a pull down menu with a scrollbar appears (See attached screenshot). However, the scrollbar is not very convenient and not actually needed. Does anyone know how I could avoid this scrollbar?
I would like to get all the references of all controls of one particular page of that tab. I played around with the property nodes but could not yet find a solution. Any hint would be helpful.
Thanks in advance,
thanks for your advice. Unfortunately I am not yet finished.
1) I cannot find any item "scroll bar off" in the list of the properties of the menu ring.
2) Please, have a look into the attached vi "tab_control_page_1_release.vi". How can I get access to the references of the tab control pages inside the condition inside the for loop?I want to write a sub vi which releases the tab control in the calling vi from the disabled state.
thanks for your fas...Control visiblilty of a text box on a Tab Control
Hey, thanks for reading my question.
I'm using a combo box to control the visibility of a text box. When I
make a change to the combo box it will set the visible property to
true on a text box. When I had these objects not on the Tab Control
everything worked great. Now with these object on the tab control and
I open the form the vicinity works but when I change the combo box
which set the visibility nothing changes.
What am I missing? Any one got any suggestions.
N. Graves wrote:
> Hey, thanks for reading my question.
> I'm using a combo box to control the visibility of a text box. When I
> make a change to the combo box it will set the visible property to
> true on a text box. When I had these objects not on the Tab Control
> everything worked great. Now with these object on the tab control and
> I open the form the vicinity works but when I change the combo box
> which set the visibility nothing changes.
> What am I missing? Any one got any suggestions.
Is your code behind your combobox still there? When you move an object
(cut and paste) to a tab control the event procedure code is "lost". You
may note that your Event Procedure is not there anymore in your combobox
properties.. but when you click on the build button it will bring up the
code... and upon returning the Event Procedure reappears!
An Access quirk:)
Is it possible that your text box is behind the tab control?
Peter De Bae...Tab control in one of the tabs of another tab control
One of my colleagues is working with a tab control. He has several tabs. He is trying to embed another tab control inside one of the tabs of the first tab control. He had placed the second tab control inside one of the tabs of the first tab control. But the problem is that the second tab control does not show up (unless one goes to the block diagram and double clicks the second tab control, only then does it shows up; when the vi is closed and reopened its again not there). I told him that I had never seen such functionality (a tab control inside another tab control) in any application but is it somehow possible. All this is required while the VI is not running and is being developed (of course it should work at run time, but this functionality must show while the VI is not running, i.e., this functionality should be non-programmatic. Is it possible. Thanks for your time.
Hi rashid, yes it is possible. See the attached example. I see no problems with it.Hope it helps.Mike
Thanks <a href="../view_profile?user.id=88992" class="auth_text" style="font-weight: bold;" target="_blank"> MikeS81</a>! Yes you are absolutely right. Your VI is working perfectly. I wonder what has my friend done to get such behaviour as he is getting. Strange! Thanks for the help!Have a very nice day!
Hi rashid, can you upload your vi, maybe someone found the proble...tab control inside another tab control
Is it possible to put a tab control inside another tab control. I tried
it several times, but for some reason this doesn't seem to work.
Can someone confirm this, or tell me what the trick is.
The only way I know to do this is to put a subform on the first tab control.
Then you can put your second tab control on the subform.
If you do this repeatedly, however, you will find the form loading rather
"Georges Heinesch" <firstname.lastname@example.org> wrote in message
> Is it possible to put a tab control inside another tab control. I tried
> it several times, but for some reason this doesn't seem to work.
> Can someone confirm this, or tell me what the trick is.
> > Is it possible to put a tab control inside another tab control. I tried
> > it several times, but for some reason this doesn't seem to work.
I don't recommend using nested tab controls for usability reasons. If
you need to put a lot of information on one form, just use a whole lot
of tab pages. If all the information doesn't fit inside tabs on a tab
control on a 800x600-fitting form, then you need to figure out how to
split the form up into many forms.
For mega-sized forms, if you absolutely must, you can do what a lot of
software vendors do for their "Options" dialog boxes--you can put a
listbox with a...Refs to controls on tab control
I'm really stumped. I have been able to get all of my references to all my controls with property nodes - even controls inside clusters for all of the controls on a vi front panel. However, when I move these very same controls onto a tab control I can't seem to figure out how to get these same references! I can only get the tab control ref. :smileyindifferent:
BenMessage Edited by Ben on 04-20-2007 05:01 PM
Cotrols on pages.JPG:
http://forums.ni.com/attachments/ni/170/243049/1/Cotrols on pages.JPG
...Tab control within another tab control
I am creating a form with a tab control containing 10 tabs. and what I
want to do is on only on of the tabs, I want a sub section of tabs.
So what it ends up being is one main tab control with another tab
control embedded into only one of the tab pages. The problem I am
getting is when I insert the sub section tab control into one of the
tabs from the main tab control, the sub section tab control appears in
every tab in the main tab control. Can anyone help? What do I need
to do so it only appears in one tab, not all.
As you found, you cannot place a tab control on one of the pages of another
However, you can place a subform on a tab control page, and the subform can
have its own tab control.
Allen Browne - Microsoft MVP. Perth, Western Australia.
Tips for Access users - http://allenbrowne.com/tips.html
Reply to group, rather than allenbrowne at mvps dot org.
"Paul Mendez" <email@example.com> wrote in message
> I am creating a form with a tab control containing 10 tabs. and what I
> want to do is on only on of the tabs, I want a sub section of tabs.
> So what it ends up being is one main tab control with another tab
> control embedded into only one of the tab pages. The problem I am
> getting is when I insert the sub section tab control into one of the
> tabs from the main tab control, the sub section tab control appears in
> every tab in the main...Syntax of control on tab controls
I have a form "frmturnover" on which there is asubform "subfrmturnover"
which has three tabcontrols say Page1, Page2 and Page3. There is control
"control2" on Page2 that when its is entered I want to check if it is the
same value as a control "control1" on Page1 and then show a pop up box if
they don't match. I can work out the code for the message box but I'm
getting a little lost on the syntax for referring to the controls on the
pages of the tab control.
I also want to check the value of Control2 on page2 with the vale of
control3 on a page1 of a subform "subfrmmain" on another form "frmmain"
can anyone point me in the right direction?
"Tony Williams" <firstname.lastname@example.org> wrote in message news:<email@example.com>...
> I have a form "frmturnover" on which there is asubform "subfrmturnover"
> which has three tabcontrols say Page1, Page2 and Page3. There is control
> "control2" on Page2 that when its is entered I want to check if it is the
> same value as a control "control1" on Page1 and then show a pop up box if
> they don't match. I can work out the code for the message box but I'm
> getting a little lost on the syntax for referring to the controls on the
> pages of the tab control.
> I also want to check the value of Control2 on page2 with the vale of
> control3 on a page1 ...Re: How can labview update the string control (text-edit box) after we have pressed the carriage return key on the keyboard during text-editing within that box?
I have trouble to edit an exited text file and save it after the content changed. Can you please help me out?
...Can anyone guide me regarding the combo control box
Whenever we open a Combo Box Control. We can see the focus set on
the text box control and the text is highlighted or in reverse color.
when we move the mouse in the Drop Down List Box the text under the
mouse get highlighted i.e. the entire line gets highlighted. I am
wondering how does the entire line gets appears in blue color.
Moreover on moving UP or Down Arrow key the text in the Text Box
changes to the value in the Drop Down List Box, but the Focus still
remains in the Text Box.
Would Anyone Like To Share Some Knowledge On This Comment
...Can a multi-dimensional array be the control source for a combo box?
If it's possible, a quick example would REALLY help. I'm clueless which
makes me boxless as well. ::grin::
If the items in the array are not changing while the form is open, you have
a couple of options.
In the most recent versions of Access, you can set the RowSourceType of the
combo to Value List, specify the correct number of columns in the combo's
Column Count, and loop through the array building up a string to use in its
It is also possible to craft a special callback function to use in the
RowSourceType of the combo, and initialize it with the values for the array.
This is not really for the clueless, but there's an example in this page:
The example loads the files in C:\ into an array, and then populates the
columns of the combo from the static array.
Allen Browne - Microsoft MVP. Perth, Western Australia.
Tips for Access users - http://allenbrowne.com/tips.html
Reply to group, rather than allenbrowne at mvps dot org.
"Ron" <ronSPAMBLOCKERwest777@earthlink.com> wrote in message
> If it's possible, a quick example would REALLY help. I'm clueless which
> makes me boxless as well. ::grin::
Well, sort of...you can map the array to a combo box using call back
an example of call back can be found here
Hello, I am still trying to figure out a method of controlling a discharge valve for compressor testing. The valve is controlled by a slider, but when it hits a certain point of being closed, the compressor surges. At that surge point, I want the user to click a button, and then have the valve slowly open while the data is being sent to a file. This way, the data is recorded and the valve opens to prevent damage to the compressor all at the click of one button. I have the VI up and running, all except for the opening part of the valve. I have included a simple example of where I am going with the valve control. Any advice would be appreciated, for then I can implement that code for the valve opening into the rest of my programming.
...How can I find the coordinates of individual controls inside a custom control?
I have a custom control that contains 44 smaller custom controls.
I can get the coordinates of the 44 embedded custom controls by getting the controls property of the main control, but I cannot find a way of getting the coordinates of the controls inside each of these smaller custom controls.
Is there a way of getting at the coordinates of custom controls that are nested several layers deep?
see the attached example. It searches for all reference, also this ones which are in other controls. After you have all references you can read the position of it. If this not help, please describe in more detail what you want.
Hope it helps.
That was EXACTLY what I was lloking for. Thank you very much.
For future reference and for any LabVIEW users who have older versions here are the Front Panel displays before running the VI along with the Wiring Diagram with each of the four cases for handling the various types of ClassIDs that can contain child controls. X1, X@, Y1, and Y2 are the coordinates of the top left and bottom right corners of each control. These coordinates can then be used to determine which control the mouse is pointing at.
In my own project I did further evaluation to eliminate all parent controls (controls that contain other controls)...How do I select a control based on another control's selection and how do I remove enumerations from a control?
I have a question and I *think* the answer may be the new active controls, so here goes: I have a control which contains a variety of enumerated items - essentially a typedef enum. I may have up to several dozen items in this control, like this:
Position - 1
Current - 2
Pressure - 3
Temperature - 4
Duty Cycle - 5, etc.
I also have a 2nd control (actually a set of controls) that refer to the indices of the above control. For example, if I "Position" chosen, I wish the 2nd control to appear that refers to posit...Disk model controls whether one can control boot order?
I've several systems built around:
WIth Western Digital drives - WDC WD800JD-00MS - the BIOS lets me choose
from which disk booting is to occur. With the Seagate equivalent, the
BIOS only lists one drive on that "page".
It really does appear to be a matter defined by the drives. If I open a
"list only one drive" machine and replace its two Seagate drives with
Western Digital drives, it becomes a "list two drives" machine.
I cannot imagine how the drives would be causing this in the BIOS. Any
...Re: How can I select matched controls for 1:m case-control study
What I think you are looking for is a simple SQL code should get you =
what you want in the fewest number of lines of code and still keep the =
readability to a maximum.
Search our arcives for:
Simple data querying problem
since: 01 december 2004=20
And you will find a solution to a problem that you can easily modify to =
fit your needs.
From: SAS(r) Discussion on behalf of zhang yewu
Sent: Tue 12/28/2004 10:17 AM
Subject: How can I select matched controls for 1:m case-control study
I have two data set, one is for patients(cases), and the another for
non-patients(controls). the variables of two data sets are same. I =
pick out m matched nopatients for each patient. In each matched =
patient and m non-patients should be same address, sex, and their age
difference shoud be within 6 months.
how can I make it?
...Re: How can I select matched controls for 1:m case-control study #2
Also, I'm curious about the "same address" requirement. It seems unusual.
On Tue, 28 Dec 2004 09:47:53 -0800, David L. Cassell
>zhang yewu <zhangyw@NCMIH.BJMU.EDU.CN> wrote:
>> I have two data set, one is for patients(cases), and the another for
>> non-patients(controls). the variables of two data sets are same. I
>> pick out m matched nopatients for each patient. In each matched
>> patient and m non-patients should be same address, sex, and their age
>> ...Control/Indicator descriptions are not imported or checked from LabVIEW to NI RG when they are placed on Tab controls
I am currently testing Requirements Gateway. As it seems it does not find any controls placed on a tab control to see if it is covered or not.
Is there any reason not searching for controls placed on tab controls?
We have VIs iterating over complex Front Panel structures to find all controls. Maybe we can add this functionality to NI RG LabVIEW interface.
Is there anyone can help in this?
...How can i use labview.tlb to control Labview from an external application?
I've been told by a labview engineer that i could use the file
labview.tlb located in the labview install folder to control labview
from an external application (in my case, a C# app). I'm using Labview
6.1 under Windows 2000. This article confirms that:
"ActiveX and LabVIEW"
But i've not been able to find out how to use this file to achieve
what i want. I just want to be able to open/close labview, open/close
a vi, start/stop a vi, hide/show a vi from a C# application. Th...CAN controllers
Hi there - on an upcoming project I will need to use a CAN controller.
I have previously used the Microchip MCP2515. What other CAN
controllers are there out there? All I know of is the NXP SJA1000. Any
opinions on advantages of one over the other? Thanks!
> Hi there - on an upcoming project I will need to use a CAN controller.
> I have previously used the Microchip MCP2515. What other CAN
> controllers are there out there? All I know of is the NXP SJA1000. Any
> opinions on advantages of one over the other?
By far the biggest advantage to be had is to use a CAN controller
integrated with a microcontroller, not as a separate chip. Stand-alone
CAN controllers will take considerable resources just to connect them to
the micro: read/write message box control and data registers, route
interrupts, do access control and all that. CAN itself is just two
wires taken care of by the CAN controller. A lot simpler.
On Jun 29, 3:14 pm, Hans-Bernhard Br=F6ker <HBBroe...@t-online.de>
> Michael wrote:
> > Hi there - on an upcoming project I will need to use a CAN controller.
> > I have previously used the Microchip MCP2515. What other CAN
> > controllers are there out there? All I know of is the NXP SJA1000. Any
> > opinions on advantages of one over the other?
> By far the biggest advantage to be had is to use a CAN controller
> integrated with a microcontroller, not as a separate chip. Stan...Control + Tab between subforms on tab control pages ACC 2002
What I am looking for is help trying to accomplish control + tab
exiting subform #1 on page #1 and entering the first control (main
form) on page #2. I've tried the following code, however it seems to
"fire twice", placing me at the first control on subform #2 on page
#3, totally skipping page #2. It seems to very briefly stop the
control on page two, but keeps going. Hope that made sense. Key
preview for subform is set to yes. This is a continous subform, so
options to leave subform on last control won't work. That's why I'm
trying to use control tab. I'd appreciate any suggestions.
Private Sub Form_KeyDown(KeyCode As Integer, Shift As Integer)
If KeyCode = vbKeyTab And Shift = 2 Then
The problem is probably that you did not assign KeyCode = 0 in your handler.
Thus, after your code runs, the keypress is also processed normally.
On 13 Sep 2004 11:39:22 -0700, firstname.lastname@example.org (Brian) wrote:
>What I am looking for is help trying to accomplish control + tab
>exiting subform #1 on page #1 and entering the first control (main
>form) on page #2. I've tried the following code, however it seems to
>"fire twice", placing me at the first control on subform #2 on page
>#3, totally skipping page #2. It seems to very briefly stop the
>control on page two, but keeps going. Hope that made sense. Key
>preview f...Maximum Number Of Controls On A Tab Control
Is there a "best practice" maximum number of controls that can be
loaded on to a tab control before things start getting messy and
sluggish? I'm asking for a "best practice" maximum number across all
tabs and not the maximum number that is theoretically possible.
I figure that trying to add lots of controls to lots of tabs must
affect performance at some point.
Any help is appreciated.
> Is there a "best practice" maximum number of controls that can be
> loaded on to a tab control before things start getting messy and
> sluggish? I'm asking for a "best practice" maximum number across all
> tabs and not the maximum number that is theoretically possible.
> I figure that trying to add lots of controls to lots of tabs must
> affect performance at some point.
> Any help is appreciated.
There is a maimum number of controls on a Form. Not sure about a TabControl.
Think of it this way. A TabControl is just a handy way of toggling the
visibility of a bunch of controls all at the same time. It likely has almost no
affect on performance at all. Certainly not any that I have been able to
Rick Brandt, Microsoft Access MVP
Email (as appropriate) to...
RBrandt at Hunter dot com
On 9 Mar 2007 18:35:53 -0800, "Wayne" <email@example.com>
In some applications tab controls contain subforms. If things get
sluggish I typically only...a2k
I have 3 groups of controls each in their own frame and all are sitting on a
page in a tab control.
I want the user to be able to tab between the controls in each frame; at the
moment tabbing can move the cursor to another frame, which is a bit
disconcerting when the user is filling out some address fields.
I've played around with the tab index properties manually and even tried to
set them using VBA.
However if I do this I find some controls actually disappear! To correct
this I have to use Auto Order.
Apart from this the app is working nicely but little things like are a bit
of a pain and the first thing that most people will complain about...
Has anyone encountered this and come up with a solution?
...Tab Control and Rectangle Hiding Controls
I'm trying to change the back colour of a tab control in Access 2010 by
using a rectangle.
I've selected the tab control (not an individual page) and pasted the
rectagle (solid with required colour).
I then send the rectangle to the back and then the tab control to the back.
The problem is that most (but not all controls remain hidden) on each tab.
Subform and list boxes are visible, but labels and text boxes aren't.
I've done this before in another application, but can't remember how I did
On Thursday, June 20, 2013 1:57:59 AM UTC-5, Bob Darlington wrote:
> I'm trying to change the back colour of a tab control in Access 2010 by
> using a rectangle.
> I've selected the tab control (not an individual page) and pasted the
> rectagle (solid with required colour).
> I then send the rectangle to the back and then the tab control to the back.
> The problem is that most (but not all controls remain hidden) on each tab.
> Subform and list boxes are visible, but labels and text boxes aren't.
> I've done this before in another application, but can't remember how I did
> Any ideas?
> Bob Darlington
Not sure I understand your issue. Anyway, check in properties and set the background to transparent.